Class GeneratedRuleBasedPromotion

    • Field Detail

      • MESSAGEFIRED

        public static final java.lang.String MESSAGEFIRED
        Qualifier of the RuleBasedPromotion.messageFired attribute
        See Also:
        Constant Field Values
      • RULE

        public static final java.lang.String RULE
        Qualifier of the RuleBasedPromotion.rule attribute
        See Also:
        Constant Field Values
      • PROMOTIONDESCRIPTION

        public static final java.lang.String PROMOTIONDESCRIPTION
        Qualifier of the RuleBasedPromotion.promotionDescription attribute
        See Also:
        Constant Field Values
      • RULEVERSION

        public static final java.lang.String RULEVERSION
        Qualifier of the RuleBasedPromotion.ruleVersion attribute
        See Also:
        Constant Field Values
      • DEFAULT_INITIAL_ATTRIBUTES

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

      • GeneratedRuleBasedPromotion

        public GeneratedRuleBasedPromotion()
    • Method Detail

      • getMessageFired

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        public void setAllPromotionDescription​(java.util.Map<Language,​java.lang.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 java.lang.Long getRuleVersion​(SessionContext ctx)
        Generated method - Getter of the RuleBasedPromotion.ruleVersion attribute.
        Returns:
        the ruleVersion - applied rule version
      • getRuleVersion

        public java.lang.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,
                                   java.lang.Long value)
        Generated method - Setter of the RuleBasedPromotion.ruleVersion attribute.
        Parameters:
        value - the ruleVersion - applied rule version
      • setRuleVersion

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