Class GeneratedAbstractRestriction

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

public abstract class GeneratedAbstractRestriction extends CMSItem
Generated class for type AbstractRestriction.
See Also:
  • Field Details

    • TYPE

      public static final String TYPE
      Qualifier of the AbstractRestriction.type attribute
      See Also:
    • TYPECODE

      public static final String TYPECODE
      Qualifier of the AbstractRestriction.typeCode attribute
      See Also:
    • PAGES

      public static final String PAGES
      Qualifier of the AbstractRestriction.pages attribute
      See Also:
    • RESTRICTIONSFORPAGES_SRC_ORDERED

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

      protected static String RESTRICTIONSFORPAGES_TGT_ORDERED
    • RESTRICTIONSFORPAGES_MARKMODIFIED

      protected static String RESTRICTIONSFORPAGES_MARKMODIFIED
      Relation disable markmodifed parameter constants for RestrictionsForPages from ((cms2))
    • COMPONENTS

      public static final String COMPONENTS
      Qualifier of the AbstractRestriction.components attribute
      See Also:
    • RESTRICTIONSFORCOMPONENTS_SRC_ORDERED

      protected static String RESTRICTIONSFORCOMPONENTS_SRC_ORDERED
      Relation ordering override parameter constants for RestrictionsForComponents from ((cms2))
    • RESTRICTIONSFORCOMPONENTS_TGT_ORDERED

      protected static String RESTRICTIONSFORCOMPONENTS_TGT_ORDERED
    • RESTRICTIONSFORCOMPONENTS_MARKMODIFIED

      protected static String RESTRICTIONSFORCOMPONENTS_MARKMODIFIED
      Relation disable markmodifed parameter constants for RestrictionsForComponents from ((cms2))
    • INVERSERESTRICTIONS

      public static final String INVERSERESTRICTIONS
      Qualifier of the AbstractRestriction.inverseRestrictions attribute
      See Also:
    • INVERSERESTRICTIONSHANDLER

      protected static final OneToManyHandler<CMSInverseRestriction> INVERSERESTRICTIONSHANDLER
      OneToManyHandler for handling 1:n INVERSERESTRICTIONS's relation attributes from 'many' side.
    • DEFAULT_INITIAL_ATTRIBUTES

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

    • GeneratedAbstractRestriction

      public GeneratedAbstractRestriction()
  • Method Details

    • getDefaultAttributeModes

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

      public Collection<AbstractCMSComponent> getComponents(SessionContext ctx)
      Generated method - Getter of the AbstractRestriction.components attribute.
      Returns:
      the components
    • getComponents

      public Collection<AbstractCMSComponent> getComponents()
      Generated method - Getter of the AbstractRestriction.components attribute.
      Returns:
      the components
    • getComponentsCount

      public long getComponentsCount(SessionContext ctx)
    • getComponentsCount

      public long getComponentsCount()
    • setComponents

      public void setComponents(SessionContext ctx, Collection<AbstractCMSComponent> value)
      Generated method - Setter of the AbstractRestriction.components attribute.
      Parameters:
      value - the components
    • setComponents

      public void setComponents(Collection<AbstractCMSComponent> value)
      Generated method - Setter of the AbstractRestriction.components attribute.
      Parameters:
      value - the components
    • addToComponents

      public void addToComponents(SessionContext ctx, AbstractCMSComponent value)
      Generated method - Adds value to components.
      Parameters:
      value - the item to add to components
    • addToComponents

      public void addToComponents(AbstractCMSComponent value)
      Generated method - Adds value to components.
      Parameters:
      value - the item to add to components
    • removeFromComponents

      public void removeFromComponents(SessionContext ctx, AbstractCMSComponent value)
      Generated method - Removes value from components.
      Parameters:
      value - the item to remove from components
    • removeFromComponents

      public void removeFromComponents(AbstractCMSComponent value)
      Generated method - Removes value from components.
      Parameters:
      value - the item to remove from components
    • getInverseRestrictions

      public Collection<CMSInverseRestriction> getInverseRestrictions(SessionContext ctx)
      Generated method - Getter of the AbstractRestriction.inverseRestrictions attribute.
      Returns:
      the inverseRestrictions
    • getInverseRestrictions

      public Collection<CMSInverseRestriction> getInverseRestrictions()
      Generated method - Getter of the AbstractRestriction.inverseRestrictions attribute.
      Returns:
      the inverseRestrictions
    • setInverseRestrictions

      public void setInverseRestrictions(SessionContext ctx, Collection<CMSInverseRestriction> value)
      Generated method - Setter of the AbstractRestriction.inverseRestrictions attribute.
      Parameters:
      value - the inverseRestrictions
    • setInverseRestrictions

      public void setInverseRestrictions(Collection<CMSInverseRestriction> value)
      Generated method - Setter of the AbstractRestriction.inverseRestrictions attribute.
      Parameters:
      value - the inverseRestrictions
    • addToInverseRestrictions

      public void addToInverseRestrictions(SessionContext ctx, CMSInverseRestriction value)
      Generated method - Adds value to inverseRestrictions.
      Parameters:
      value - the item to add to inverseRestrictions
    • addToInverseRestrictions

      public void addToInverseRestrictions(CMSInverseRestriction value)
      Generated method - Adds value to inverseRestrictions.
      Parameters:
      value - the item to add to inverseRestrictions
    • removeFromInverseRestrictions

      public void removeFromInverseRestrictions(SessionContext ctx, CMSInverseRestriction value)
      Generated method - Removes value from inverseRestrictions.
      Parameters:
      value - the item to remove from inverseRestrictions
    • removeFromInverseRestrictions

      public void removeFromInverseRestrictions(CMSInverseRestriction value)
      Generated method - Removes value from inverseRestrictions.
      Parameters:
      value - the item to remove from inverseRestrictions
    • 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
    • getPages

      public Collection<AbstractPage> getPages(SessionContext ctx)
      Generated method - Getter of the AbstractRestriction.pages attribute.
      Returns:
      the pages
    • getPages

      public Collection<AbstractPage> getPages()
      Generated method - Getter of the AbstractRestriction.pages attribute.
      Returns:
      the pages
    • getPagesCount

      public long getPagesCount(SessionContext ctx)
    • getPagesCount

      public long getPagesCount()
    • setPages

      public void setPages(SessionContext ctx, Collection<AbstractPage> value)
      Generated method - Setter of the AbstractRestriction.pages attribute.
      Parameters:
      value - the pages
    • setPages

      public void setPages(Collection<AbstractPage> value)
      Generated method - Setter of the AbstractRestriction.pages attribute.
      Parameters:
      value - the pages
    • addToPages

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

      public void addToPages(AbstractPage value)
      Generated method - Adds value to pages.
      Parameters:
      value - the item to add to pages
    • removeFromPages

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

      public void removeFromPages(AbstractPage value)
      Generated method - Removes value from pages.
      Parameters:
      value - the item to remove from pages
    • getType

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

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

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

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

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

      public String getTypeCode()
      Generated method - Getter of the AbstractRestriction.typeCode attribute.
      Returns:
      the typeCode