Class GeneratedKeyword

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

    public abstract class GeneratedKeyword
    extends GenericItem
    Generated class for type Keyword.
    See Also:
    Serialized Form
    • Field Detail

      • KEYWORD

        public static final java.lang.String KEYWORD
        Qualifier of the Keyword.keyword attribute
        See Also:
        Constant Field Values
      • LANGUAGE

        public static final java.lang.String LANGUAGE
        Qualifier of the Keyword.language attribute
        See Also:
        Constant Field Values
      • CATALOG

        public static final java.lang.String CATALOG
        Qualifier of the Keyword.catalog attribute
        See Also:
        Constant Field Values
      • CATALOGVERSION

        public static final java.lang.String CATALOGVERSION
        Qualifier of the Keyword.catalogVersion attribute
        See Also:
        Constant Field Values
      • PRODUCTS

        public static final java.lang.String PRODUCTS
        Qualifier of the Keyword.products attribute
        See Also:
        Constant Field Values
      • PRODUCT2KEYWORDRELATION_SRC_ORDERED

        protected static java.lang.String PRODUCT2KEYWORDRELATION_SRC_ORDERED
        Relation ordering override parameter constants for Product2KeywordRelation from ((catalog))
      • PRODUCT2KEYWORDRELATION_TGT_ORDERED

        protected static java.lang.String PRODUCT2KEYWORDRELATION_TGT_ORDERED
      • PRODUCT2KEYWORDRELATION_MARKMODIFIED

        protected static java.lang.String PRODUCT2KEYWORDRELATION_MARKMODIFIED
        Relation disable markmodifed parameter constants for Product2KeywordRelation from ((catalog))
      • CATEGORIES

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

        protected static java.lang.String CATEGORY2KEYWORDRELATION_SRC_ORDERED
        Relation ordering override parameter constants for Category2KeywordRelation from ((catalog))
      • CATEGORY2KEYWORDRELATION_TGT_ORDERED

        protected static java.lang.String CATEGORY2KEYWORDRELATION_TGT_ORDERED
      • CATEGORY2KEYWORDRELATION_MARKMODIFIED

        protected static java.lang.String CATEGORY2KEYWORDRELATION_MARKMODIFIED
        Relation disable markmodifed parameter constants for Category2KeywordRelation from ((catalog))
      • DEFAULT_INITIAL_ATTRIBUTES

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

      • GeneratedKeyword

        public GeneratedKeyword()
    • Method Detail

      • getCatalogVersion

        public CatalogVersion getCatalogVersion​(SessionContext ctx)
        Generated method - Getter of the Keyword.catalogVersion attribute.
        Returns:
        the catalogVersion
      • getCatalogVersion

        public CatalogVersion getCatalogVersion()
        Generated method - Getter of the Keyword.catalogVersion attribute.
        Returns:
        the catalogVersion
      • setCatalogVersion

        public void setCatalogVersion​(SessionContext ctx,
                                      CatalogVersion value)
        Generated method - Setter of the Keyword.catalogVersion attribute.
        Parameters:
        value - the catalogVersion
      • setCatalogVersion

        public void setCatalogVersion​(CatalogVersion value)
        Generated method - Setter of the Keyword.catalogVersion attribute.
        Parameters:
        value - the catalogVersion
      • getCategories

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

        public java.util.Collection<Category> getCategories()
        Generated method - Getter of the Keyword.categories attribute.
        Returns:
        the categories - Categories
      • getAllCategories

        public java.util.Map<Language,​java.util.Collection<Category>> getAllCategories​(SessionContext ctx)
        Generated method - Getter of the Keyword.categories attribute.
        Returns:
        the localized categories - Categories
      • getAllCategories

        public java.util.Map<Language,​java.util.Collection<Category>> getAllCategories()
        Generated method - Getter of the Keyword.categories attribute.
        Returns:
        the localized categories - Categories
      • getCategoriesCount

        public long getCategoriesCount​(Language lang)
      • 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 Keyword.categories attribute.
        Parameters:
        value - the categories - Categories
      • setCategories

        public void setCategories​(java.util.Collection<Category> value)
        Generated method - Setter of the Keyword.categories attribute.
        Parameters:
        value - the categories - Categories
      • setAllCategories

        public void setAllCategories​(SessionContext ctx,
                                     java.util.Map<Language,​java.util.Collection<Category>> value)
        Generated method - Setter of the Keyword.categories attribute.
        Parameters:
        value - the categories - Categories
      • setAllCategories

        public void setAllCategories​(java.util.Map<Language,​java.util.Collection<Category>> value)
        Generated method - Setter of the Keyword.categories attribute.
        Parameters:
        value - the categories - Categories
      • addToCategories

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

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

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

        public void removeFromCategories​(Language lang,
                                         Category value)
        Generated method - Removes value from categories.
        Parameters:
        value - the item to remove from categories - Categories
      • getKeyword

        public java.lang.String getKeyword​(SessionContext ctx)
        Generated method - Getter of the Keyword.keyword attribute.
        Returns:
        the keyword
      • getKeyword

        public java.lang.String getKeyword()
        Generated method - Getter of the Keyword.keyword attribute.
        Returns:
        the keyword
      • setKeyword

        public void setKeyword​(SessionContext ctx,
                               java.lang.String value)
        Generated method - Setter of the Keyword.keyword attribute.
        Parameters:
        value - the keyword
      • setKeyword

        public void setKeyword​(java.lang.String value)
        Generated method - Setter of the Keyword.keyword attribute.
        Parameters:
        value - the keyword
      • getLanguage

        public Language getLanguage​(SessionContext ctx)
        Generated method - Getter of the Keyword.language attribute.
        Returns:
        the language
      • getLanguage

        public Language getLanguage()
        Generated method - Getter of the Keyword.language attribute.
        Returns:
        the language
      • setLanguage

        protected void setLanguage​(SessionContext ctx,
                                   Language value)
        Generated method - Setter of the Keyword.language attribute.
        Parameters:
        value - the language
      • setLanguage

        protected void setLanguage​(Language value)
        Generated method - Setter of the Keyword.language attribute.
        Parameters:
        value - the language
      • getProducts

        public java.util.Collection<Product> getProducts​(SessionContext ctx)
        Generated method - Getter of the Keyword.products attribute.
        Returns:
        the products - Products
      • getProducts

        public java.util.Collection<Product> getProducts()
        Generated method - Getter of the Keyword.products attribute.
        Returns:
        the products - Products
      • getAllProducts

        public java.util.Map<Language,​java.util.Collection<Product>> getAllProducts​(SessionContext ctx)
        Generated method - Getter of the Keyword.products attribute.
        Returns:
        the localized products - Products
      • getAllProducts

        public java.util.Map<Language,​java.util.Collection<Product>> getAllProducts()
        Generated method - Getter of the Keyword.products attribute.
        Returns:
        the localized products - Products
      • getProductsCount

        public long getProductsCount​(Language lang)
      • getProductsCount

        public long getProductsCount​(SessionContext ctx)
      • getProductsCount

        public long getProductsCount()
      • setProducts

        public void setProducts​(SessionContext ctx,
                                java.util.Collection<Product> value)
        Generated method - Setter of the Keyword.products attribute.
        Parameters:
        value - the products - Products
      • setProducts

        public void setProducts​(java.util.Collection<Product> value)
        Generated method - Setter of the Keyword.products attribute.
        Parameters:
        value - the products - Products
      • setAllProducts

        public void setAllProducts​(SessionContext ctx,
                                   java.util.Map<Language,​java.util.Collection<Product>> value)
        Generated method - Setter of the Keyword.products attribute.
        Parameters:
        value - the products - Products
      • setAllProducts

        public void setAllProducts​(java.util.Map<Language,​java.util.Collection<Product>> value)
        Generated method - Setter of the Keyword.products attribute.
        Parameters:
        value - the products - Products
      • addToProducts

        public void addToProducts​(SessionContext ctx,
                                  Language lang,
                                  Product value)
        Generated method - Adds value to products.
        Parameters:
        value - the item to add to products - Products
      • addToProducts

        public void addToProducts​(Language lang,
                                  Product value)
        Generated method - Adds value to products.
        Parameters:
        value - the item to add to products - Products
      • removeFromProducts

        public void removeFromProducts​(SessionContext ctx,
                                       Language lang,
                                       Product value)
        Generated method - Removes value from products.
        Parameters:
        value - the item to remove from products - Products
      • removeFromProducts

        public void removeFromProducts​(Language lang,
                                       Product value)
        Generated method - Removes value from products.
        Parameters:
        value - the item to remove from products - Products