Class PageTemplateModel

    • Field Detail

      • _TYPECODE

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

        public static final java.lang.String ACTIVE
        Generated constant - Attribute key of PageTemplate.active attribute defined at extension cms2.
        See Also:
        Constant Field Values
      • VELOCITYTEMPLATE

        public static final java.lang.String VELOCITYTEMPLATE
        Generated constant - Attribute key of PageTemplate.velocityTemplate attribute defined at extension cms2.
        See Also:
        Constant Field Values
      • FRONTENDTEMPLATENAME

        public static final java.lang.String FRONTENDTEMPLATENAME
        Generated constant - Attribute key of PageTemplate.frontendTemplateName attribute defined at extension cms2.
        See Also:
        Constant Field Values
      • CONTENTSLOTS

        public static final java.lang.String CONTENTSLOTS
        Generated constant - Attribute key of PageTemplate.contentSlots attribute defined at extension cms2.
        See Also:
        Constant Field Values
      • PREVIEWICON

        public static final java.lang.String PREVIEWICON
        Generated constant - Attribute key of PageTemplate.previewIcon attribute defined at extension cms2.
        See Also:
        Constant Field Values
      • AVAILABLECONTENTSLOTS

        public static final java.lang.String AVAILABLECONTENTSLOTS
        Generated constant - Attribute key of PageTemplate.availableContentSlots attribute defined at extension cms2.
        See Also:
        Constant Field Values
      • RESTRICTEDPAGETYPES

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

      • PageTemplateModel

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

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

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public PageTemplateModel​(CatalogVersionModel _catalogVersion,
                                 java.lang.String _uid)
        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:
        _catalogVersion - initial attribute declared by type CMSItem at extension cms2
        _uid - initial attribute declared by type CMSItem at extension cms2
      • PageTemplateModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public PageTemplateModel​(CatalogVersionModel _catalogVersion,
                                 ItemModel _owner,
                                 java.lang.String _uid)
        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:
        _catalogVersion - initial attribute declared by type CMSItem at extension cms2
        _owner - initial attribute declared by type Item at extension core
        _uid - initial attribute declared by type CMSItem at extension cms2
    • Method Detail

      • getActive

        @Accessor(qualifier="active",
                  type=GETTER)
        public java.lang.Boolean getActive()
        Generated method - Getter of the PageTemplate.active attribute defined at extension cms2.
        Returns:
        the active
      • getAvailableContentSlots

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

        @Deprecated(since="4.3",
                    forRemoval=true)
        @Accessor(qualifier="contentSlots",
                  type=GETTER)
        public java.util.List<ContentSlotForTemplateModel> getContentSlots()
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 4.3
        Generated method - Getter of the PageTemplate.contentSlots attribute defined at extension cms2. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the contentSlots
      • getFrontendTemplateName

        @Accessor(qualifier="frontendTemplateName",
                  type=GETTER)
        public java.lang.String getFrontendTemplateName()
        Generated method - Getter of the PageTemplate.frontendTemplateName attribute defined at extension cms2.
        Returns:
        the frontendTemplateName
      • getPreviewIcon

        @Accessor(qualifier="previewIcon",
                  type=GETTER)
        public MediaModel getPreviewIcon()
        Generated method - Getter of the PageTemplate.previewIcon attribute defined at extension cms2.
        Returns:
        the previewIcon
      • getRestrictedPageTypes

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

        @Accessor(qualifier="velocityTemplate",
                  type=GETTER)
        public java.lang.String getVelocityTemplate()
        Generated method - Getter of the PageTemplate.velocityTemplate attribute defined at extension cms2.
        Returns:
        the velocityTemplate
      • setActive

        @Accessor(qualifier="active",
                  type=SETTER)
        public void setActive​(java.lang.Boolean value)
        Generated method - Setter of PageTemplate.active attribute defined at extension cms2.
        Parameters:
        value - the active
      • setAvailableContentSlots

        @Accessor(qualifier="availableContentSlots",
                  type=SETTER)
        public void setAvailableContentSlots​(java.util.List<ContentSlotNameModel> value)
        Generated method - Setter of PageTemplate.availableContentSlots attribute defined at extension cms2.
        Parameters:
        value - the availableContentSlots
      • setFrontendTemplateName

        @Accessor(qualifier="frontendTemplateName",
                  type=SETTER)
        public void setFrontendTemplateName​(java.lang.String value)
        Generated method - Setter of PageTemplate.frontendTemplateName attribute defined at extension cms2.
        Parameters:
        value - the frontendTemplateName
      • setPreviewIcon

        @Accessor(qualifier="previewIcon",
                  type=SETTER)
        public void setPreviewIcon​(MediaModel value)
        Generated method - Setter of PageTemplate.previewIcon attribute defined at extension cms2.
        Parameters:
        value - the previewIcon
      • setRestrictedPageTypes

        @Accessor(qualifier="restrictedPageTypes",
                  type=SETTER)
        public void setRestrictedPageTypes​(java.util.Set<CMSPageTypeModel> value)
        Generated method - Setter of PageTemplate.restrictedPageTypes attribute defined at extension cms2.
        Parameters:
        value - the restrictedPageTypes
      • setVelocityTemplate

        @Accessor(qualifier="velocityTemplate",
                  type=SETTER)
        public void setVelocityTemplate​(java.lang.String value)
        Generated method - Setter of PageTemplate.velocityTemplate attribute defined at extension cms2.
        Parameters:
        value - the velocityTemplate