public abstract class WorkflowMetaDataControl extends DataBoundControl<ContentTableSource>
Modifier and Type | Field and Description |
---|---|
protected String |
primaryKeyFieldId |
protected WorkflowConfig |
workflow |
FORCE_CASE_LOWER, FORCE_CASE_NONE, FORCE_CASE_UPPER, forceCase, requestParameterName, UNKNOWN_DATA_TYPE, value, valuePreviouslySet
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 and Description |
---|
WorkflowMetaDataControl() |
Modifier and Type | Method and Description |
---|---|
void |
buildSubControls() |
protected ContentTableSource |
getContentTableSource()
Returns the content table source from the item id.
|
protected ContentWorkflowMetaData |
getContentWorkflowMetaData()
Returns the content workflow metadata.
|
protected ContentWorkflowMetaData |
getContentWorkflowMetaData(ContentTableSource source)
Returns the content workflow meta data from the given source and control's itemId.
|
protected String |
getItemId()
Returns the itemId.
|
List<IResource> |
getResources()
Returns the localization resources to be used in the value render.
|
protected String |
getServiceInstanceId()
Returns the service instance Id from the content item Id.
|
void |
init(Node controlDefinitionNode,
ControlContainer controlContainer,
IControl parentControl) |
void |
setRenderData() |
protected void |
setValueFromSource() |
protected void |
setValueFromSource(ContentTableSource source)
Reads the value corresponding to the current control from the control
source.
|
autoAddDateTimeValueValidator, autoAddDoubleValueValidator, autoAddFileSizeValidator, autoAddIntegerValueValidator, autoAddLengthValidator, autoAddLongValueValidator, autoAddRequiredValueValidator, autoAddValidators, createConverter, createDataType, getDataId, getFieldName, getProcessActionHandlerParameterName, getReload, getRequestHelpDefinition, getRuntimeDefaultSource, getSource, getSourceById, getSourceContext, getUnboundedConverter, loadFromRequest, setDefaultValue, setRawValue, setReload, setSourceParameter, setValid, update
convertValueToControlValue, getConverter, getDataType, getDefaultValue, getParameterValue, getProcessActionIds, getRequestParameterName, getValue, getValue, getValueClass, initProcessActionIds, isTrim, loadSubControlFromRequest, loadSubControlsFromRequest, setProcessActionHandlerParameter, setProcessActionHandlerParameter, setProcessActionHandlerParameters, setSourceParameter, setSourceParameters, setTrim, setValue, valueIsArray
appendSubControl, appendSubControls, applyOnEventScripts, convertToStandardValue, createContainer, disconnect, fixedIdentifierRequired, generateControlId, generateControlIdPrefix, getAdditionalParameters, getAdditionalParameters, getAncestor, getChildControls, getClientEventHandlerScript, getControlResource, getId, getLocale, getName, getNamespace, getParentControl, getPrepareForReadScript, getRenderData, getScriptActionValidation, getStringsToLocalize, getType, getValidationScript, getWindowProperties, getWindowProperties, isRequired, isValid, localize, localizeStrings, processCustomTags, registerOnEventScript, removeChild, removeChildren, resolveVariable, setName, setRuntimeAttributes
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getConverter, getProcessActionIds, getValue, getValue, setProcessActionHandlerParameters, setValue
createContainer, disconnect, getChildControls, getControlResource, getId, getName, getParentControl, getPrepareForReadScript, getRenderData, getType, isValid, registerOnEventScript, removeChild, removeChildren, setRuntimeAttributes
protected String primaryKeyFieldId
protected WorkflowConfig workflow
protected String getItemId() throws PortalException
PortalException
protected String getServiceInstanceId()
protected ContentTableSource getContentTableSource()
protected ContentWorkflowMetaData getContentWorkflowMetaData(ContentTableSource source) throws PortalException
source
- the given source.PortalException
protected ContentWorkflowMetaData getContentWorkflowMetaData() throws PortalException
DataBoundControl.setValueFromSource(Source)
method has executed.PortalException
public void init(Node controlDefinitionNode, ControlContainer controlContainer, IControl parentControl) throws PortalException
init
in interface IControl
init
in class DataBoundControl<ContentTableSource>
PortalException
public void setRenderData() throws PortalException
setRenderData
in interface IControl
setRenderData
in class DataBoundControl<ContentTableSource>
PortalException
protected void setValueFromSource() throws PortalException
setValueFromSource
in class DataBoundControl<ContentTableSource>
PortalException
public void buildSubControls() throws PortalException
buildSubControls
in interface IControl
buildSubControls
in class DataBoundControl<ContentTableSource>
PortalException
protected void setValueFromSource(ContentTableSource source) throws PortalException
DataBoundControl
setValueFromSource
in class DataBoundControl<ContentTableSource>
PortalException
public List<IResource> getResources() throws PortalException
IRenderer
getResources
in interface IControl
getResources
in interface IRenderer
getResources
in class Control
PortalException
LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.