Class GeneratedCategoryRestriction

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

public abstract class GeneratedCategoryRestriction extends AbstractRestriction
Generated class for type CMSCategoryRestriction.
See Also:
  • Field Details

    • RECURSIVE

      public static final String RECURSIVE
      Qualifier of the CMSCategoryRestriction.recursive attribute
      See Also:
    • CATEGORYCODES

      public static final String CATEGORYCODES
      Qualifier of the CMSCategoryRestriction.categoryCodes attribute
      See Also:
    • CATEGORIES

      public static final String CATEGORIES
      Qualifier of the CMSCategoryRestriction.categories attribute
      See Also:
    • CATEGORIESFORRESTRICTION_SRC_ORDERED

      protected static String CATEGORIESFORRESTRICTION_SRC_ORDERED
      Relation ordering override parameter constants for CategoriesForRestriction from ((cms2))
    • CATEGORIESFORRESTRICTION_TGT_ORDERED

      protected static String CATEGORIESFORRESTRICTION_TGT_ORDERED
    • CATEGORIESFORRESTRICTION_MARKMODIFIED

      protected static String CATEGORIESFORRESTRICTION_MARKMODIFIED
      Relation disable markmodifed parameter constants for CategoriesForRestriction from ((cms2))
    • DEFAULT_INITIAL_ATTRIBUTES

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

    • GeneratedCategoryRestriction

      public GeneratedCategoryRestriction()
  • Method Details

    • getDefaultAttributeModes

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

      public Collection<Category> getCategories(SessionContext ctx)
      Generated method - Getter of the CMSCategoryRestriction.categories attribute.
      Returns:
      the categories
    • getCategories

      public Collection<Category> getCategories()
      Generated method - Getter of the CMSCategoryRestriction.categories attribute.
      Returns:
      the categories
    • getCategoriesCount

      public long getCategoriesCount(SessionContext ctx)
    • getCategoriesCount

      public long getCategoriesCount()
    • setCategories

      public void setCategories(SessionContext ctx, Collection<Category> value)
      Generated method - Setter of the CMSCategoryRestriction.categories attribute.
      Parameters:
      value - the categories
    • setCategories

      public void setCategories(Collection<Category> value)
      Generated method - Setter of the CMSCategoryRestriction.categories attribute.
      Parameters:
      value - the categories
    • addToCategories

      public void addToCategories(SessionContext ctx, Category value)
      Generated method - Adds value to categories.
      Parameters:
      value - the item to add to categories
    • addToCategories

      public void addToCategories(Category value)
      Generated method - Adds value to categories.
      Parameters:
      value - the item to add to categories
    • removeFromCategories

      public void removeFromCategories(SessionContext ctx, Category value)
      Generated method - Removes value from categories.
      Parameters:
      value - the item to remove from categories
    • removeFromCategories

      public void removeFromCategories(Category value)
      Generated method - Removes value from categories.
      Parameters:
      value - the item to remove from categories
    • getCategoryCodes

      public abstract List<String> getCategoryCodes(SessionContext ctx)
      Generated method - Getter of the CMSCategoryRestriction.categoryCodes attribute.
      Returns:
      the categoryCodes
    • getCategoryCodes

      public List<String> getCategoryCodes()
      Generated method - Getter of the CMSCategoryRestriction.categoryCodes attribute.
      Returns:
      the categoryCodes
    • 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 GeneratedAbstractRestriction
    • isRecursive

      public Boolean isRecursive(SessionContext ctx)
      Generated method - Getter of the CMSCategoryRestriction.recursive attribute.
      Returns:
      the recursive
    • isRecursive

      public Boolean isRecursive()
      Generated method - Getter of the CMSCategoryRestriction.recursive attribute.
      Returns:
      the recursive
    • isRecursiveAsPrimitive

      public boolean isRecursiveAsPrimitive(SessionContext ctx)
      Generated method - Getter of the CMSCategoryRestriction.recursive attribute.
      Returns:
      the recursive
    • isRecursiveAsPrimitive

      public boolean isRecursiveAsPrimitive()
      Generated method - Getter of the CMSCategoryRestriction.recursive attribute.
      Returns:
      the recursive
    • setRecursive

      public void setRecursive(SessionContext ctx, Boolean value)
      Generated method - Setter of the CMSCategoryRestriction.recursive attribute.
      Parameters:
      value - the recursive
    • setRecursive

      public void setRecursive(Boolean value)
      Generated method - Setter of the CMSCategoryRestriction.recursive attribute.
      Parameters:
      value - the recursive
    • setRecursive

      public void setRecursive(SessionContext ctx, boolean value)
      Generated method - Setter of the CMSCategoryRestriction.recursive attribute.
      Parameters:
      value - the recursive
    • setRecursive

      public void setRecursive(boolean value)
      Generated method - Setter of the CMSCategoryRestriction.recursive attribute.
      Parameters:
      value - the recursive