Class AbstractRuleBasedPromotionActionModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.promotions.model.AbstractPromotionActionModel
-
- de.hybris.platform.promotionengineservices.model.AbstractRuleBasedPromotionActionModel
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
RuleBasedAddCouponActionModel
,RuleBasedOrderAddProductActionModel
,RuleBasedOrderAdjustTotalActionModel
,RuleBasedOrderChangeDeliveryModeActionModel
,RuleBasedOrderEntryAdjustActionModel
,RuleBasedPotentialPromotionMessageActionModel
public class AbstractRuleBasedPromotionActionModel extends AbstractPromotionActionModel
Generated model class for type AbstractRuleBasedPromotionAction first defined at extension promotionengineservices.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
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 ofAbstractRuleBasedPromotionAction.metadataHandlers
attribute defined at extensionpromotionengineservices
.static java.lang.String
RULE
Generated constant - Attribute key ofAbstractRuleBasedPromotionAction.rule
attribute defined at extensionpromotionengineservices
.static java.lang.String
STRATEGYID
Generated constant - Attribute key ofAbstractRuleBasedPromotionAction.strategyId
attribute defined at extensionpromotionengineservices
.static java.lang.String
USEDCOUPONCODES
Generated constant - Attribute key ofAbstractRuleBasedPromotionAction.usedCouponCodes
attribute defined at extensioncouponservices
.-
Fields inherited from class de.hybris.platform.promotions.model.AbstractPromotionActionModel
_PROMOTIONRESULT2PROMOTIONACTIONSRELATION, GUID, MARKEDAPPLIED, PROMOTIONRESULT
-
Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED
-
Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
-
-
Constructor Summary
Constructors Constructor Description AbstractRuleBasedPromotionActionModel()
Generated constructor - Default constructor for generic creation.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 parametersAbstractRuleBasedPromotionActionModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<java.lang.String>
getMetadataHandlers()
Generated method - Getter of theAbstractRuleBasedPromotionAction.metadataHandlers
attribute defined at extensionpromotionengineservices
.AbstractRuleEngineRuleModel
getRule()
Generated method - Getter of theAbstractRuleBasedPromotionAction.rule
attribute defined at extensionpromotionengineservices
.java.lang.String
getStrategyId()
Generated method - Getter of theAbstractRuleBasedPromotionAction.strategyId
attribute defined at extensionpromotionengineservices
.java.util.Collection<java.lang.String>
getUsedCouponCodes()
Generated method - Getter of theAbstractRuleBasedPromotionAction.usedCouponCodes
attribute defined at extensioncouponservices
.void
setMetadataHandlers(java.util.Collection<java.lang.String> value)
Generated method - Setter ofAbstractRuleBasedPromotionAction.metadataHandlers
attribute defined at extensionpromotionengineservices
.void
setRule(AbstractRuleEngineRuleModel value)
Generated method - Setter ofAbstractRuleBasedPromotionAction.rule
attribute defined at extensionpromotionengineservices
.void
setStrategyId(java.lang.String value)
Generated method - Setter ofAbstractRuleBasedPromotionAction.strategyId
attribute defined at extensionpromotionengineservices
.void
setUsedCouponCodes(java.util.Collection<java.lang.String> value)
Generated method - Setter ofAbstractRuleBasedPromotionAction.usedCouponCodes
attribute defined at extensioncouponservices
.-
Methods inherited from class de.hybris.platform.promotions.model.AbstractPromotionActionModel
getGuid, getMarkedApplied, getPromotionResult, setGuid, setMarkedApplied, setPromotionResult
-
Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner
-
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
-
-
-
-
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 ofAbstractRuleBasedPromotionAction.rule
attribute defined at extensionpromotionengineservices
.- See Also:
- Constant Field Values
-
STRATEGYID
public static final java.lang.String STRATEGYID
Generated constant - Attribute key ofAbstractRuleBasedPromotionAction.strategyId
attribute defined at extensionpromotionengineservices
.- See Also:
- Constant Field Values
-
METADATAHANDLERS
public static final java.lang.String METADATAHANDLERS
Generated constant - Attribute key ofAbstractRuleBasedPromotionAction.metadataHandlers
attribute defined at extensionpromotionengineservices
.- See Also:
- Constant Field Values
-
USEDCOUPONCODES
public static final java.lang.String USEDCOUPONCODES
Generated constant - Attribute key ofAbstractRuleBasedPromotionAction.usedCouponCodes
attribute defined at extensioncouponservices
.- 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 parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_owner
- initial attribute declared by typeItem
at extensioncore
-
-
Method Detail
-
getMetadataHandlers
@Accessor(qualifier="metadataHandlers", type=GETTER) public java.util.Collection<java.lang.String> getMetadataHandlers()
Generated method - Getter of theAbstractRuleBasedPromotionAction.metadataHandlers
attribute defined at extensionpromotionengineservices
. 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 theAbstractRuleBasedPromotionAction.rule
attribute defined at extensionpromotionengineservices
.- 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 theAbstractRuleBasedPromotionAction.strategyId
attribute defined at extensionpromotionengineservices
.- 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 theAbstractRuleBasedPromotionAction.usedCouponCodes
attribute defined at extensioncouponservices
. 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 ofAbstractRuleBasedPromotionAction.metadataHandlers
attribute defined at extensionpromotionengineservices
.- Parameters:
value
- the metadataHandlers
-
setRule
@Accessor(qualifier="rule", type=SETTER) public void setRule(AbstractRuleEngineRuleModel value)
Generated method - Setter ofAbstractRuleBasedPromotionAction.rule
attribute defined at extensionpromotionengineservices
.- 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 ofAbstractRuleBasedPromotionAction.strategyId
attribute defined at extensionpromotionengineservices
.- 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 ofAbstractRuleBasedPromotionAction.usedCouponCodes
attribute defined at extensioncouponservices
.- Parameters:
value
- the usedCouponCodes
-
-