Class AbstractRuleBasedPromotionActionModel

    • Field Detail

      • _TYPECODE

        public static final java.lang.String _TYPECODE
        Generated model type code constant.
        See Also:
        Constant Field Values
      • RULE

        public static final java.lang.String RULE
        Generated constant - Attribute key of AbstractRuleBasedPromotionAction.rule attribute defined at extension promotionengineservices.
        See Also:
        Constant Field Values
      • STRATEGYID

        public static final java.lang.String STRATEGYID
        Generated constant - Attribute key of AbstractRuleBasedPromotionAction.strategyId attribute defined at extension promotionengineservices.
        See Also:
        Constant Field Values
      • METADATAHANDLERS

        public static final java.lang.String METADATAHANDLERS
        Generated constant - Attribute key of AbstractRuleBasedPromotionAction.metadataHandlers attribute defined at extension promotionengineservices.
        See Also:
        Constant Field Values
      • USEDCOUPONCODES

        public static final java.lang.String USEDCOUPONCODES
        Generated constant - Attribute key of AbstractRuleBasedPromotionAction.usedCouponCodes attribute defined at extension couponservices.
        See Also:
        Constant Field Values
    • Constructor Detail

      • AbstractRuleBasedPromotionActionModel

        public AbstractRuleBasedPromotionActionModel()
        Generated constructor - Default constructor for generic creation.
      • AbstractRuleBasedPromotionActionModel

        public AbstractRuleBasedPromotionActionModel​(ItemModelContext ctx)
        Generated constructor - Default constructor for creation with existing context
        Parameters:
        ctx - the model context to be injected, must not be null
      • AbstractRuleBasedPromotionActionModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public AbstractRuleBasedPromotionActionModel​(ItemModel _owner)
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 4.1.1 Please use the default constructor without parameters
        Generated constructor - for all mandatory and initial attributes.
        Parameters:
        _owner - initial attribute declared by type Item at extension core
    • Method Detail

      • getMetadataHandlers

        @Accessor(qualifier="metadataHandlers",
                  type=GETTER)
        public java.util.Collection<java.lang.String> getMetadataHandlers()
        Generated method - Getter of the AbstractRuleBasedPromotionAction.metadataHandlers attribute defined at extension promotionengineservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the metadataHandlers
      • getRule

        @Accessor(qualifier="rule",
                  type=GETTER)
        public AbstractRuleEngineRuleModel getRule()
        Generated method - Getter of the AbstractRuleBasedPromotionAction.rule attribute defined at extension promotionengineservices.
        Returns:
        the rule - The rule that created this promotion action.
      • getStrategyId

        @Accessor(qualifier="strategyId",
                  type=GETTER)
        public java.lang.String getStrategyId()
        Generated method - Getter of the AbstractRuleBasedPromotionAction.strategyId attribute defined at extension promotionengineservices.
        Returns:
        the strategyId - the strategyId (i.e. spring bean id) this action was created by.
      • getUsedCouponCodes

        @Accessor(qualifier="usedCouponCodes",
                  type=GETTER)
        public java.util.Collection<java.lang.String> getUsedCouponCodes()
        Generated method - Getter of the AbstractRuleBasedPromotionAction.usedCouponCodes attribute defined at extension couponservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the usedCouponCodes
      • setMetadataHandlers

        @Accessor(qualifier="metadataHandlers",
                  type=SETTER)
        public void setMetadataHandlers​(java.util.Collection<java.lang.String> value)
        Generated method - Setter of AbstractRuleBasedPromotionAction.metadataHandlers attribute defined at extension promotionengineservices.
        Parameters:
        value - the metadataHandlers
      • setRule

        @Accessor(qualifier="rule",
                  type=SETTER)
        public void setRule​(AbstractRuleEngineRuleModel value)
        Generated method - Setter of AbstractRuleBasedPromotionAction.rule attribute defined at extension promotionengineservices.
        Parameters:
        value - the rule - The rule that created this promotion action.
      • setStrategyId

        @Accessor(qualifier="strategyId",
                  type=SETTER)
        public void setStrategyId​(java.lang.String value)
        Generated method - Setter of AbstractRuleBasedPromotionAction.strategyId attribute defined at extension promotionengineservices.
        Parameters:
        value - the strategyId - the strategyId (i.e. spring bean id) this action was created by.
      • setUsedCouponCodes

        @Accessor(qualifier="usedCouponCodes",
                  type=SETTER)
        public void setUsedCouponCodes​(java.util.Collection<java.lang.String> value)
        Generated method - Setter of AbstractRuleBasedPromotionAction.usedCouponCodes attribute defined at extension couponservices.
        Parameters:
        value - the usedCouponCodes