Class GeneratedRuleBasedPromotion

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

public abstract class GeneratedRuleBasedPromotion extends AbstractPromotion
Generated class for type RuleBasedPromotion.
See Also:
  • Field Details

    • MESSAGEFIRED

      public static final String MESSAGEFIRED
      Qualifier of the RuleBasedPromotion.messageFired attribute
      See Also:
    • RULE

      public static final String RULE
      Qualifier of the RuleBasedPromotion.rule attribute
      See Also:
    • PROMOTIONDESCRIPTION

      public static final String PROMOTIONDESCRIPTION
      Qualifier of the RuleBasedPromotion.promotionDescription attribute
      See Also:
    • RULEVERSION

      public static final String RULEVERSION
      Qualifier of the RuleBasedPromotion.ruleVersion attribute
      See Also:
    • DEFAULT_INITIAL_ATTRIBUTES

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

    • GeneratedRuleBasedPromotion

      public GeneratedRuleBasedPromotion()
  • Method Details

    • getDefaultAttributeModes

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

      public String getMessageFired(SessionContext ctx)
      Generated method - Getter of the RuleBasedPromotion.messageFired attribute.
      Returns:
      the messageFired - Message for fired promotion.
    • getMessageFired

      public String getMessageFired()
      Generated method - Getter of the RuleBasedPromotion.messageFired attribute.
      Returns:
      the messageFired - Message for fired promotion.
    • getAllMessageFired

      public Map<Language,String> getAllMessageFired(SessionContext ctx)
      Generated method - Getter of the RuleBasedPromotion.messageFired attribute.
      Returns:
      the localized messageFired - Message for fired promotion.
    • getAllMessageFired

      public Map<Language,String> getAllMessageFired()
      Generated method - Getter of the RuleBasedPromotion.messageFired attribute.
      Returns:
      the localized messageFired - Message for fired promotion.
    • setMessageFired

      public void setMessageFired(SessionContext ctx, String value)
      Generated method - Setter of the RuleBasedPromotion.messageFired attribute.
      Parameters:
      value - the messageFired - Message for fired promotion.
    • setMessageFired

      public void setMessageFired(String value)
      Generated method - Setter of the RuleBasedPromotion.messageFired attribute.
      Parameters:
      value - the messageFired - Message for fired promotion.
    • setAllMessageFired

      public void setAllMessageFired(SessionContext ctx, Map<Language,String> value)
      Generated method - Setter of the RuleBasedPromotion.messageFired attribute.
      Parameters:
      value - the messageFired - Message for fired promotion.
    • setAllMessageFired

      public void setAllMessageFired(Map<Language,String> value)
      Generated method - Setter of the RuleBasedPromotion.messageFired attribute.
      Parameters:
      value - the messageFired - Message for fired promotion.
    • getPromotionDescription

      public String getPromotionDescription(SessionContext ctx)
      Generated method - Getter of the RuleBasedPromotion.promotionDescription attribute.
      Returns:
      the promotionDescription - Localized description of promotion.
    • getPromotionDescription

      public String getPromotionDescription()
      Generated method - Getter of the RuleBasedPromotion.promotionDescription attribute.
      Returns:
      the promotionDescription - Localized description of promotion.
    • getAllPromotionDescription

      public Map<Language,String> getAllPromotionDescription(SessionContext ctx)
      Generated method - Getter of the RuleBasedPromotion.promotionDescription attribute.
      Returns:
      the localized promotionDescription - Localized description of promotion.
    • getAllPromotionDescription

      public Map<Language,String> getAllPromotionDescription()
      Generated method - Getter of the RuleBasedPromotion.promotionDescription attribute.
      Returns:
      the localized promotionDescription - Localized description of promotion.
    • setPromotionDescription

      public void setPromotionDescription(SessionContext ctx, String value)
      Generated method - Setter of the RuleBasedPromotion.promotionDescription attribute.
      Parameters:
      value - the promotionDescription - Localized description of promotion.
    • setPromotionDescription

      public void setPromotionDescription(String value)
      Generated method - Setter of the RuleBasedPromotion.promotionDescription attribute.
      Parameters:
      value - the promotionDescription - Localized description of promotion.
    • setAllPromotionDescription

      public void setAllPromotionDescription(SessionContext ctx, Map<Language,String> value)
      Generated method - Setter of the RuleBasedPromotion.promotionDescription attribute.
      Parameters:
      value - the promotionDescription - Localized description of promotion.
    • setAllPromotionDescription

      public void setAllPromotionDescription(Map<Language,String> value)
      Generated method - Setter of the RuleBasedPromotion.promotionDescription attribute.
      Parameters:
      value - the promotionDescription - Localized description of promotion.
    • getRule

      public AbstractRuleEngineRule getRule(SessionContext ctx)
      Generated method - Getter of the RuleBasedPromotion.rule attribute.
      Returns:
      the rule - The rule for this promotion.
    • getRule

      public AbstractRuleEngineRule getRule()
      Generated method - Getter of the RuleBasedPromotion.rule attribute.
      Returns:
      the rule - The rule for this promotion.
    • setRule

      public void setRule(SessionContext ctx, AbstractRuleEngineRule value)
      Generated method - Setter of the RuleBasedPromotion.rule attribute.
      Parameters:
      value - the rule - The rule for this promotion.
    • setRule

      public void setRule(AbstractRuleEngineRule value)
      Generated method - Setter of the RuleBasedPromotion.rule attribute.
      Parameters:
      value - the rule - The rule for this promotion.
    • getRuleVersion

      public Long getRuleVersion(SessionContext ctx)
      Generated method - Getter of the RuleBasedPromotion.ruleVersion attribute.
      Returns:
      the ruleVersion - applied rule version
    • getRuleVersion

      public Long getRuleVersion()
      Generated method - Getter of the RuleBasedPromotion.ruleVersion attribute.
      Returns:
      the ruleVersion - applied rule version
    • getRuleVersionAsPrimitive

      public long getRuleVersionAsPrimitive(SessionContext ctx)
      Generated method - Getter of the RuleBasedPromotion.ruleVersion attribute.
      Returns:
      the ruleVersion - applied rule version
    • getRuleVersionAsPrimitive

      public long getRuleVersionAsPrimitive()
      Generated method - Getter of the RuleBasedPromotion.ruleVersion attribute.
      Returns:
      the ruleVersion - applied rule version
    • setRuleVersion

      public void setRuleVersion(SessionContext ctx, Long value)
      Generated method - Setter of the RuleBasedPromotion.ruleVersion attribute.
      Parameters:
      value - the ruleVersion - applied rule version
    • setRuleVersion

      public void setRuleVersion(Long value)
      Generated method - Setter of the RuleBasedPromotion.ruleVersion attribute.
      Parameters:
      value - the ruleVersion - applied rule version
    • setRuleVersion

      public void setRuleVersion(SessionContext ctx, long value)
      Generated method - Setter of the RuleBasedPromotion.ruleVersion attribute.
      Parameters:
      value - the ruleVersion - applied rule version
    • setRuleVersion

      public void setRuleVersion(long value)
      Generated method - Setter of the RuleBasedPromotion.ruleVersion attribute.
      Parameters:
      value - the ruleVersion - applied rule version