Class CMSComponentTypeModel

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    CMSActionTypeModel

    public class CMSComponentTypeModel
    extends ComposedTypeModel
    Generated model class for type CMSComponentType first defined at extension cms2.
    See Also:
    Serialized Form
    • Field Detail

      • _TYPECODE

        public static final java.lang.String _TYPECODE
        Generated model type code constant.
        See Also:
        Constant Field Values
      • _VALIDCOMPONENTTYPESFORSITE

        public static final java.lang.String _VALIDCOMPONENTTYPESFORSITE
        Generated relation code constant for relation ValidComponentTypesForSite defining source attribute cmsSites in extension cms2.
        See Also:
        Constant Field Values
      • _VALIDCOMPONENTTYPESFORCONTENTSLOTS

        public static final java.lang.String _VALIDCOMPONENTTYPESFORCONTENTSLOTS
        Generated relation code constant for relation ValidComponentTypesForContentSlots defining source attribute contentSlotNames in extension cms2.
        See Also:
        Constant Field Values
      • _COMPONENTTYPEGROUPS2COMPONENTTYPE

        public static final java.lang.String _COMPONENTTYPEGROUPS2COMPONENTTYPE
        Generated relation code constant for relation ComponentTypeGroups2ComponentType defining source attribute componentTypeGroups in extension cms2.
        See Also:
        Constant Field Values
      • _APPLICABLECMSACTIONSTYPEFORCMSCOMPONENT

        public static final java.lang.String _APPLICABLECMSACTIONSTYPEFORCMSCOMPONENT
        Generated relation code constant for relation ApplicableCmsActionsTypeForCmsComponent defining source attribute actionTypes in extension acceleratorcms.
        See Also:
        Constant Field Values
      • CMSSITES

        public static final java.lang.String CMSSITES
        Generated constant - Attribute key of CMSComponentType.cmsSites attribute defined at extension cms2.
        See Also:
        Constant Field Values
      • CONTENTSLOTNAMES

        public static final java.lang.String CONTENTSLOTNAMES
        Generated constant - Attribute key of CMSComponentType.contentSlotNames attribute defined at extension cms2.
        See Also:
        Constant Field Values
      • COMPONENTTYPEGROUPS

        public static final java.lang.String COMPONENTTYPEGROUPS
        Generated constant - Attribute key of CMSComponentType.componentTypeGroups attribute defined at extension cms2.
        See Also:
        Constant Field Values
      • ACTIONTYPES

        public static final java.lang.String ACTIONTYPES
        Generated constant - Attribute key of CMSComponentType.actionTypes attribute defined at extension acceleratorcms.
        See Also:
        Constant Field Values
    • Constructor Detail

      • CMSComponentTypeModel

        public CMSComponentTypeModel()
        Generated constructor - Default constructor for generic creation.
      • CMSComponentTypeModel

        public CMSComponentTypeModel​(ItemModelContext ctx)
        Generated constructor - Default constructor for creation with existing context
        Parameters:
        ctx - the model context to be injected, must not be null
      • CMSComponentTypeModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public CMSComponentTypeModel​(java.lang.Boolean _catalogItemType,
                                     java.lang.String _code,
                                     java.lang.Boolean _generate,
                                     java.lang.Boolean _singleton,
                                     ComposedTypeModel _superType)
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 4.1.1 Please use the default constructor without parameters
        Generated constructor - Constructor with all mandatory attributes.
        Parameters:
        _catalogItemType - initial attribute declared by type ComposedType at extension catalog
        _code - initial attribute declared by type Type at extension core
        _generate - initial attribute declared by type TypeManagerManaged at extension core
        _singleton - initial attribute declared by type ComposedType at extension core
        _superType - initial attribute declared by type ComposedType at extension core
      • CMSComponentTypeModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public CMSComponentTypeModel​(java.lang.Boolean _catalogItemType,
                                     java.lang.String _code,
                                     java.lang.Boolean _generate,
                                     ItemModel _owner,
                                     java.lang.Boolean _singleton,
                                     ComposedTypeModel _superType)
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 4.1.1 Please use the default constructor without parameters
        Generated constructor - for all mandatory and initial attributes.
        Parameters:
        _catalogItemType - initial attribute declared by type ComposedType at extension catalog
        _code - initial attribute declared by type Type at extension core
        _generate - initial attribute declared by type TypeManagerManaged at extension core
        _owner - initial attribute declared by type Item at extension core
        _singleton - initial attribute declared by type ComposedType at extension core
        _superType - initial attribute declared by type ComposedType at extension core
    • Method Detail

      • getActionTypes

        @Accessor(qualifier="actionTypes",
                  type=GETTER)
        public java.util.Collection<CMSActionTypeModel> getActionTypes()
        Generated method - Getter of the CMSComponentType.actionTypes attribute defined at extension acceleratorcms. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the actionTypes
      • getCmsSites

        @Accessor(qualifier="cmsSites",
                  type=GETTER)
        public java.util.Set<CMSSiteModel> getCmsSites()
        Generated method - Getter of the CMSComponentType.cmsSites attribute defined at extension cms2. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the cmsSites
      • getComponentTypeGroups

        @Accessor(qualifier="componentTypeGroups",
                  type=GETTER)
        public java.util.Set<ComponentTypeGroupModel> getComponentTypeGroups()
        Generated method - Getter of the CMSComponentType.componentTypeGroups attribute defined at extension cms2. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the componentTypeGroups
      • getContentSlotNames

        @Accessor(qualifier="contentSlotNames",
                  type=GETTER)
        public java.util.Set<ContentSlotNameModel> getContentSlotNames()
        Generated method - Getter of the CMSComponentType.contentSlotNames attribute defined at extension cms2. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the contentSlotNames
      • setActionTypes

        @Accessor(qualifier="actionTypes",
                  type=SETTER)
        public void setActionTypes​(java.util.Collection<CMSActionTypeModel> value)
        Generated method - Setter of CMSComponentType.actionTypes attribute defined at extension acceleratorcms.
        Parameters:
        value - the actionTypes
      • setCmsSites

        @Accessor(qualifier="cmsSites",
                  type=SETTER)
        public void setCmsSites​(java.util.Set<CMSSiteModel> value)
        Generated method - Setter of CMSComponentType.cmsSites attribute defined at extension cms2.
        Parameters:
        value - the cmsSites
      • setComponentTypeGroups

        @Accessor(qualifier="componentTypeGroups",
                  type=SETTER)
        public void setComponentTypeGroups​(java.util.Set<ComponentTypeGroupModel> value)
        Generated method - Setter of CMSComponentType.componentTypeGroups attribute defined at extension cms2.
        Parameters:
        value - the componentTypeGroups
      • setContentSlotNames

        @Accessor(qualifier="contentSlotNames",
                  type=SETTER)
        public void setContentSlotNames​(java.util.Set<ContentSlotNameModel> value)
        Generated method - Setter of CMSComponentType.contentSlotNames attribute defined at extension cms2.
        Parameters:
        value - the contentSlotNames