public class CmsContainerPageBean extends java.lang.Object
Constructor and Description |
---|
CmsContainerPageBean(java.util.List<CmsContainerBean> containers)
Creates a new container page bean.
|
Modifier and Type | Method and Description |
---|---|
boolean |
containsElement(CmsUUID elementId)
Returns
true if the element with the provided id is contained in this container. |
java.util.Map<java.lang.String,CmsContainerBean> |
getContainers()
Returns all container of this page.
|
java.util.Map<CmsUUID,java.lang.Boolean> |
getContainsElement()
Returns a lazy initialized map that describes if a certain element if part of this container.
|
java.util.List<CmsUUID> |
getElementIds()
Returns the id's of all elements in this container.
|
java.util.List<CmsContainerElementBean> |
getElements()
Returns the elements of all containers in this page.
|
java.util.List<java.lang.String> |
getNames()
Returns the list of container names.
|
java.util.Set<java.lang.String> |
getTypes()
Returns the types.
|
public CmsContainerPageBean(java.util.List<CmsContainerBean> containers)
containers
- the containerspublic boolean containsElement(CmsUUID elementId)
true
if the element with the provided id is contained in this container.elementId
- the element id to checktrue
if the element with the provided id is contained in this containerpublic java.util.Map<java.lang.String,CmsContainerBean> getContainers()
public java.util.Map<CmsUUID,java.lang.Boolean> getContainsElement()
public java.util.List<CmsUUID> getElementIds()
public java.util.List<CmsContainerElementBean> getElements()
public java.util.List<java.lang.String> getNames()
public java.util.Set<java.lang.String> getTypes()