Package lumis.doui.control
Class ControlContainer
- java.lang.Object
-
- lumis.doui.control.ControlContainer
-
@StableMinor(version="15.0", sinceVersion="4.0") public class ControlContainer extends java.lang.Object
Container for all controls.- Since:
- 4.0.0
- Version:
- $Revision: 25304 $ $Date: 2022-10-22 22:51:05 -0300 (Sat, 22 Oct 2022) $
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
RENDER_CONTROL_ID
-
Constructor Summary
Constructors Constructor Description ControlContainer(DouiContext douiContext)
-
Method Summary
-
-
-
Field Detail
-
RENDER_CONTROL_ID
public static final java.lang.String RENDER_CONTROL_ID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ControlContainer
public ControlContainer(DouiContext douiContext)
-
-
Method Detail
-
init
public void init() throws PortalException
- Throws:
PortalException
-
checkControlPermission
public boolean checkControlPermission(org.w3c.dom.Node controlNode) throws PortalException
- Throws:
PortalException
-
setControlAsClientSideUpdatable
public void setControlAsClientSideUpdatable(java.lang.String controlId)
-
getContentContext
public DouiContext getContentContext()
-
indexControl
public void indexControl(IControl control) throws PortalException
- Throws:
PortalException
-
getControlById
public IControl getControlById(java.lang.String id)
-
getControlByType
public IControl getControlByType(java.lang.String type)
-
loadControlsFromRequest
public void loadControlsFromRequest() throws PortalException
- Throws:
PortalException
-
getRenderData
public java.lang.String getRenderData() throws PortalException
- Throws:
PortalException
-
addClientSideUpdatableControl
public void addClientSideUpdatableControl(java.lang.String controlId)
-
createContainersForClientSideUpdatableControls
protected void createContainersForClientSideUpdatableControls() throws PortalException
- Throws:
PortalException
-
getClientSideUpdatableControlContainerId
public java.lang.String getClientSideUpdatableControlContainerId(java.lang.String controlId) throws PortalException
- Throws:
PortalException
-
setControlRenderData
protected void setControlRenderData(IControl control) throws PortalException
- Throws:
PortalException
-
validateControls
public boolean validateControls() throws PortalException
- Throws:
PortalException
-
setFormName
public void setFormName(java.lang.String formName)
-
getFormName
public java.lang.String getFormName()
-
setProcessActionHandlerParameters
public void setProcessActionHandlerParameters(IProcessActionHandler processActionHandler) throws PortalException
- Throws:
PortalException
-
getDouiContext
public DouiContext getDouiContext()
-
appendDefaultErrorSummaryControl
protected void appendDefaultErrorSummaryControl() throws PortalException
- Throws:
PortalException
-
appendDefaultStyle
protected void appendDefaultStyle() throws PortalException
- Throws:
PortalException
-
getErrorSummaryControl
public IErrorSummaryControl getErrorSummaryControl()
-
getActionValidatorControls
public java.util.Set<IValidatorControl> getActionValidatorControls(org.w3c.dom.Node[] actionNodes) throws PortalException
- Throws:
PortalException
-
getAllValidatorControls
public java.util.Set<IValidatorControl> getAllValidatorControls() throws PortalException
- Throws:
PortalException
-
removeControl
public void removeControl(IControl control)
-
getFormControl
public IFormControl getFormControl()
- Returns:
- Returns the formControl.
-
getControlsMap
public java.util.Map<java.lang.String,IControl> getControlsMap()
Returns the map with the controls in this control container. The key of the map is the id of the control, and the value is the control instance.- Returns:
- the map with the controls in this control container.
-
-