public class RuleBasedPromotionModel extends AbstractPromotionModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static String |
_TYPECODE
Generated model type code constant.
|
static String |
MESSAGEFIRED
Generated constant - Attribute key of
RuleBasedPromotion.messageFired attribute defined at extension promotionengineservices. |
static String |
PROMOTIONDESCRIPTION
Generated constant - Attribute key of
RuleBasedPromotion.promotionDescription attribute defined at extension promotionengineservices. |
static String |
RULE
Generated constant - Attribute key of
RuleBasedPromotion.rule attribute defined at extension promotionengineservices. |
static String |
RULEVERSION
Generated constant - Attribute key of
RuleBasedPromotion.ruleVersion attribute defined at extension promotionengineservices. |
_PROMOTIONGROUPPROMOTIONSRELATION, CODE, DESCRIPTION, DETAILSURL, ENABLED, ENDDATE, IMMUTABLEKEY, IMMUTABLEKEYHASH, NAME, PRIORITY, PROMOTIONGROUP, PROMOTIONTYPE, RESTRICTIONS, STARTDATE, TITLE_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PKLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
RuleBasedPromotionModel()
Generated constructor - Default constructor for generic creation.
|
RuleBasedPromotionModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
RuleBasedPromotionModel(String _code)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
RuleBasedPromotionModel(String _code,
ItemModel _owner)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
| Modifier and Type | Method and Description |
|---|---|
String |
getMessageFired()
Generated method - Getter of the
RuleBasedPromotion.messageFired attribute defined at extension promotionengineservices. |
String |
getMessageFired(Locale loc)
Generated method - Getter of the
RuleBasedPromotion.messageFired attribute defined at extension promotionengineservices. |
String |
getPromotionDescription()
Generated method - Getter of the
RuleBasedPromotion.promotionDescription attribute defined at extension promotionengineservices. |
String |
getPromotionDescription(Locale loc)
Generated method - Getter of the
RuleBasedPromotion.promotionDescription attribute defined at extension promotionengineservices. |
AbstractRuleEngineRuleModel |
getRule()
Generated method - Getter of the
RuleBasedPromotion.rule attribute defined at extension promotionengineservices. |
Long |
getRuleVersion()
Generated method - Getter of the
RuleBasedPromotion.ruleVersion attribute defined at extension promotionengineservices. |
void |
setMessageFired(String value)
Generated method - Setter of
RuleBasedPromotion.messageFired attribute defined at extension promotionengineservices. |
void |
setMessageFired(String value,
Locale loc)
Generated method - Setter of
RuleBasedPromotion.messageFired attribute defined at extension promotionengineservices. |
void |
setPromotionDescription(String value)
Generated method - Setter of
RuleBasedPromotion.promotionDescription attribute defined at extension promotionengineservices. |
void |
setPromotionDescription(String value,
Locale loc)
Generated method - Setter of
RuleBasedPromotion.promotionDescription attribute defined at extension promotionengineservices. |
void |
setRule(AbstractRuleEngineRuleModel value)
Generated method - Setter of
RuleBasedPromotion.rule attribute defined at extension promotionengineservices. |
void |
setRuleVersion(Long value)
Generated method - Setter of
RuleBasedPromotion.ruleVersion attribute defined at extension promotionengineservices. |
getCode, getDescription, getDetailsURL, getEnabled, getEndDate, getImmutableKey, getImmutableKeyHash, getName, getName, getPriority, getPromotionGroup, getPromotionType, getPromotionType, getRestrictions, getStartDate, getTitle, setCode, setDescription, setDetailsURL, setEnabled, setEndDate, setImmutableKey, setImmutableKeyHash, setName, setName, setPriority, setPromotionGroup, setRestrictions, setStartDate, setTitlegetComments, 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 MESSAGEFIRED
RuleBasedPromotion.messageFired attribute defined at extension promotionengineservices.public static final String RULE
RuleBasedPromotion.rule attribute defined at extension promotionengineservices.public static final String PROMOTIONDESCRIPTION
RuleBasedPromotion.promotionDescription attribute defined at extension promotionengineservices.public static final String RULEVERSION
RuleBasedPromotion.ruleVersion attribute defined at extension promotionengineservices.public RuleBasedPromotionModel()
public RuleBasedPromotionModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public RuleBasedPromotionModel(String _code)
_code - initial attribute declared by type RuleBasedPromotion at extension promotionengineservices@Deprecated public RuleBasedPromotionModel(String _code, ItemModel _owner)
_code - initial attribute declared by type RuleBasedPromotion at extension promotionengineservices_owner - initial attribute declared by type Item at extension core@Accessor(qualifier="messageFired", type=GETTER) public String getMessageFired()
RuleBasedPromotion.messageFired attribute defined at extension promotionengineservices.@Accessor(qualifier="messageFired", type=GETTER) public String getMessageFired(Locale loc)
RuleBasedPromotion.messageFired attribute defined at extension promotionengineservices.loc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="promotionDescription", type=GETTER) public String getPromotionDescription()
RuleBasedPromotion.promotionDescription attribute defined at extension promotionengineservices.@Accessor(qualifier="promotionDescription", type=GETTER) public String getPromotionDescription(Locale loc)
RuleBasedPromotion.promotionDescription attribute defined at extension promotionengineservices.loc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="rule", type=GETTER) public AbstractRuleEngineRuleModel getRule()
RuleBasedPromotion.rule attribute defined at extension promotionengineservices.@Accessor(qualifier="ruleVersion", type=GETTER) public Long getRuleVersion()
RuleBasedPromotion.ruleVersion attribute defined at extension promotionengineservices.@Accessor(qualifier="messageFired", type=SETTER) public void setMessageFired(String value)
RuleBasedPromotion.messageFired attribute defined at extension promotionengineservices.value - the messageFired - Message for fired promotion.@Accessor(qualifier="messageFired", type=SETTER) public void setMessageFired(String value, Locale loc)
RuleBasedPromotion.messageFired attribute defined at extension promotionengineservices.value - the messageFired - Message for fired promotion.loc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="promotionDescription", type=SETTER) public void setPromotionDescription(String value)
RuleBasedPromotion.promotionDescription attribute defined at extension promotionengineservices.value - the promotionDescription - Localized description of promotion.@Accessor(qualifier="promotionDescription", type=SETTER) public void setPromotionDescription(String value, Locale loc)
RuleBasedPromotion.promotionDescription attribute defined at extension promotionengineservices.value - the promotionDescription - Localized description of promotion.loc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="rule", type=SETTER) public void setRule(AbstractRuleEngineRuleModel value)
RuleBasedPromotion.rule attribute defined at extension promotionengineservices.value - the rule - The rule for this promotion.Copyright © 2017 SAP SE. All Rights Reserved.