public class AbstractRuleBasedPromotionActionModel extends AbstractPromotionActionModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static String |
_TYPECODE
Generated model type code constant.
|
static String |
METADATAHANDLERS
Generated constant - Attribute key of
AbstractRuleBasedPromotionAction.metadataHandlers attribute defined at extension promotionengineservices. |
static String |
RULE
Generated constant - Attribute key of
AbstractRuleBasedPromotionAction.rule attribute defined at extension promotionengineservices. |
static String |
STRATEGYID
Generated constant - Attribute key of
AbstractRuleBasedPromotionAction.strategyId attribute defined at extension promotionengineservices. |
static String |
USEDCOUPONCODES
Generated constant - Attribute key of
AbstractRuleBasedPromotionAction.usedCouponCodes attribute defined at extension couponservices. |
_PROMOTIONRESULT2PROMOTIONACTIONSRELATION, GUID, MARKEDAPPLIED, PROMOTIONRESULT_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PKLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
AbstractRuleBasedPromotionActionModel()
Generated constructor - Default constructor for generic creation.
|
AbstractRuleBasedPromotionActionModel(ItemModel _owner)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
AbstractRuleBasedPromotionActionModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
| Modifier and Type | Method and Description |
|---|---|
Collection<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. |
String |
getStrategyId()
Generated method - Getter of the
AbstractRuleBasedPromotionAction.strategyId attribute defined at extension promotionengineservices. |
Collection<String> |
getUsedCouponCodes()
Generated method - Getter of the
AbstractRuleBasedPromotionAction.usedCouponCodes attribute defined at extension couponservices. |
void |
setMetadataHandlers(Collection<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(String value)
Generated method - Setter of
AbstractRuleBasedPromotionAction.strategyId attribute defined at extension promotionengineservices. |
void |
setUsedCouponCodes(Collection<String> value)
Generated method - Setter of
AbstractRuleBasedPromotionAction.usedCouponCodes attribute defined at extension couponservices. |
getGuid, getMarkedApplied, getPromotionResult, setGuid, setMarkedApplied, setPromotionResultgetComments, getCreationtime, getModifiedtime, getOwner, setComments, setCreationtime, setModifiedtime, setOwnerequals, 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, writeReplacepublic static final String _TYPECODE
public static final String RULE
AbstractRuleBasedPromotionAction.rule attribute defined at extension promotionengineservices.public static final String STRATEGYID
AbstractRuleBasedPromotionAction.strategyId attribute defined at extension promotionengineservices.public static final String METADATAHANDLERS
AbstractRuleBasedPromotionAction.metadataHandlers attribute defined at extension promotionengineservices.public static final String USEDCOUPONCODES
AbstractRuleBasedPromotionAction.usedCouponCodes attribute defined at extension couponservices.public AbstractRuleBasedPromotionActionModel()
public AbstractRuleBasedPromotionActionModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public AbstractRuleBasedPromotionActionModel(ItemModel _owner)
_owner - initial attribute declared by type Item at extension core@Accessor(qualifier="metadataHandlers", type=GETTER) public Collection<String> getMetadataHandlers()
AbstractRuleBasedPromotionAction.metadataHandlers attribute defined at extension promotionengineservices.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="rule", type=GETTER) public AbstractRuleEngineRuleModel getRule()
AbstractRuleBasedPromotionAction.rule attribute defined at extension promotionengineservices.@Accessor(qualifier="strategyId", type=GETTER) public String getStrategyId()
AbstractRuleBasedPromotionAction.strategyId attribute defined at extension promotionengineservices.@Accessor(qualifier="usedCouponCodes", type=GETTER) public Collection<String> getUsedCouponCodes()
AbstractRuleBasedPromotionAction.usedCouponCodes attribute defined at extension couponservices.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="metadataHandlers", type=SETTER) public void setMetadataHandlers(Collection<String> value)
AbstractRuleBasedPromotionAction.metadataHandlers attribute defined at extension promotionengineservices.value - the metadataHandlers@Accessor(qualifier="rule", type=SETTER) public void setRule(AbstractRuleEngineRuleModel value)
AbstractRuleBasedPromotionAction.rule attribute defined at extension promotionengineservices.value - the rule - The rule that created this promotion action.@Accessor(qualifier="strategyId", type=SETTER) public void setStrategyId(String value)
AbstractRuleBasedPromotionAction.strategyId attribute defined at extension promotionengineservices.value - the strategyId - the strategyId (i.e. spring bean id) this action was created by.Copyright © 2017 SAP SE. All Rights Reserved.