Class GeneratedPageTemplate

All Implemented Interfaces:
Serializable, Comparable
Direct Known Subclasses:
PageTemplate

public abstract class GeneratedPageTemplate extends CMSItem
Generated class for type PageTemplate.
See Also:
  • Field Details

    • ACTIVE

      public static final String ACTIVE
      Qualifier of the PageTemplate.active attribute
      See Also:
    • VELOCITYTEMPLATE

      public static final String VELOCITYTEMPLATE
      Qualifier of the PageTemplate.velocityTemplate attribute
      See Also:
    • FRONTENDTEMPLATENAME

      public static final String FRONTENDTEMPLATENAME
      Qualifier of the PageTemplate.frontendTemplateName attribute
      See Also:
    • CONTENTSLOTS

      public static final String CONTENTSLOTS
      Qualifier of the PageTemplate.contentSlots attribute
      See Also:
    • PREVIEWICON

      public static final String PREVIEWICON
      Qualifier of the PageTemplate.previewIcon attribute
      See Also:
    • AVAILABLECONTENTSLOTS

      public static final String AVAILABLECONTENTSLOTS
      Qualifier of the PageTemplate.availableContentSlots attribute
      See Also:
    • RESTRICTEDPAGETYPES

      public static final String RESTRICTEDPAGETYPES
      Qualifier of the PageTemplate.restrictedPageTypes attribute
      See Also:
    • VALIDPAGETYPESFORTEMPLATES_SRC_ORDERED

      protected static String VALIDPAGETYPESFORTEMPLATES_SRC_ORDERED
      Relation ordering override parameter constants for ValidPageTypesForTemplates from ((cms2))
    • VALIDPAGETYPESFORTEMPLATES_TGT_ORDERED

      protected static String VALIDPAGETYPESFORTEMPLATES_TGT_ORDERED
    • VALIDPAGETYPESFORTEMPLATES_MARKMODIFIED

      protected static String VALIDPAGETYPESFORTEMPLATES_MARKMODIFIED
      Relation disable markmodifed parameter constants for ValidPageTypesForTemplates from ((cms2))
    • AVAILABLECONTENTSLOTSHANDLER

      protected static final OneToManyHandler<ContentSlotName> AVAILABLECONTENTSLOTSHANDLER
      OneToManyHandler for handling 1:n AVAILABLECONTENTSLOTS's relation attributes from 'many' side.
    • DEFAULT_INITIAL_ATTRIBUTES

      protected static final Map<String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
  • Constructor Details

    • GeneratedPageTemplate

      public GeneratedPageTemplate()
  • Method Details

    • getDefaultAttributeModes

      protected Map<String,Item.AttributeMode> getDefaultAttributeModes()
      Overrides:
      getDefaultAttributeModes in class GeneratedCMSItem
    • isActive

      public Boolean isActive(SessionContext ctx)
      Generated method - Getter of the PageTemplate.active attribute.
      Returns:
      the active
    • isActive

      public Boolean isActive()
      Generated method - Getter of the PageTemplate.active attribute.
      Returns:
      the active
    • isActiveAsPrimitive

      public boolean isActiveAsPrimitive(SessionContext ctx)
      Generated method - Getter of the PageTemplate.active attribute.
      Returns:
      the active
    • isActiveAsPrimitive

      public boolean isActiveAsPrimitive()
      Generated method - Getter of the PageTemplate.active attribute.
      Returns:
      the active
    • setActive

      public void setActive(SessionContext ctx, Boolean value)
      Generated method - Setter of the PageTemplate.active attribute.
      Parameters:
      value - the active
    • setActive

      public void setActive(Boolean value)
      Generated method - Setter of the PageTemplate.active attribute.
      Parameters:
      value - the active
    • setActive

      public void setActive(SessionContext ctx, boolean value)
      Generated method - Setter of the PageTemplate.active attribute.
      Parameters:
      value - the active
    • setActive

      public void setActive(boolean value)
      Generated method - Setter of the PageTemplate.active attribute.
      Parameters:
      value - the active
    • getAvailableContentSlots

      public List<ContentSlotName> getAvailableContentSlots(SessionContext ctx)
      Generated method - Getter of the PageTemplate.availableContentSlots attribute.
      Returns:
      the availableContentSlots
    • getAvailableContentSlots

      public List<ContentSlotName> getAvailableContentSlots()
      Generated method - Getter of the PageTemplate.availableContentSlots attribute.
      Returns:
      the availableContentSlots
    • setAvailableContentSlots

      public void setAvailableContentSlots(SessionContext ctx, List<ContentSlotName> value)
      Generated method - Setter of the PageTemplate.availableContentSlots attribute.
      Parameters:
      value - the availableContentSlots
    • setAvailableContentSlots

      public void setAvailableContentSlots(List<ContentSlotName> value)
      Generated method - Setter of the PageTemplate.availableContentSlots attribute.
      Parameters:
      value - the availableContentSlots
    • addToAvailableContentSlots

      public void addToAvailableContentSlots(SessionContext ctx, ContentSlotName value)
      Generated method - Adds value to availableContentSlots.
      Parameters:
      value - the item to add to availableContentSlots
    • addToAvailableContentSlots

      public void addToAvailableContentSlots(ContentSlotName value)
      Generated method - Adds value to availableContentSlots.
      Parameters:
      value - the item to add to availableContentSlots
    • removeFromAvailableContentSlots

      public void removeFromAvailableContentSlots(SessionContext ctx, ContentSlotName value)
      Generated method - Removes value from availableContentSlots.
      Parameters:
      value - the item to remove from availableContentSlots
    • removeFromAvailableContentSlots

      public void removeFromAvailableContentSlots(ContentSlotName value)
      Generated method - Removes value from availableContentSlots.
      Parameters:
      value - the item to remove from availableContentSlots
    • getContentSlots

      public abstract List<ContentSlotForTemplate> getContentSlots(SessionContext ctx)
      Generated method - Getter of the PageTemplate.contentSlots attribute.
      Returns:
      the contentSlots
    • getContentSlots

      public List<ContentSlotForTemplate> getContentSlots()
      Generated method - Getter of the PageTemplate.contentSlots attribute.
      Returns:
      the contentSlots
    • getFrontendTemplateName

      public String getFrontendTemplateName(SessionContext ctx)
      Generated method - Getter of the PageTemplate.frontendTemplateName attribute.
      Returns:
      the frontendTemplateName
    • getFrontendTemplateName

      public String getFrontendTemplateName()
      Generated method - Getter of the PageTemplate.frontendTemplateName attribute.
      Returns:
      the frontendTemplateName
    • setFrontendTemplateName

      public void setFrontendTemplateName(SessionContext ctx, String value)
      Generated method - Setter of the PageTemplate.frontendTemplateName attribute.
      Parameters:
      value - the frontendTemplateName
    • setFrontendTemplateName

      public void setFrontendTemplateName(String value)
      Generated method - Setter of the PageTemplate.frontendTemplateName attribute.
      Parameters:
      value - the frontendTemplateName
    • isMarkModifiedDisabled

      @Deprecated(since="2105", forRemoval=true) public boolean isMarkModifiedDisabled(Item referencedItem)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      isMarkModifiedDisabled in class Item
    • getPreviewIcon

      public Media getPreviewIcon(SessionContext ctx)
      Generated method - Getter of the PageTemplate.previewIcon attribute.
      Returns:
      the previewIcon
    • getPreviewIcon

      public Media getPreviewIcon()
      Generated method - Getter of the PageTemplate.previewIcon attribute.
      Returns:
      the previewIcon
    • setPreviewIcon

      public void setPreviewIcon(SessionContext ctx, Media value)
      Generated method - Setter of the PageTemplate.previewIcon attribute.
      Parameters:
      value - the previewIcon
    • setPreviewIcon

      public void setPreviewIcon(Media value)
      Generated method - Setter of the PageTemplate.previewIcon attribute.
      Parameters:
      value - the previewIcon
    • getRestrictedPageTypes

      public Set<CMSPageType> getRestrictedPageTypes(SessionContext ctx)
      Generated method - Getter of the PageTemplate.restrictedPageTypes attribute.
      Returns:
      the restrictedPageTypes
    • getRestrictedPageTypes

      public Set<CMSPageType> getRestrictedPageTypes()
      Generated method - Getter of the PageTemplate.restrictedPageTypes attribute.
      Returns:
      the restrictedPageTypes
    • getRestrictedPageTypesCount

      public long getRestrictedPageTypesCount(SessionContext ctx)
    • getRestrictedPageTypesCount

      public long getRestrictedPageTypesCount()
    • setRestrictedPageTypes

      public void setRestrictedPageTypes(SessionContext ctx, Set<CMSPageType> value)
      Generated method - Setter of the PageTemplate.restrictedPageTypes attribute.
      Parameters:
      value - the restrictedPageTypes
    • setRestrictedPageTypes

      public void setRestrictedPageTypes(Set<CMSPageType> value)
      Generated method - Setter of the PageTemplate.restrictedPageTypes attribute.
      Parameters:
      value - the restrictedPageTypes
    • addToRestrictedPageTypes

      public void addToRestrictedPageTypes(SessionContext ctx, CMSPageType value)
      Generated method - Adds value to restrictedPageTypes.
      Parameters:
      value - the item to add to restrictedPageTypes
    • addToRestrictedPageTypes

      public void addToRestrictedPageTypes(CMSPageType value)
      Generated method - Adds value to restrictedPageTypes.
      Parameters:
      value - the item to add to restrictedPageTypes
    • removeFromRestrictedPageTypes

      public void removeFromRestrictedPageTypes(SessionContext ctx, CMSPageType value)
      Generated method - Removes value from restrictedPageTypes.
      Parameters:
      value - the item to remove from restrictedPageTypes
    • removeFromRestrictedPageTypes

      public void removeFromRestrictedPageTypes(CMSPageType value)
      Generated method - Removes value from restrictedPageTypes.
      Parameters:
      value - the item to remove from restrictedPageTypes
    • getVelocityTemplate

      public String getVelocityTemplate(SessionContext ctx)
      Generated method - Getter of the PageTemplate.velocityTemplate attribute.
      Returns:
      the velocityTemplate
    • getVelocityTemplate

      public String getVelocityTemplate()
      Generated method - Getter of the PageTemplate.velocityTemplate attribute.
      Returns:
      the velocityTemplate
    • setVelocityTemplate

      public void setVelocityTemplate(SessionContext ctx, String value)
      Generated method - Setter of the PageTemplate.velocityTemplate attribute.
      Parameters:
      value - the velocityTemplate
    • setVelocityTemplate

      public void setVelocityTemplate(String value)
      Generated method - Setter of the PageTemplate.velocityTemplate attribute.
      Parameters:
      value - the velocityTemplate