Package org.ametys.plugins.contentstree
Class TreeConfigurationContentType
java.lang.Object
org.ametys.plugins.contentstree.TreeConfigurationContentType
Bean for a content type
-
Field Summary
Modifier and TypeFieldDescriptionprotected final boolean
Can be a root nodeprotected final Collection<String>
The content types idsprotected final String
The message bus type -
Constructor Summary
ConstructorDescriptionTreeConfigurationContentType
(boolean canBeRoot, Collection<String> contentTypesIds, String messageBusType) Creates the bean -
Method Summary
Modifier and TypeMethodDescriptionboolean
Can this content type be rootGet the content idsGet the message bus type
-
Field Details
-
_canBeRoot
Can be a root node -
_contentTypesIds
The content types ids -
_messageBusType
The message bus type
-
-
Constructor Details
-
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 Details
-
canBeRoot
Can this content type be root- Returns:
- true if this node can be root
-
getContentTypesIds
Get the content ids- Returns:
- the content ids
-
getMessageBusType
Get the message bus type- Returns:
- the message bus type
-