Class GeneratedPageTemplate

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable
    Direct Known Subclasses:
    PageTemplate

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

      • ACTIVE

        public static final java.lang.String ACTIVE
        Qualifier of the PageTemplate.active attribute
        See Also:
        Constant Field Values
      • VELOCITYTEMPLATE

        public static final java.lang.String VELOCITYTEMPLATE
        Qualifier of the PageTemplate.velocityTemplate attribute
        See Also:
        Constant Field Values
      • FRONTENDTEMPLATENAME

        public static final java.lang.String FRONTENDTEMPLATENAME
        Qualifier of the PageTemplate.frontendTemplateName attribute
        See Also:
        Constant Field Values
      • CONTENTSLOTS

        public static final java.lang.String CONTENTSLOTS
        Qualifier of the PageTemplate.contentSlots attribute
        See Also:
        Constant Field Values
      • PREVIEWICON

        public static final java.lang.String PREVIEWICON
        Qualifier of the PageTemplate.previewIcon attribute
        See Also:
        Constant Field Values
      • AVAILABLECONTENTSLOTS

        public static final java.lang.String AVAILABLECONTENTSLOTS
        Qualifier of the PageTemplate.availableContentSlots attribute
        See Also:
        Constant Field Values
      • RESTRICTEDPAGETYPES

        public static final java.lang.String RESTRICTEDPAGETYPES
        Qualifier of the PageTemplate.restrictedPageTypes attribute
        See Also:
        Constant Field Values
      • VALIDPAGETYPESFORTEMPLATES_SRC_ORDERED

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

        protected static java.lang.String VALIDPAGETYPESFORTEMPLATES_TGT_ORDERED
      • VALIDPAGETYPESFORTEMPLATES_MARKMODIFIED

        protected static java.lang.String VALIDPAGETYPESFORTEMPLATES_MARKMODIFIED
        Relation disable markmodifed parameter constants for ValidPageTypesForTemplates from ((cms2))
      • DEFAULT_INITIAL_ATTRIBUTES

        protected static final java.util.Map<java.lang.String,​Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
    • Constructor Detail

      • GeneratedPageTemplate

        public GeneratedPageTemplate()
    • Method Detail

      • isActive

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

        public java.lang.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,
                              java.lang.Boolean value)
        Generated method - Setter of the PageTemplate.active attribute.
        Parameters:
        value - the active
      • setActive

        public void setActive​(java.lang.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 java.util.List<ContentSlotName> getAvailableContentSlots​(SessionContext ctx)
        Generated method - Getter of the PageTemplate.availableContentSlots attribute.
        Returns:
        the availableContentSlots
      • getAvailableContentSlots

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

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

        public void setAvailableContentSlots​(java.util.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 java.util.List<ContentSlotForTemplate> getContentSlots​(SessionContext ctx)
        Generated method - Getter of the PageTemplate.contentSlots attribute.
        Returns:
        the contentSlots
      • getContentSlots

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

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

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

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

        public void setFrontendTemplateName​(java.lang.String value)
        Generated method - Setter of the PageTemplate.frontendTemplateName attribute.
        Parameters:
        value - the frontendTemplateName
      • 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 java.util.Set<CMSPageType> getRestrictedPageTypes​(SessionContext ctx)
        Generated method - Getter of the PageTemplate.restrictedPageTypes attribute.
        Returns:
        the restrictedPageTypes
      • getRestrictedPageTypes

        public java.util.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,
                                           java.util.Set<CMSPageType> value)
        Generated method - Setter of the PageTemplate.restrictedPageTypes attribute.
        Parameters:
        value - the restrictedPageTypes
      • setRestrictedPageTypes

        public void setRestrictedPageTypes​(java.util.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 java.lang.String getVelocityTemplate​(SessionContext ctx)
        Generated method - Getter of the PageTemplate.velocityTemplate attribute.
        Returns:
        the velocityTemplate
      • getVelocityTemplate

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

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

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