Package lumis.content.control.autolayout
Class AutoLayoutPublishingInformationControl
- java.lang.Object
-
- lumis.doui.control.Control
-
- lumis.doui.control.SourceBoundControl<ContentTableSource>
-
- lumis.content.control.autolayout.AutoLayoutPublishingInformationControl
-
- All Implemented Interfaces:
javax.servlet.jsp.el.VariableResolver
,IControl
public class AutoLayoutPublishingInformationControl extends SourceBoundControl<ContentTableSource>
Performs autolayout of publishing information.
Example use:- Since:
- 4.0.4
- Version:
- $Revision$ $Date$
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
bHasHighlight
protected boolean
bHasHighlightEndDate
protected boolean
bHasPublishEndDate
protected boolean
bHasPublishingInformation
protected boolean
bHasPublishStartDate
protected boolean
bHasPublishToPrincipals
protected boolean
bHasPublishToServiceInstances
protected boolean
bHasPublishToSocialNetwork
protected java.lang.String
isHighlightEndDateFieldId
protected java.lang.String
isHighlightFieldId
protected java.lang.String
isPublishEndDateFieldId
protected java.lang.String
isPublishStartDateFieldId
protected java.lang.String
isPublishToPrincipalsFieldId
protected java.lang.String
isPublishToServiceInstancesFieldId
protected java.lang.String
isPublishToSocialNetworkFieldId
-
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 AutoLayoutPublishingInformationControl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
buildSubControls()
IResource
getControlResource()
protected java.lang.String
getFieldIdByPublishFieldType(MetaDataSourceField.Type metaDataType)
protected java.util.Map<java.lang.String,java.lang.String>
getStringsToLocalize()
boolean
hasPublishingInformation()
void
init(org.w3c.dom.Node controlDefinitionNode, ControlContainer controlContainer, IControl parentControl)
-
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, setRenderData, setRuntimeAttributes, setValid
-
-
-
-
Field Detail
-
bHasPublishStartDate
protected boolean bHasPublishStartDate
-
bHasPublishEndDate
protected boolean bHasPublishEndDate
-
bHasHighlight
protected boolean bHasHighlight
-
bHasHighlightEndDate
protected boolean bHasHighlightEndDate
-
bHasPublishToServiceInstances
protected boolean bHasPublishToServiceInstances
-
bHasPublishToSocialNetwork
protected boolean bHasPublishToSocialNetwork
-
bHasPublishToPrincipals
protected boolean bHasPublishToPrincipals
-
isPublishStartDateFieldId
protected java.lang.String isPublishStartDateFieldId
-
isPublishEndDateFieldId
protected java.lang.String isPublishEndDateFieldId
-
isHighlightFieldId
protected java.lang.String isHighlightFieldId
-
isHighlightEndDateFieldId
protected java.lang.String isHighlightEndDateFieldId
-
isPublishToServiceInstancesFieldId
protected java.lang.String isPublishToServiceInstancesFieldId
-
isPublishToSocialNetworkFieldId
protected java.lang.String isPublishToSocialNetworkFieldId
-
isPublishToPrincipalsFieldId
protected java.lang.String isPublishToPrincipalsFieldId
-
bHasPublishingInformation
protected boolean bHasPublishingInformation
-
-
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 classControl
- Throws:
PortalException
-
getFieldIdByPublishFieldType
protected java.lang.String getFieldIdByPublishFieldType(MetaDataSourceField.Type metaDataType) throws PortalException
- Throws:
PortalException
-
buildSubControls
public void buildSubControls() throws PortalException
- Specified by:
buildSubControls
in interfaceIControl
- Overrides:
buildSubControls
in classControl
- Throws:
PortalException
-
hasPublishingInformation
public boolean hasPublishingInformation()
- Returns:
- Returns the hasPublishingInformation.
-
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
-
-