Package org.opencms.xml.containerpage
Class CmsContainerPageBean
java.lang.Object
org.opencms.xml.containerpage.CmsContainerPageBean
Describes one locale of a container page.
- Since:
- 8.0
-
Constructor Summary
ConstructorDescriptionCmsContainerPageBean
(List<CmsContainerBean> containers) Creates a new container page bean. -
Method Summary
Modifier and TypeMethodDescriptionboolean
containsElement
(CmsUUID elementId) Returnstrue
if the element with the provided id is contained in this container.Returns all container of this page.Returns a lazy initialized map that describes if a certain element if part of this container.Returns the id's of all elements in this container.Returns the elements of all containers in this page.getNames()
Returns the list of container names.getTypes()
Returns the types.
-
Constructor Details
-
CmsContainerPageBean
Creates a new container page bean.- Parameters:
containers
- the containers
-
-
Method Details
-
containsElement
Returnstrue
if the element with the provided id is contained in this container.- Parameters:
elementId
- the element id to check- Returns:
true
if the element with the provided id is contained in this container
-
getContainers
Returns all container of this page.- Returns:
- all container of this page
-
getContainsElement
Returns a lazy initialized map that describes if a certain element if part of this container.- Returns:
- a lazy initialized map that describes if a certain element if part of this container
-
getElementIds
Returns the id's of all elements in this container.- Returns:
- the id's of all elements in this container
-
getElements
Returns the elements of all containers in this page.- Returns:
- the elements of all containers in this page
-
getNames
Returns the list of container names.- Returns:
- the list of container names
-
getTypes
Returns the types.- Returns:
- the types
-