Class GeneratedCategoryRestriction

    • Field Detail

      • RECURSIVE

        public static final java.lang.String RECURSIVE
        Qualifier of the CMSCategoryRestriction.recursive attribute
        See Also:
        Constant Field Values
      • CATEGORYCODES

        public static final java.lang.String CATEGORYCODES
        Qualifier of the CMSCategoryRestriction.categoryCodes attribute
        See Also:
        Constant Field Values
      • CATEGORIES

        public static final java.lang.String CATEGORIES
        Qualifier of the CMSCategoryRestriction.categories attribute
        See Also:
        Constant Field Values
      • CATEGORIESFORRESTRICTION_SRC_ORDERED

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

        protected static java.lang.String CATEGORIESFORRESTRICTION_TGT_ORDERED
      • CATEGORIESFORRESTRICTION_MARKMODIFIED

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

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

      • GeneratedCategoryRestriction

        public GeneratedCategoryRestriction()
    • Method Detail

      • getCategories

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

        public java.util.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,
                                  java.util.Collection<Category> value)
        Generated method - Setter of the CMSCategoryRestriction.categories attribute.
        Parameters:
        value - the categories
      • setCategories

        public void setCategories​(java.util.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 java.util.List<java.lang.String> getCategoryCodes​(SessionContext ctx)
        Generated method - Getter of the CMSCategoryRestriction.categoryCodes attribute.
        Returns:
        the categoryCodes
      • getCategoryCodes

        public java.util.List<java.lang.String> getCategoryCodes()
        Generated method - Getter of the CMSCategoryRestriction.categoryCodes attribute.
        Returns:
        the categoryCodes
      • isRecursive

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

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

        public void setRecursive​(java.lang.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