Class PublisherFiltersAutoLayoutFieldsControl
- java.lang.Object
-
- lumis.doui.control.Control
-
- lumis.doui.control.DataControl
-
- lumis.service.doui.publisherfilters.PublisherFiltersAutoLayoutFieldsControl
-
- All Implemented Interfaces:
VariableResolver
,IControl
,IDataControl
,IRenderer
public class PublisherFiltersAutoLayoutFieldsControl extends DataControl
Auto layout field control for publisher filters interface- Since:
- 10.3.0
- Version:
- $Revision: 22933 $ $Date: 2019-07-12 18:06:34 -0300 (Fri, 12 Jul 2019) $
-
-
Field Summary
-
Fields inherited from class lumis.doui.control.DataControl
FORCE_CASE_LOWER, FORCE_CASE_NONE, FORCE_CASE_UPPER, forceCase, requestParameterName, UNKNOWN_DATA_TYPE, value, valuePreviouslySet
-
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 PublisherFiltersAutoLayoutFieldsControl()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
buildSubControls()
static Collection<ISourceField>
getProperFields(Collection<? extends ISourceField> list)
Method that return a list of proper fields.IDataControlRequestHelpDefinition
getRequestHelpDefinition()
Returns the request parameters help definition.protected Class<?>
getValueClass()
Returns the class the possible values of this control are assignable to.void
loadFromRequest()
void
setRenderData()
static boolean
validateDataType(ISourceField field)
Validates which field will be filtered by it data typestatic boolean
validateMetaDataField(ISourceField field)
Validates which field will be filtered by it meta data type-
Methods inherited from class lumis.doui.control.DataControl
convertValueToControlValue, createConverter, createDataType, getConverter, getDataType, getDefaultValue, getParameterValue, getProcessActionHandlerParameterName, getProcessActionIds, getRequestParameterName, getValue, getValue, init, initProcessActionIds, isTrim, loadSubControlFromRequest, loadSubControlsFromRequest, setDefaultValue, setProcessActionHandlerParameter, setProcessActionHandlerParameter, setProcessActionHandlerParameters, setRawValue, setSourceParameter, setSourceParameter, setSourceParameters, setTrim, setValue, valueIsArray
-
Methods inherited from class lumis.doui.control.Control
appendSubControl, appendSubControls, applyOnEventScripts, convertToStandardValue, createContainer, disconnect, fixedIdentifierRequired, generateControlId, generateControlIdPrefix, getAdditionalParameters, getAdditionalParameters, getAncestor, getChildControls, getClientEventHandlerScript, getControlResource, getId, getLocale, getName, getNamespace, getParentControl, getPrepareForReadScript, getRenderData, getResources, getRuntimeDefaultSource, getScriptActionValidation, getSourceContext, getStringsToLocalize, getType, getValidationScript, getWindowProperties, getWindowProperties, isRequired, isValid, localize, localizeStrings, processCustomTags, registerOnEventScript, removeChild, removeChildren, resolveVariable, setName, setRuntimeAttributes, setValid
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface lumis.doui.control.IControl
createContainer, disconnect, getChildControls, getControlResource, getId, getName, getParentControl, getPrepareForReadScript, getRenderData, getResources, getType, isValid, registerOnEventScript, removeChild, removeChildren, setRuntimeAttributes, setValid
-
Methods inherited from interface lumis.doui.render.IRenderer
getResources, getSourceContext
-
-
-
-
Method Detail
-
getValueClass
protected Class<?> getValueClass() throws PortalException
Description copied from class:DataControl
Returns the class the possible values of this control are assignable to.This default implementation uses
IDouiDataType.getValueClass()
of the data type of this control.- Overrides:
getValueClass
in classDataControl
- Returns:
- the class the possible values of this control are assignable to.
- Throws:
PortalException
-
buildSubControls
public void buildSubControls() throws PortalException
- Specified by:
buildSubControls
in interfaceIControl
- Overrides:
buildSubControls
in classControl
- Throws:
PortalException
-
validateDataType
public static boolean validateDataType(ISourceField field) throws PortalException
Validates which field will be filtered by it data type- Parameters:
field
- the field of source- Returns:
- true if the field have a certain data type, false otherwise
- Throws:
PortalException
- Since:
- 10.3.0
-
validateMetaDataField
public static boolean validateMetaDataField(ISourceField field) throws PortalException
Validates which field will be filtered by it meta data type- Parameters:
field
- the field of source- Returns:
- true if the field have a certain meta data type, false otherwise
- Throws:
PortalException
- Since:
- 10.3.0
-
loadFromRequest
public void loadFromRequest() throws PortalException
- Specified by:
loadFromRequest
in interfaceIDataControl
- Overrides:
loadFromRequest
in classDataControl
- Throws:
PortalException
-
setRenderData
public void setRenderData() throws PortalException
- Specified by:
setRenderData
in interfaceIControl
- Overrides:
setRenderData
in classControl
- Throws:
PortalException
-
getProperFields
public static Collection<ISourceField> getProperFields(Collection<? extends ISourceField> list) throws PortalException
Method that return a list of proper fields.- Parameters:
list
-- Returns:
- filtered list
- Throws:
PortalException
- Since:
- 10.3.0
-
getRequestHelpDefinition
public IDataControlRequestHelpDefinition getRequestHelpDefinition() throws PortalException
Description copied from interface:IDataControl
Returns the request parameters help definition. Used in process action REST API help. Must not return null.- Returns:
- the request parameters help definition. Used in process action REST API help. Must not return null.
- Throws:
PortalException
-
-