Class GeneratedAbstractPage

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

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

      • APPROVALSTATUS

        public static final java.lang.String APPROVALSTATUS
        Qualifier of the AbstractPage.approvalStatus attribute
        See Also:
        Constant Field Values
      • PAGESTATUS

        public static final java.lang.String PAGESTATUS
        Qualifier of the AbstractPage.pageStatus attribute
        See Also:
        Constant Field Values
      • TITLE

        public static final java.lang.String TITLE
        Qualifier of the AbstractPage.title attribute
        See Also:
        Constant Field Values
      • MASTERTEMPLATE

        public static final java.lang.String MASTERTEMPLATE
        Qualifier of the AbstractPage.masterTemplate attribute
        See Also:
        Constant Field Values
      • DEFAULTPAGE

        public static final java.lang.String DEFAULTPAGE
        Qualifier of the AbstractPage.defaultPage attribute
        See Also:
        Constant Field Values
      • ONLYONERESTRICTIONMUSTAPPLY

        public static final java.lang.String ONLYONERESTRICTIONMUSTAPPLY
        Qualifier of the AbstractPage.onlyOneRestrictionMustApply attribute
        See Also:
        Constant Field Values
      • PREVIEWIMAGE

        public static final java.lang.String PREVIEWIMAGE
        Qualifier of the AbstractPage.previewImage attribute
        See Also:
        Constant Field Values
      • CONTENTSLOTS

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

        public static final java.lang.String TYPE
        Qualifier of the AbstractPage.type attribute
        See Also:
        Constant Field Values
      • TYPECODE

        public static final java.lang.String TYPECODE
        Qualifier of the AbstractPage.typeCode attribute
        See Also:
        Constant Field Values
      • MISSINGCONTENTSLOTS

        public static final java.lang.String MISSINGCONTENTSLOTS
        Qualifier of the AbstractPage.missingContentSlots attribute
        See Also:
        Constant Field Values
      • AVAILABLECONTENTSLOTS

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

        public static final java.lang.String VIEW
        Qualifier of the AbstractPage.view attribute
        See Also:
        Constant Field Values
      • COPYTOCATALOGSDISABLED

        public static final java.lang.String COPYTOCATALOGSDISABLED
        Qualifier of the AbstractPage.copyToCatalogsDisabled attribute
        See Also:
        Constant Field Values
      • RESTRICTIONS

        public static final java.lang.String RESTRICTIONS
        Qualifier of the AbstractPage.restrictions attribute
        See Also:
        Constant Field Values
      • RESTRICTIONSFORPAGES_SRC_ORDERED

        protected static java.lang.String RESTRICTIONSFORPAGES_SRC_ORDERED
        Relation ordering override parameter constants for RestrictionsForPages from ((cms2))
      • RESTRICTIONSFORPAGES_TGT_ORDERED

        protected static java.lang.String RESTRICTIONSFORPAGES_TGT_ORDERED
      • RESTRICTIONSFORPAGES_MARKMODIFIED

        protected static java.lang.String RESTRICTIONSFORPAGES_MARKMODIFIED
        Relation disable markmodifed parameter constants for RestrictionsForPages from ((cms2))
      • LOCKEDBY

        public static final java.lang.String LOCKEDBY
        Qualifier of the AbstractPage.lockedBy attribute
        See Also:
        Constant Field Values
      • ORIGINALPAGE

        public static final java.lang.String ORIGINALPAGE
        Qualifier of the AbstractPage.originalPage attribute
        See Also:
        Constant Field Values
      • LOCALIZEDPAGES

        public static final java.lang.String LOCALIZEDPAGES
        Qualifier of the AbstractPage.localizedPages attribute
        See Also:
        Constant Field Values
      • DEFAULT_INITIAL_ATTRIBUTES

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

      • GeneratedAbstractPage

        public GeneratedAbstractPage()
    • Method Detail

      • getApprovalStatus

        public EnumerationValue getApprovalStatus​(SessionContext ctx)
        Generated method - Getter of the AbstractPage.approvalStatus attribute.
        Returns:
        the approvalStatus
      • getApprovalStatus

        public EnumerationValue getApprovalStatus()
        Generated method - Getter of the AbstractPage.approvalStatus attribute.
        Returns:
        the approvalStatus
      • setApprovalStatus

        public void setApprovalStatus​(SessionContext ctx,
                                      EnumerationValue value)
        Generated method - Setter of the AbstractPage.approvalStatus attribute.
        Parameters:
        value - the approvalStatus
      • setApprovalStatus

        public void setApprovalStatus​(EnumerationValue value)
        Generated method - Setter of the AbstractPage.approvalStatus attribute.
        Parameters:
        value - the approvalStatus
      • getAvailableContentSlots

        public abstract java.lang.String getAvailableContentSlots​(SessionContext ctx)
        Generated method - Getter of the AbstractPage.availableContentSlots attribute.
        Returns:
        the availableContentSlots
      • getAvailableContentSlots

        public java.lang.String getAvailableContentSlots()
        Generated method - Getter of the AbstractPage.availableContentSlots attribute.
        Returns:
        the availableContentSlots
      • getContentSlots

        public abstract java.util.List<ContentSlotForPage> getContentSlots​(SessionContext ctx)
        Generated method - Getter of the AbstractPage.contentSlots attribute.
        Returns:
        the contentSlots
      • getContentSlots

        public java.util.List<ContentSlotForPage> getContentSlots()
        Generated method - Getter of the AbstractPage.contentSlots attribute.
        Returns:
        the contentSlots
      • isCopyToCatalogsDisabled

        public java.lang.Boolean isCopyToCatalogsDisabled​(SessionContext ctx)
        Generated method - Getter of the AbstractPage.copyToCatalogsDisabled attribute.
        Returns:
        the copyToCatalogsDisabled - Determines whether a local version of the page can be copied to another content catalog.
      • isCopyToCatalogsDisabled

        public java.lang.Boolean isCopyToCatalogsDisabled()
        Generated method - Getter of the AbstractPage.copyToCatalogsDisabled attribute.
        Returns:
        the copyToCatalogsDisabled - Determines whether a local version of the page can be copied to another content catalog.
      • isCopyToCatalogsDisabledAsPrimitive

        public boolean isCopyToCatalogsDisabledAsPrimitive​(SessionContext ctx)
        Generated method - Getter of the AbstractPage.copyToCatalogsDisabled attribute.
        Returns:
        the copyToCatalogsDisabled - Determines whether a local version of the page can be copied to another content catalog.
      • isCopyToCatalogsDisabledAsPrimitive

        public boolean isCopyToCatalogsDisabledAsPrimitive()
        Generated method - Getter of the AbstractPage.copyToCatalogsDisabled attribute.
        Returns:
        the copyToCatalogsDisabled - Determines whether a local version of the page can be copied to another content catalog.
      • setCopyToCatalogsDisabled

        public void setCopyToCatalogsDisabled​(SessionContext ctx,
                                              java.lang.Boolean value)
        Generated method - Setter of the AbstractPage.copyToCatalogsDisabled attribute.
        Parameters:
        value - the copyToCatalogsDisabled - Determines whether a local version of the page can be copied to another content catalog.
      • setCopyToCatalogsDisabled

        public void setCopyToCatalogsDisabled​(java.lang.Boolean value)
        Generated method - Setter of the AbstractPage.copyToCatalogsDisabled attribute.
        Parameters:
        value - the copyToCatalogsDisabled - Determines whether a local version of the page can be copied to another content catalog.
      • setCopyToCatalogsDisabled

        public void setCopyToCatalogsDisabled​(SessionContext ctx,
                                              boolean value)
        Generated method - Setter of the AbstractPage.copyToCatalogsDisabled attribute.
        Parameters:
        value - the copyToCatalogsDisabled - Determines whether a local version of the page can be copied to another content catalog.
      • setCopyToCatalogsDisabled

        public void setCopyToCatalogsDisabled​(boolean value)
        Generated method - Setter of the AbstractPage.copyToCatalogsDisabled attribute.
        Parameters:
        value - the copyToCatalogsDisabled - Determines whether a local version of the page can be copied to another content catalog.
      • createItem

        protected Item createItem​(SessionContext ctx,
                                  ComposedType type,
                                  Item.ItemAttributeMap allAttributes)
                           throws JaloBusinessException
        Description copied from class: Item
        Has to be implemented for each concrete subtype of item. This method is responsible for creating a new item instance ( by calling managers, ejb homes, etc. ) during ComposedType.newInstance(Map).

        In case this method uses any of the attribute values during creation it is required to override Item.getNonInitialAttributes(SessionContext, ItemAttributeMap) too.
        Sn example:

        
         public static final String MY_ATTRIBUTE = "someAttribute"; ... protected Item createItem(SessionContext
         ctx, ComposedType type, Map allAttributes ) throws JaloBusinessException { MyManager man = ... return
         man.createMyItem( (String)allAttributes.get(MY_ATTRIBUTE) );
         // here MY_ATTRIBUTE is used for creation, so it must not be set again } protected Map getNonInitialAttributes(
         SessionContext ctx, Map allAttributes ) { // let superclass remove its own initial attributes Map ret =
         super.getNonInitialAttributes( ctx, allAttributes );
         // remove MY_ATTRIBUTE from all attributes since if has already been set ret.remove(MY_ATTRIBUTE); return ret; }
        
         
        Overrides:
        createItem in class CMSItem
        Parameters:
        ctx - the current session context which this item is created within
        type - the actual item type ( since subtypes may not provide a own jalo class this may be different from the type which this method was implemented for )
        Returns:
        the new item instance
        Throws:
        JaloBusinessException - indicates an error during creation - any changes will be rollbacked
      • isDefaultPage

        public java.lang.Boolean isDefaultPage​(SessionContext ctx)
        Generated method - Getter of the AbstractPage.defaultPage attribute.
        Returns:
        the defaultPage
      • isDefaultPage

        public java.lang.Boolean isDefaultPage()
        Generated method - Getter of the AbstractPage.defaultPage attribute.
        Returns:
        the defaultPage
      • isDefaultPageAsPrimitive

        public boolean isDefaultPageAsPrimitive​(SessionContext ctx)
        Generated method - Getter of the AbstractPage.defaultPage attribute.
        Returns:
        the defaultPage
      • isDefaultPageAsPrimitive

        public boolean isDefaultPageAsPrimitive()
        Generated method - Getter of the AbstractPage.defaultPage attribute.
        Returns:
        the defaultPage
      • setDefaultPage

        public void setDefaultPage​(SessionContext ctx,
                                   java.lang.Boolean value)
        Generated method - Setter of the AbstractPage.defaultPage attribute.
        Parameters:
        value - the defaultPage
      • setDefaultPage

        public void setDefaultPage​(java.lang.Boolean value)
        Generated method - Setter of the AbstractPage.defaultPage attribute.
        Parameters:
        value - the defaultPage
      • setDefaultPage

        public void setDefaultPage​(SessionContext ctx,
                                   boolean value)
        Generated method - Setter of the AbstractPage.defaultPage attribute.
        Parameters:
        value - the defaultPage
      • setDefaultPage

        public void setDefaultPage​(boolean value)
        Generated method - Setter of the AbstractPage.defaultPage attribute.
        Parameters:
        value - the defaultPage
      • getLocalizedPages

        public java.util.Collection<AbstractPage> getLocalizedPages​(SessionContext ctx)
        Generated method - Getter of the AbstractPage.localizedPages attribute.
        Returns:
        the localizedPages
      • getLocalizedPages

        public java.util.Collection<AbstractPage> getLocalizedPages()
        Generated method - Getter of the AbstractPage.localizedPages attribute.
        Returns:
        the localizedPages
      • setLocalizedPages

        public void setLocalizedPages​(SessionContext ctx,
                                      java.util.Collection<AbstractPage> value)
        Generated method - Setter of the AbstractPage.localizedPages attribute.
        Parameters:
        value - the localizedPages
      • setLocalizedPages

        public void setLocalizedPages​(java.util.Collection<AbstractPage> value)
        Generated method - Setter of the AbstractPage.localizedPages attribute.
        Parameters:
        value - the localizedPages
      • addToLocalizedPages

        public void addToLocalizedPages​(SessionContext ctx,
                                        AbstractPage value)
        Generated method - Adds value to localizedPages.
        Parameters:
        value - the item to add to localizedPages
      • addToLocalizedPages

        public void addToLocalizedPages​(AbstractPage value)
        Generated method - Adds value to localizedPages.
        Parameters:
        value - the item to add to localizedPages
      • removeFromLocalizedPages

        public void removeFromLocalizedPages​(SessionContext ctx,
                                             AbstractPage value)
        Generated method - Removes value from localizedPages.
        Parameters:
        value - the item to remove from localizedPages
      • removeFromLocalizedPages

        public void removeFromLocalizedPages​(AbstractPage value)
        Generated method - Removes value from localizedPages.
        Parameters:
        value - the item to remove from localizedPages
      • getLockedBy

        public User getLockedBy​(SessionContext ctx)
        Generated method - Getter of the AbstractPage.lockedBy attribute.
        Returns:
        the lockedBy
      • getLockedBy

        public User getLockedBy()
        Generated method - Getter of the AbstractPage.lockedBy attribute.
        Returns:
        the lockedBy
      • setLockedBy

        public void setLockedBy​(SessionContext ctx,
                                User value)
        Generated method - Setter of the AbstractPage.lockedBy attribute.
        Parameters:
        value - the lockedBy
      • setLockedBy

        public void setLockedBy​(User value)
        Generated method - Setter of the AbstractPage.lockedBy attribute.
        Parameters:
        value - the lockedBy
      • getMasterTemplate

        public PageTemplate getMasterTemplate​(SessionContext ctx)
        Generated method - Getter of the AbstractPage.masterTemplate attribute.
        Returns:
        the masterTemplate
      • getMasterTemplate

        public PageTemplate getMasterTemplate()
        Generated method - Getter of the AbstractPage.masterTemplate attribute.
        Returns:
        the masterTemplate
      • setMasterTemplate

        public void setMasterTemplate​(SessionContext ctx,
                                      PageTemplate value)
        Generated method - Setter of the AbstractPage.masterTemplate attribute.
        Parameters:
        value - the masterTemplate
      • setMasterTemplate

        public void setMasterTemplate​(PageTemplate value)
        Generated method - Setter of the AbstractPage.masterTemplate attribute.
        Parameters:
        value - the masterTemplate
      • getMissingContentSlots

        public abstract java.lang.String getMissingContentSlots​(SessionContext ctx)
        Generated method - Getter of the AbstractPage.missingContentSlots attribute.
        Returns:
        the missingContentSlots
      • getMissingContentSlots

        public java.lang.String getMissingContentSlots()
        Generated method - Getter of the AbstractPage.missingContentSlots attribute.
        Returns:
        the missingContentSlots
      • isOnlyOneRestrictionMustApply

        public java.lang.Boolean isOnlyOneRestrictionMustApply​(SessionContext ctx)
        Generated method - Getter of the AbstractPage.onlyOneRestrictionMustApply attribute.
        Returns:
        the onlyOneRestrictionMustApply
      • isOnlyOneRestrictionMustApply

        public java.lang.Boolean isOnlyOneRestrictionMustApply()
        Generated method - Getter of the AbstractPage.onlyOneRestrictionMustApply attribute.
        Returns:
        the onlyOneRestrictionMustApply
      • isOnlyOneRestrictionMustApplyAsPrimitive

        public boolean isOnlyOneRestrictionMustApplyAsPrimitive​(SessionContext ctx)
        Generated method - Getter of the AbstractPage.onlyOneRestrictionMustApply attribute.
        Returns:
        the onlyOneRestrictionMustApply
      • isOnlyOneRestrictionMustApplyAsPrimitive

        public boolean isOnlyOneRestrictionMustApplyAsPrimitive()
        Generated method - Getter of the AbstractPage.onlyOneRestrictionMustApply attribute.
        Returns:
        the onlyOneRestrictionMustApply
      • setOnlyOneRestrictionMustApply

        public void setOnlyOneRestrictionMustApply​(SessionContext ctx,
                                                   java.lang.Boolean value)
        Generated method - Setter of the AbstractPage.onlyOneRestrictionMustApply attribute.
        Parameters:
        value - the onlyOneRestrictionMustApply
      • setOnlyOneRestrictionMustApply

        public void setOnlyOneRestrictionMustApply​(java.lang.Boolean value)
        Generated method - Setter of the AbstractPage.onlyOneRestrictionMustApply attribute.
        Parameters:
        value - the onlyOneRestrictionMustApply
      • setOnlyOneRestrictionMustApply

        public void setOnlyOneRestrictionMustApply​(SessionContext ctx,
                                                   boolean value)
        Generated method - Setter of the AbstractPage.onlyOneRestrictionMustApply attribute.
        Parameters:
        value - the onlyOneRestrictionMustApply
      • setOnlyOneRestrictionMustApply

        public void setOnlyOneRestrictionMustApply​(boolean value)
        Generated method - Setter of the AbstractPage.onlyOneRestrictionMustApply attribute.
        Parameters:
        value - the onlyOneRestrictionMustApply
      • getOriginalPage

        public AbstractPage getOriginalPage​(SessionContext ctx)
        Generated method - Getter of the AbstractPage.originalPage attribute.
        Returns:
        the originalPage
      • getOriginalPage

        public AbstractPage getOriginalPage()
        Generated method - Getter of the AbstractPage.originalPage attribute.
        Returns:
        the originalPage
      • setOriginalPage

        public void setOriginalPage​(SessionContext ctx,
                                    AbstractPage value)
        Generated method - Setter of the AbstractPage.originalPage attribute.
        Parameters:
        value - the originalPage
      • setOriginalPage

        public void setOriginalPage​(AbstractPage value)
        Generated method - Setter of the AbstractPage.originalPage attribute.
        Parameters:
        value - the originalPage
      • getPageStatus

        public EnumerationValue getPageStatus​(SessionContext ctx)
        Generated method - Getter of the AbstractPage.pageStatus attribute.
        Returns:
        the pageStatus
      • getPageStatus

        public EnumerationValue getPageStatus()
        Generated method - Getter of the AbstractPage.pageStatus attribute.
        Returns:
        the pageStatus
      • setPageStatus

        public void setPageStatus​(SessionContext ctx,
                                  EnumerationValue value)
        Generated method - Setter of the AbstractPage.pageStatus attribute.
        Parameters:
        value - the pageStatus
      • setPageStatus

        public void setPageStatus​(EnumerationValue value)
        Generated method - Setter of the AbstractPage.pageStatus attribute.
        Parameters:
        value - the pageStatus
      • getPreviewImage

        public Media getPreviewImage​(SessionContext ctx)
        Generated method - Getter of the AbstractPage.previewImage attribute.
        Returns:
        the previewImage
      • getPreviewImage

        public Media getPreviewImage()
        Generated method - Getter of the AbstractPage.previewImage attribute.
        Returns:
        the previewImage
      • setPreviewImage

        public void setPreviewImage​(SessionContext ctx,
                                    Media value)
        Generated method - Setter of the AbstractPage.previewImage attribute.
        Parameters:
        value - the previewImage
      • setPreviewImage

        public void setPreviewImage​(Media value)
        Generated method - Setter of the AbstractPage.previewImage attribute.
        Parameters:
        value - the previewImage
      • getRestrictions

        public java.util.List<AbstractRestriction> getRestrictions​(SessionContext ctx)
        Generated method - Getter of the AbstractPage.restrictions attribute.
        Returns:
        the restrictions
      • getRestrictions

        public java.util.List<AbstractRestriction> getRestrictions()
        Generated method - Getter of the AbstractPage.restrictions attribute.
        Returns:
        the restrictions
      • getRestrictionsCount

        public long getRestrictionsCount​(SessionContext ctx)
      • getRestrictionsCount

        public long getRestrictionsCount()
      • setRestrictions

        public void setRestrictions​(SessionContext ctx,
                                    java.util.List<AbstractRestriction> value)
        Generated method - Setter of the AbstractPage.restrictions attribute.
        Parameters:
        value - the restrictions
      • setRestrictions

        public void setRestrictions​(java.util.List<AbstractRestriction> value)
        Generated method - Setter of the AbstractPage.restrictions attribute.
        Parameters:
        value - the restrictions
      • addToRestrictions

        public void addToRestrictions​(SessionContext ctx,
                                      AbstractRestriction value)
        Generated method - Adds value to restrictions.
        Parameters:
        value - the item to add to restrictions
      • addToRestrictions

        public void addToRestrictions​(AbstractRestriction value)
        Generated method - Adds value to restrictions.
        Parameters:
        value - the item to add to restrictions
      • removeFromRestrictions

        public void removeFromRestrictions​(SessionContext ctx,
                                           AbstractRestriction value)
        Generated method - Removes value from restrictions.
        Parameters:
        value - the item to remove from restrictions
      • removeFromRestrictions

        public void removeFromRestrictions​(AbstractRestriction value)
        Generated method - Removes value from restrictions.
        Parameters:
        value - the item to remove from restrictions
      • getTitle

        public java.lang.String getTitle​(SessionContext ctx)
        Generated method - Getter of the AbstractPage.title attribute.
        Returns:
        the title
      • getTitle

        public java.lang.String getTitle()
        Generated method - Getter of the AbstractPage.title attribute.
        Returns:
        the title
      • getAllTitle

        public java.util.Map<Language,​java.lang.String> getAllTitle​(SessionContext ctx)
        Generated method - Getter of the AbstractPage.title attribute.
        Returns:
        the localized title
      • getAllTitle

        public java.util.Map<Language,​java.lang.String> getAllTitle()
        Generated method - Getter of the AbstractPage.title attribute.
        Returns:
        the localized title
      • setTitle

        public void setTitle​(SessionContext ctx,
                             java.lang.String value)
        Generated method - Setter of the AbstractPage.title attribute.
        Parameters:
        value - the title
      • setTitle

        public void setTitle​(java.lang.String value)
        Generated method - Setter of the AbstractPage.title attribute.
        Parameters:
        value - the title
      • setAllTitle

        public void setAllTitle​(SessionContext ctx,
                                java.util.Map<Language,​java.lang.String> value)
        Generated method - Setter of the AbstractPage.title attribute.
        Parameters:
        value - the title
      • setAllTitle

        public void setAllTitle​(java.util.Map<Language,​java.lang.String> value)
        Generated method - Setter of the AbstractPage.title attribute.
        Parameters:
        value - the title
      • getType

        public abstract java.lang.String getType​(SessionContext ctx)
        Generated method - Getter of the AbstractPage.type attribute.
        Returns:
        the type
      • getType

        public java.lang.String getType()
        Generated method - Getter of the AbstractPage.type attribute.
        Returns:
        the type
      • getAllType

        public abstract java.util.Map<Language,​java.lang.String> getAllType​(SessionContext ctx)
        Generated method - Getter of the AbstractPage.type attribute.
        Returns:
        the localized type
      • getAllType

        public java.util.Map<Language,​java.lang.String> getAllType()
        Generated method - Getter of the AbstractPage.type attribute.
        Returns:
        the localized type
      • getTypeCode

        public abstract java.lang.String getTypeCode​(SessionContext ctx)
        Generated method - Getter of the AbstractPage.typeCode attribute.
        Returns:
        the typeCode
      • getTypeCode

        public java.lang.String getTypeCode()
        Generated method - Getter of the AbstractPage.typeCode attribute.
        Returns:
        the typeCode
      • getView

        public abstract java.lang.String getView​(SessionContext ctx)
        Generated method - Getter of the AbstractPage.view attribute.
        Returns:
        the view
      • getView

        public java.lang.String getView()
        Generated method - Getter of the AbstractPage.view attribute.
        Returns:
        the view