Class GeneratedKeyword

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

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

    • KEYWORD

      public static final String KEYWORD
      Qualifier of the Keyword.keyword attribute
      See Also:
    • LANGUAGE

      public static final String LANGUAGE
      Qualifier of the Keyword.language attribute
      See Also:
    • CATALOG

      public static final String CATALOG
      Qualifier of the Keyword.catalog attribute
      See Also:
    • CATALOGVERSION

      public static final String CATALOGVERSION
      Qualifier of the Keyword.catalogVersion attribute
      See Also:
    • PRODUCTS

      public static final String PRODUCTS
      Qualifier of the Keyword.products attribute
      See Also:
    • PRODUCT2KEYWORDRELATION_SRC_ORDERED

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

      protected static String PRODUCT2KEYWORDRELATION_TGT_ORDERED
    • PRODUCT2KEYWORDRELATION_MARKMODIFIED

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

      public static final String CATEGORIES
      Qualifier of the Keyword.categories attribute
      See Also:
    • CATEGORY2KEYWORDRELATION_SRC_ORDERED

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

      protected static String CATEGORY2KEYWORDRELATION_TGT_ORDERED
    • CATEGORY2KEYWORDRELATION_MARKMODIFIED

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

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

    • GeneratedKeyword

      public GeneratedKeyword()
  • Method Details

    • getDefaultAttributeModes

      protected Map<String,Item.AttributeMode> getDefaultAttributeModes()
      Overrides:
      getDefaultAttributeModes in class Item
    • 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 Collection<Category> getCategories(SessionContext ctx)
      Generated method - Getter of the Keyword.categories attribute.
      Returns:
      the categories - Categories
    • getCategories

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

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

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

      public long getCategoriesCount(SessionContext ctx, Language lang)
    • getCategoriesCount

      public long getCategoriesCount(Language lang)
    • getCategoriesCount

      public long getCategoriesCount(SessionContext ctx)
    • getCategoriesCount

      public long getCategoriesCount()
    • setCategories

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

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

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

      public void setAllCategories(Map<Language,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
    • 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
    • getKeyword

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

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

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

      public void setKeyword(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 Collection<Product> getProducts(SessionContext ctx)
      Generated method - Getter of the Keyword.products attribute.
      Returns:
      the products - Products
    • getProducts

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

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

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

      public long getProductsCount(SessionContext ctx, Language lang)
    • getProductsCount

      public long getProductsCount(Language lang)
    • getProductsCount

      public long getProductsCount(SessionContext ctx)
    • getProductsCount

      public long getProductsCount()
    • setProducts

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

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

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

      public void setAllProducts(Map<Language,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