Class GeneratedAbstractBundleRule

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

public abstract class GeneratedAbstractBundleRule extends GenericItem
Generated class for type AbstractBundleRule.
See Also:
  • Field Details

    • ID

      public static final String ID
      Qualifier of the AbstractBundleRule.id attribute
      See Also:
    • CATALOGVERSION

      public static final String CATALOGVERSION
      Qualifier of the AbstractBundleRule.catalogVersion attribute
      See Also:
    • NAME

      public static final String NAME
      Qualifier of the AbstractBundleRule.name attribute
      See Also:
    • RULETYPE

      public static final String RULETYPE
      Qualifier of the AbstractBundleRule.ruleType attribute
      See Also:
    • CONDITIONALPRODUCTS

      public static final String CONDITIONALPRODUCTS
      Qualifier of the AbstractBundleRule.conditionalProducts attribute
      See Also:
    • ABSTRACTBUNDLERULESCONDITIONALPRODUCTSRELATION_SRC_ORDERED

      protected static String ABSTRACTBUNDLERULESCONDITIONALPRODUCTSRELATION_SRC_ORDERED
      Relation ordering override parameter constants for AbstractBundleRulesConditionalProductsRelation from ((configurablebundleservices))
    • ABSTRACTBUNDLERULESCONDITIONALPRODUCTSRELATION_TGT_ORDERED

      protected static String ABSTRACTBUNDLERULESCONDITIONALPRODUCTSRELATION_TGT_ORDERED
    • ABSTRACTBUNDLERULESCONDITIONALPRODUCTSRELATION_MARKMODIFIED

      protected static String ABSTRACTBUNDLERULESCONDITIONALPRODUCTSRELATION_MARKMODIFIED
      Relation disable markmodifed parameter constants for AbstractBundleRulesConditionalProductsRelation from ((configurablebundleservices))
    • TARGETPRODUCTS

      public static final String TARGETPRODUCTS
      Qualifier of the AbstractBundleRule.targetProducts attribute
      See Also:
    • ABSTRACTBUNDLERULESTARGETPRODUCTSRELATION_SRC_ORDERED

      protected static String ABSTRACTBUNDLERULESTARGETPRODUCTSRELATION_SRC_ORDERED
      Relation ordering override parameter constants for AbstractBundleRulesTargetProductsRelation from ((configurablebundleservices))
    • ABSTRACTBUNDLERULESTARGETPRODUCTSRELATION_TGT_ORDERED

      protected static String ABSTRACTBUNDLERULESTARGETPRODUCTSRELATION_TGT_ORDERED
    • ABSTRACTBUNDLERULESTARGETPRODUCTSRELATION_MARKMODIFIED

      protected static String ABSTRACTBUNDLERULESTARGETPRODUCTSRELATION_MARKMODIFIED
      Relation disable markmodifed parameter constants for AbstractBundleRulesTargetProductsRelation from ((configurablebundleservices))
    • DEFAULT_INITIAL_ATTRIBUTES

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

    • GeneratedAbstractBundleRule

      public GeneratedAbstractBundleRule()
  • 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 AbstractBundleRule.catalogVersion attribute.
      Returns:
      the catalogVersion - Catalog Version
    • getCatalogVersion

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

      protected void setCatalogVersion(SessionContext ctx, CatalogVersion value)
      Generated method - Setter of the AbstractBundleRule.catalogVersion attribute.
      Parameters:
      value - the catalogVersion - Catalog Version
    • setCatalogVersion

      protected void setCatalogVersion(CatalogVersion value)
      Generated method - Setter of the AbstractBundleRule.catalogVersion attribute.
      Parameters:
      value - the catalogVersion - Catalog Version
    • getConditionalProducts

      public Collection<Product> getConditionalProducts(SessionContext ctx)
      Generated method - Getter of the AbstractBundleRule.conditionalProducts attribute.
      Returns:
      the conditionalProducts
    • getConditionalProducts

      public Collection<Product> getConditionalProducts()
      Generated method - Getter of the AbstractBundleRule.conditionalProducts attribute.
      Returns:
      the conditionalProducts
    • getConditionalProductsCount

      public long getConditionalProductsCount(SessionContext ctx)
    • getConditionalProductsCount

      public long getConditionalProductsCount()
    • setConditionalProducts

      public void setConditionalProducts(SessionContext ctx, Collection<Product> value)
      Generated method - Setter of the AbstractBundleRule.conditionalProducts attribute.
      Parameters:
      value - the conditionalProducts
    • setConditionalProducts

      public void setConditionalProducts(Collection<Product> value)
      Generated method - Setter of the AbstractBundleRule.conditionalProducts attribute.
      Parameters:
      value - the conditionalProducts
    • addToConditionalProducts

      public void addToConditionalProducts(SessionContext ctx, Product value)
      Generated method - Adds value to conditionalProducts.
      Parameters:
      value - the item to add to conditionalProducts
    • addToConditionalProducts

      public void addToConditionalProducts(Product value)
      Generated method - Adds value to conditionalProducts.
      Parameters:
      value - the item to add to conditionalProducts
    • removeFromConditionalProducts

      public void removeFromConditionalProducts(SessionContext ctx, Product value)
      Generated method - Removes value from conditionalProducts.
      Parameters:
      value - the item to remove from conditionalProducts
    • removeFromConditionalProducts

      public void removeFromConditionalProducts(Product value)
      Generated method - Removes value from conditionalProducts.
      Parameters:
      value - the item to remove from conditionalProducts
    • getId

      public String getId(SessionContext ctx)
      Generated method - Getter of the AbstractBundleRule.id attribute.
      Returns:
      the id - Identifier
    • getId

      public String getId()
      Generated method - Getter of the AbstractBundleRule.id attribute.
      Returns:
      the id - Identifier
    • setId

      protected void setId(SessionContext ctx, String value)
      Generated method - Setter of the AbstractBundleRule.id attribute.
      Parameters:
      value - the id - Identifier
    • setId

      protected void setId(String value)
      Generated method - Setter of the AbstractBundleRule.id attribute.
      Parameters:
      value - the id - Identifier
    • 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
    • getName

      public String getName(SessionContext ctx)
      Generated method - Getter of the AbstractBundleRule.name attribute.
      Returns:
      the name - Name of the bundle rule
    • getName

      public String getName()
      Generated method - Getter of the AbstractBundleRule.name attribute.
      Returns:
      the name - Name of the bundle rule
    • setName

      public void setName(SessionContext ctx, String value)
      Generated method - Setter of the AbstractBundleRule.name attribute.
      Parameters:
      value - the name - Name of the bundle rule
    • setName

      public void setName(String value)
      Generated method - Setter of the AbstractBundleRule.name attribute.
      Parameters:
      value - the name - Name of the bundle rule
    • getRuleType

      public EnumerationValue getRuleType(SessionContext ctx)
      Generated method - Getter of the AbstractBundleRule.ruleType attribute.
      Returns:
      the ruleType
    • getRuleType

      public EnumerationValue getRuleType()
      Generated method - Getter of the AbstractBundleRule.ruleType attribute.
      Returns:
      the ruleType
    • setRuleType

      public void setRuleType(SessionContext ctx, EnumerationValue value)
      Generated method - Setter of the AbstractBundleRule.ruleType attribute.
      Parameters:
      value - the ruleType
    • setRuleType

      public void setRuleType(EnumerationValue value)
      Generated method - Setter of the AbstractBundleRule.ruleType attribute.
      Parameters:
      value - the ruleType
    • getTargetProducts

      public Collection<Product> getTargetProducts(SessionContext ctx)
      Generated method - Getter of the AbstractBundleRule.targetProducts attribute.
      Returns:
      the targetProducts
    • getTargetProducts

      public Collection<Product> getTargetProducts()
      Generated method - Getter of the AbstractBundleRule.targetProducts attribute.
      Returns:
      the targetProducts
    • getTargetProductsCount

      public long getTargetProductsCount(SessionContext ctx)
    • getTargetProductsCount

      public long getTargetProductsCount()
    • setTargetProducts

      public void setTargetProducts(SessionContext ctx, Collection<Product> value)
      Generated method - Setter of the AbstractBundleRule.targetProducts attribute.
      Parameters:
      value - the targetProducts
    • setTargetProducts

      public void setTargetProducts(Collection<Product> value)
      Generated method - Setter of the AbstractBundleRule.targetProducts attribute.
      Parameters:
      value - the targetProducts
    • addToTargetProducts

      public void addToTargetProducts(SessionContext ctx, Product value)
      Generated method - Adds value to targetProducts.
      Parameters:
      value - the item to add to targetProducts
    • addToTargetProducts

      public void addToTargetProducts(Product value)
      Generated method - Adds value to targetProducts.
      Parameters:
      value - the item to add to targetProducts
    • removeFromTargetProducts

      public void removeFromTargetProducts(SessionContext ctx, Product value)
      Generated method - Removes value from targetProducts.
      Parameters:
      value - the item to remove from targetProducts
    • removeFromTargetProducts

      public void removeFromTargetProducts(Product value)
      Generated method - Removes value from targetProducts.
      Parameters:
      value - the item to remove from targetProducts