Package org.ametys.plugins.contentstree
Class TreeConfigurationElements
- java.lang.Object
-
- org.ametys.plugins.contentstree.TreeConfigurationElements
-
public class TreeConfigurationElements extends Object
A bean to represent an element of a tree configuration
-
-
Field Summary
Fields Modifier and Type Field Description protected Collection<TreeConfigurationElementsChild>
_childNodes
The collection of child nodesprotected Collection<TreeConfigurationContentType>
_contentTypesInfos
The collection of content-types info
-
Constructor Summary
Constructors Constructor Description TreeConfigurationElements(Collection<TreeConfigurationContentType> contentTypesInfos, Collection<TreeConfigurationElementsChild> childNodes)
Creates a tree configuration
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<TreeConfigurationElementsChild>
getChildren()
Get the list of children for this elementsCollection<TreeConfigurationContentType>
getContentTypesConfiguration()
Content types infos
-
-
-
Field Detail
-
_contentTypesInfos
protected Collection<TreeConfigurationContentType> _contentTypesInfos
The collection of content-types info
-
_childNodes
protected Collection<TreeConfigurationElementsChild> _childNodes
The collection of child nodes
-
-
Constructor Detail
-
TreeConfigurationElements
public TreeConfigurationElements(Collection<TreeConfigurationContentType> contentTypesInfos, Collection<TreeConfigurationElementsChild> childNodes)
Creates a tree configuration- Parameters:
contentTypesInfos
- the association of content types supported and message bus types (content, simple-content...). At least an empty map.childNodes
- The child nodes of this element. At least an empty collection.
-
-
Method Detail
-
getContentTypesConfiguration
public Collection<TreeConfigurationContentType> getContentTypesConfiguration()
Content types infos- Returns:
- A non-null collection
-
getChildren
public Collection<TreeConfigurationElementsChild> getChildren()
Get the list of children for this elements- Returns:
- A non null list of children
-
-