Class PageTemplateModel

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
DocumentPageTemplateModel

public class PageTemplateModel extends CMSItemModel
Generated model class for type PageTemplate first defined at extension cms2.
See Also:
  • Field Details

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • ACTIVE

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

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

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

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

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

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

      public static final String RESTRICTEDPAGETYPES
      Generated constant - Attribute key of PageTemplate.restrictedPageTypes attribute defined at extension cms2.
      See Also:
  • Constructor Details

    • 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, 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, 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 Details

    • getActive

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

      @Accessor(qualifier="availableContentSlots", type=GETTER) public 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 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 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 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 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(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(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(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(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(String value)
      Generated method - Setter of PageTemplate.velocityTemplate attribute defined at extension cms2.
      Parameters:
      value - the velocityTemplate