Class CMSPageTypeModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class CMSPageTypeModel
    extends ComposedTypeModel
    Generated model class for type CMSPageType 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
      • _APPLICABLERESTRICTIONTYPEFORPAGETYPES

        public static final java.lang.String _APPLICABLERESTRICTIONTYPEFORPAGETYPES
        Generated relation code constant for relation ApplicableRestrictionTypeForPageTypes defining source attribute restrictionTypes in extension cms2.
        See Also:
        Constant Field Values
      • _VALIDPAGETYPESFORTEMPLATES

        public static final java.lang.String _VALIDPAGETYPESFORTEMPLATES
        Generated relation code constant for relation ValidPageTypesForTemplates defining source attribute templates in extension cms2.
        See Also:
        Constant Field Values
      • PREVIEWDISABLED

        public static final java.lang.String PREVIEWDISABLED
        Generated constant - Attribute key of CMSPageType.previewDisabled attribute defined at extension cms2.
        See Also:
        Constant Field Values
      • RESTRICTIONTYPES

        public static final java.lang.String RESTRICTIONTYPES
        Generated constant - Attribute key of CMSPageType.restrictionTypes attribute defined at extension cms2.
        See Also:
        Constant Field Values
      • TEMPLATES

        public static final java.lang.String TEMPLATES
        Generated constant - Attribute key of CMSPageType.templates attribute defined at extension cms2.
        See Also:
        Constant Field Values
    • Constructor Detail

      • CMSPageTypeModel

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

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

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public CMSPageTypeModel​(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
      • CMSPageTypeModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public CMSPageTypeModel​(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

      • getRestrictionTypes

        @Accessor(qualifier="restrictionTypes",
                  type=GETTER)
        public java.util.Collection<RestrictionTypeModel> getRestrictionTypes()
        Generated method - Getter of the CMSPageType.restrictionTypes attribute defined at extension cms2. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the restrictionTypes
      • getTemplates

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

        @Accessor(qualifier="previewDisabled",
                  type=GETTER)
        public boolean isPreviewDisabled()
        Generated method - Getter of the CMSPageType.previewDisabled attribute defined at extension cms2.
        Returns:
        the previewDisabled
      • setPreviewDisabled

        @Accessor(qualifier="previewDisabled",
                  type=SETTER)
        public void setPreviewDisabled​(boolean value)
        Generated method - Setter of CMSPageType.previewDisabled attribute defined at extension cms2.
        Parameters:
        value - the previewDisabled
      • setRestrictionTypes

        @Accessor(qualifier="restrictionTypes",
                  type=SETTER)
        public void setRestrictionTypes​(java.util.Collection<RestrictionTypeModel> value)
        Generated method - Setter of CMSPageType.restrictionTypes attribute defined at extension cms2.
        Parameters:
        value - the restrictionTypes
      • setTemplates

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