Package lumis.content.control.autolayout
Class AutoLayoutCategorizationAssociationControl
- java.lang.Object
-
- lumis.doui.control.Control
-
- lumis.doui.control.SourceBoundControl<ContentTableSource>
-
- lumis.content.control.autolayout.AutoLayoutGenericContentAssociationControl
-
- lumis.content.control.autolayout.AutoLayoutCategorizationAssociationControl
-
- All Implemented Interfaces:
VariableResolver
,IControl
public class AutoLayoutCategorizationAssociationControl extends AutoLayoutGenericContentAssociationControl
Control that lays out the list of terms associated.This controls detects if a categorization service is associated with the current service instance and responds appropriately when the
renderControl()
method is called.- Since:
- 4.2.0
- Version:
- $Revision: 20877 $ $Date: 2018-01-09 11:44:08 -0200 (Tue, 09 Jan 2018) $
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AutoLayoutCategorizationAssociationControl.CategorizationTermNamePostLoadProcessor
Post load processor that loads the categorization name given its content identifier.
-
Field Summary
Fields Modifier and Type Field Description protected boolean
bRelatedToCategorizationServiceInstance
-
Fields inherited from class lumis.content.control.autolayout.AutoLayoutGenericContentAssociationControl
associationType
-
Fields inherited from class lumis.doui.control.Control
childControls, controlContainer, controlDefinitionNode, controlResource, douiContext, hasValidatorSubControls, isValid, locale, ON_EVENT_CLOSE_WINDOW, ON_EVENT_LINK, ON_EVENT_POPUP_LINK_OR_RUNTIME_INTERFACE, ON_EVENT_POPUP_RUNTIME_INTERFACE, ON_EVENT_PROCESS_ACTION, ON_EVENT_RENDER_ACTION, ON_EVENT_REPLACE_INTERFACE, ON_EVENT_SCRIPT, ON_EVENT_VALIDATE, onEventScripts, PARAMETER_TYPE_FIRST_SELECTED, PARAMETER_TYPE_GET_VALUE, parentControl, resources, type, VALIDATION_SELECTED_MANY, VALIDATION_SELECTED_ONE
-
-
Constructor Summary
Constructors Constructor Description AutoLayoutCategorizationAssociationControl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addAssociationSource()
void
buildSubControls()
IResource
getControlResource()
protected java.util.Map<java.lang.String,java.lang.String>
getStringsToLocalize()
void
init(org.w3c.dom.Node controlDefinitionNode, ControlContainer controlContainer, IControl parentControl)
boolean
renderControl()
void
setRenderData()
-
Methods inherited from class lumis.content.control.autolayout.AutoLayoutGenericContentAssociationControl
addAssociationProcessAction, getAssociationType, getDefaultAssociationType, getSelectItemsInterfaceId, getSourceId
-
Methods inherited from class lumis.doui.control.SourceBoundControl
getRuntimeDefaultSource, getSource, getSourceContext
-
Methods inherited from class lumis.doui.control.Control
appendSubControl, appendSubControls, applyOnEventScripts, convertToStandardValue, createContainer, disconnect, fixedIdentifierRequired, generateControlId, generateControlIdPrefix, getAdditionalParameters, getAdditionalParameters, getAncestor, getChildControls, getClientEventHandlerScript, getId, getLocale, getName, getNamespace, getParentControl, getPrepareForReadScript, getRenderData, getResources, getScriptActionValidation, getType, getValidationScript, getWindowProperties, getWindowProperties, isRequired, isValid, localize, localizeStrings, processCustomTags, registerOnEventScript, removeChild, removeChildren, resolveVariable, setName, setRuntimeAttributes, setValid
-
-
-
-
Method Detail
-
init
public void init(org.w3c.dom.Node controlDefinitionNode, ControlContainer controlContainer, IControl parentControl) throws PortalException
- Specified by:
init
in interfaceIControl
- Overrides:
init
in classAutoLayoutGenericContentAssociationControl
- Throws:
PortalException
-
renderControl
public boolean renderControl() throws PortalException
- Overrides:
renderControl
in classAutoLayoutGenericContentAssociationControl
- Throws:
PortalException
-
buildSubControls
public void buildSubControls() throws PortalException
- Specified by:
buildSubControls
in interfaceIControl
- Overrides:
buildSubControls
in classAutoLayoutGenericContentAssociationControl
- Throws:
PortalException
-
addAssociationSource
protected void addAssociationSource() throws PortalException
- Overrides:
addAssociationSource
in classAutoLayoutGenericContentAssociationControl
- Throws:
PortalException
-
getControlResource
public IResource getControlResource() throws PortalException
- Specified by:
getControlResource
in interfaceIControl
- Overrides:
getControlResource
in classControl
- Throws:
PortalException
-
getStringsToLocalize
protected java.util.Map<java.lang.String,java.lang.String> getStringsToLocalize()
- Overrides:
getStringsToLocalize
in classControl
-
setRenderData
public void setRenderData() throws PortalException
- Specified by:
setRenderData
in interfaceIControl
- Overrides:
setRenderData
in classControl
- Throws:
PortalException
-
-