Class AbstractRuleBasedPromotionActionModel

    • Nested Class Summary

      • Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

        de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String _TYPECODE
      Generated model type code constant.
      static java.lang.String METADATAHANDLERS
      Generated constant - Attribute key of AbstractRuleBasedPromotionAction.metadataHandlers attribute defined at extension promotionengineservices.
      static java.lang.String RULE
      Generated constant - Attribute key of AbstractRuleBasedPromotionAction.rule attribute defined at extension promotionengineservices.
      static java.lang.String STRATEGYID
      Generated constant - Attribute key of AbstractRuleBasedPromotionAction.strategyId attribute defined at extension promotionengineservices.
      static java.lang.String USEDCOUPONCODES
      Generated constant - Attribute key of AbstractRuleBasedPromotionAction.usedCouponCodes attribute defined at extension couponservices.
      • Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

        LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Collection<java.lang.String> getMetadataHandlers()
      Generated method - Getter of the AbstractRuleBasedPromotionAction.metadataHandlers attribute defined at extension promotionengineservices.
      AbstractRuleEngineRuleModel getRule()
      Generated method - Getter of the AbstractRuleBasedPromotionAction.rule attribute defined at extension promotionengineservices.
      java.lang.String getStrategyId()
      Generated method - Getter of the AbstractRuleBasedPromotionAction.strategyId attribute defined at extension promotionengineservices.
      java.util.Collection<java.lang.String> getUsedCouponCodes()
      Generated method - Getter of the AbstractRuleBasedPromotionAction.usedCouponCodes attribute defined at extension couponservices.
      void setMetadataHandlers​(java.util.Collection<java.lang.String> value)
      Generated method - Setter of AbstractRuleBasedPromotionAction.metadataHandlers attribute defined at extension promotionengineservices.
      void setRule​(AbstractRuleEngineRuleModel value)
      Generated method - Setter of AbstractRuleBasedPromotionAction.rule attribute defined at extension promotionengineservices.
      void setStrategyId​(java.lang.String value)
      Generated method - Setter of AbstractRuleBasedPromotionAction.strategyId attribute defined at extension promotionengineservices.
      void setUsedCouponCodes​(java.util.Collection<java.lang.String> value)
      Generated method - Setter of AbstractRuleBasedPromotionAction.usedCouponCodes attribute defined at extension couponservices.
      • Methods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

        equals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplace
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • 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​(de.hybris.platform.servicelayer.model.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