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:
Serializable
- Direct Known Subclasses:
RuleBasedAddCouponActionModel,RuleBasedOrderAddProductActionModel,RuleBasedOrderAdjustTotalActionModel,RuleBasedOrderChangeDeliveryModeActionModel,RuleBasedOrderEntryAdjustActionModel,RuleBasedPotentialPromotionMessageActionModel
Generated model class for type AbstractRuleBasedPromotionAction first defined at extension promotionengineservices.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofAbstractRuleBasedPromotionAction.metadataHandlersattribute defined at extensionpromotionengineservices.static final StringGenerated constant - Attribute key ofAbstractRuleBasedPromotionAction.ruleattribute defined at extensionpromotionengineservices.static final StringGenerated constant - Attribute key ofAbstractRuleBasedPromotionAction.strategyIdattribute defined at extensionpromotionengineservices.static final StringGenerated constant - Attribute key ofAbstractRuleBasedPromotionAction.usedCouponCodesattribute defined at extensioncouponservices.Fields inherited from class de.hybris.platform.promotions.model.AbstractPromotionActionModel
_PROMOTIONRESULT2PROMOTIONACTIONSRELATION, GUID, MARKEDAPPLIED, PROMOTIONRESULTFields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated constructor - Default constructor for generic creation.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 - Default constructor for creation with existing context -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theAbstractRuleBasedPromotionAction.metadataHandlersattribute defined at extensionpromotionengineservices.getRule()Generated method - Getter of theAbstractRuleBasedPromotionAction.ruleattribute defined at extensionpromotionengineservices.Generated method - Getter of theAbstractRuleBasedPromotionAction.strategyIdattribute defined at extensionpromotionengineservices.Generated method - Getter of theAbstractRuleBasedPromotionAction.usedCouponCodesattribute defined at extensioncouponservices.voidsetMetadataHandlers(Collection<String> value) Generated method - Setter ofAbstractRuleBasedPromotionAction.metadataHandlersattribute defined at extensionpromotionengineservices.voidGenerated method - Setter ofAbstractRuleBasedPromotionAction.ruleattribute defined at extensionpromotionengineservices.voidsetStrategyId(String value) Generated method - Setter ofAbstractRuleBasedPromotionAction.strategyIdattribute defined at extensionpromotionengineservices.voidsetUsedCouponCodes(Collection<String> value) Generated method - Setter ofAbstractRuleBasedPromotionAction.usedCouponCodesattribute defined at extensioncouponservices.Methods inherited from class de.hybris.platform.promotions.model.AbstractPromotionActionModel
getGuid, getMarkedApplied, getPromotionResult, setGuid, setMarkedApplied, setPromotionResultMethods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerMethods 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 Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
RULE
Generated constant - Attribute key ofAbstractRuleBasedPromotionAction.ruleattribute defined at extensionpromotionengineservices.- See Also:
-
STRATEGYID
Generated constant - Attribute key ofAbstractRuleBasedPromotionAction.strategyIdattribute defined at extensionpromotionengineservices.- See Also:
-
METADATAHANDLERS
Generated constant - Attribute key ofAbstractRuleBasedPromotionAction.metadataHandlersattribute defined at extensionpromotionengineservices.- See Also:
-
USEDCOUPONCODES
Generated constant - Attribute key ofAbstractRuleBasedPromotionAction.usedCouponCodesattribute defined at extensioncouponservices.- See Also:
-
-
Constructor Details
-
AbstractRuleBasedPromotionActionModel
public AbstractRuleBasedPromotionActionModel()Generated constructor - Default constructor for generic creation. -
AbstractRuleBasedPromotionActionModel
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 typeItemat extensioncore
-
-
Method Details
-
getMetadataHandlers
@Accessor(qualifier="metadataHandlers", type=GETTER) public Collection<String> getMetadataHandlers()Generated method - Getter of theAbstractRuleBasedPromotionAction.metadataHandlersattribute defined at extensionpromotionengineservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the metadataHandlers
-
getRule
Generated method - Getter of theAbstractRuleBasedPromotionAction.ruleattribute defined at extensionpromotionengineservices.- Returns:
- the rule - The rule that created this promotion action.
-
getStrategyId
Generated method - Getter of theAbstractRuleBasedPromotionAction.strategyIdattribute defined at extensionpromotionengineservices.- Returns:
- the strategyId - the strategyId (i.e. spring bean id) this action was created by.
-
getUsedCouponCodes
Generated method - Getter of theAbstractRuleBasedPromotionAction.usedCouponCodesattribute 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(Collection<String> value) Generated method - Setter ofAbstractRuleBasedPromotionAction.metadataHandlersattribute defined at extensionpromotionengineservices.- Parameters:
value- the metadataHandlers
-
setRule
Generated method - Setter ofAbstractRuleBasedPromotionAction.ruleattribute defined at extensionpromotionengineservices.- Parameters:
value- the rule - The rule that created this promotion action.
-
setStrategyId
Generated method - Setter ofAbstractRuleBasedPromotionAction.strategyIdattribute 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(Collection<String> value) Generated method - Setter ofAbstractRuleBasedPromotionAction.usedCouponCodesattribute defined at extensioncouponservices.- Parameters:
value- the usedCouponCodes
-