Class CmsContainerpageController.SaveDataVisitor
java.lang.Object
org.opencms.ade.containerpage.client.CmsContainerpageController.SaveDataVisitor
- All Implemented Interfaces:
CmsContainerpageController.I_PageContentVisitor
- Enclosing class:
- CmsContainerpageController
protected class CmsContainerpageController.SaveDataVisitor
extends Object
implements CmsContainerpageController.I_PageContentVisitor
Visitor implementation which is used to gather the container contents for saving.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
beginContainer
(String name, org.opencms.ade.containerpage.shared.CmsContainer container) This method is called before a container is processed.void
This method is called after all elements of a container have been processed.List<org.opencms.ade.containerpage.shared.CmsContainer>
Gets the list of collected containers.void
handleElement
(CmsContainerPageElementPanel elementWidget) This method is called for each element of a container.
-
Field Details
-
m_containerName
The current container name. -
m_currentContainer
The contaienr which is currently being processed. -
m_resultContainers
The list of collected containers.
-
-
Constructor Details
-
SaveDataVisitor
protected SaveDataVisitor()
-
-
Method Details
-
endContainer
Description copied from interface:CmsContainerpageController.I_PageContentVisitor
This method is called after all elements of a container have been processed.- Specified by:
endContainer
in interfaceCmsContainerpageController.I_PageContentVisitor
- See Also:
-
getContainers
Gets the list of collected containers.- Returns:
- the list of containers
-
handleElement
Description copied from interface:CmsContainerpageController.I_PageContentVisitor
This method is called for each element of a container.- Specified by:
handleElement
in interfaceCmsContainerpageController.I_PageContentVisitor
- Parameters:
elementWidget
- the container element- See Also: