Package org.ametys.plugins.contentstree
Class TreeConfigurationContentType
- java.lang.Object
-
- org.ametys.plugins.contentstree.TreeConfigurationContentType
-
public class TreeConfigurationContentType extends Object
Bean for a content type
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
_canBeRoot
Can be a root nodeprotected Collection<String>
_contentTypesIds
The content types idsprotected String
_messageBusType
The message bus type
-
Constructor Summary
Constructors Constructor Description TreeConfigurationContentType(boolean canBeRoot, Collection<String> contentTypesIds, String messageBusType)
Creates the bean
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canBeRoot()
Can this content type be rootCollection<String>
getContentTypesIds()
Get the content idsString
getMessageBusType()
Get the message bus type
-
-
-
Field Detail
-
_canBeRoot
protected final boolean _canBeRoot
Can be a root node
-
_contentTypesIds
protected final Collection<String> _contentTypesIds
The content types ids
-
_messageBusType
protected final String _messageBusType
The message bus type
-
-
Constructor Detail
-
TreeConfigurationContentType
public TreeConfigurationContentType(boolean canBeRoot, Collection<String> contentTypesIds, String messageBusType)
Creates the bean- Parameters:
canBeRoot
- Can be root ?contentTypesIds
- The content type idsmessageBusType
- The message bus type
-
-
Method Detail
-
canBeRoot
public boolean canBeRoot()
Can this content type be root- Returns:
- true if this node can be root
-
getContentTypesIds
public Collection<String> getContentTypesIds()
Get the content ids- Returns:
- the content ids
-
getMessageBusType
public String getMessageBusType()
Get the message bus type- Returns:
- the message bus type
-
-