Package org.ametys.plugins.contentstree
Class TreeConfigurationElements
java.lang.Object
org.ametys.plugins.contentstree.TreeConfigurationElements
A bean to represent an element of a tree configuration
-
Field Summary
Modifier and TypeFieldDescriptionprotected Collection<TreeConfigurationElementsChild>
The collection of child nodesprotected Collection<TreeConfigurationContentType>
The collection of content-types info -
Constructor Summary
ConstructorDescriptionTreeConfigurationElements
(Collection<TreeConfigurationContentType> contentTypesInfos, Collection<TreeConfigurationElementsChild> childNodes) Creates a tree configuration -
Method Summary
Modifier and TypeMethodDescriptionGet the list of children for this elementsContent types infos
-
Field Details
-
_contentTypesInfos
The collection of content-types info -
_childNodes
The collection of child nodes
-
-
Constructor Details
-
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 Details
-
getContentTypesConfiguration
Content types infos- Returns:
- A non-null collection
-
getChildren
Get the list of children for this elements- Returns:
- A non null list of children
-