public class RuleBasedPromotionModel extends AbstractPromotionModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_TYPECODE
Generated model type code constant.
|
static java.lang.String |
MESSAGEFIRED
Generated constant - Attribute key of
RuleBasedPromotion.messageFired attribute defined at extension promotionengineservices. |
static java.lang.String |
PROMOTIONDESCRIPTION
Generated constant - Attribute key of
RuleBasedPromotion.promotionDescription attribute defined at extension promotionengineservices. |
static java.lang.String |
RULE
Generated constant - Attribute key of
RuleBasedPromotion.rule attribute defined at extension promotionengineservices. |
static java.lang.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, PK, SEALEDLANGUAGE_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(java.lang.String _code)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
RuleBasedPromotionModel(java.lang.String _code,
ItemModel _owner)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getMessageFired()
Generated method - Getter of the
RuleBasedPromotion.messageFired attribute defined at extension promotionengineservices. |
java.lang.String |
getMessageFired(java.util.Locale loc)
Generated method - Getter of the
RuleBasedPromotion.messageFired attribute defined at extension promotionengineservices. |
java.lang.String |
getPromotionDescription()
Generated method - Getter of the
RuleBasedPromotion.promotionDescription attribute defined at extension promotionengineservices. |
java.lang.String |
getPromotionDescription(java.util.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. |
java.lang.Long |
getRuleVersion()
Generated method - Getter of the
RuleBasedPromotion.ruleVersion attribute defined at extension promotionengineservices. |
void |
setMessageFired(java.lang.String value)
Generated method - Setter of
RuleBasedPromotion.messageFired attribute defined at extension promotionengineservices. |
void |
setMessageFired(java.lang.String value,
java.util.Locale loc)
Generated method - Setter of
RuleBasedPromotion.messageFired attribute defined at extension promotionengineservices. |
void |
setPromotionDescription(java.lang.String value)
Generated method - Setter of
RuleBasedPromotion.promotionDescription attribute defined at extension promotionengineservices. |
void |
setPromotionDescription(java.lang.String value,
java.util.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(java.lang.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, isSealed, 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 java.lang.String _TYPECODE
public static final java.lang.String MESSAGEFIRED
RuleBasedPromotion.messageFired attribute defined at extension promotionengineservices.public static final java.lang.String RULE
RuleBasedPromotion.rule attribute defined at extension promotionengineservices.public static final java.lang.String PROMOTIONDESCRIPTION
RuleBasedPromotion.promotionDescription attribute defined at extension promotionengineservices.public static final java.lang.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(java.lang.String _code)
_code - initial attribute declared by type RuleBasedPromotion at extension promotionengineservices@Deprecated
public RuleBasedPromotionModel(java.lang.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 java.lang.String getMessageFired()
RuleBasedPromotion.messageFired attribute defined at extension promotionengineservices.@Accessor(qualifier="messageFired", type=GETTER) public java.lang.String getMessageFired(java.util.Locale loc)
RuleBasedPromotion.messageFired attribute defined at extension promotionengineservices.loc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="promotionDescription", type=GETTER) public java.lang.String getPromotionDescription()
RuleBasedPromotion.promotionDescription attribute defined at extension promotionengineservices.@Accessor(qualifier="promotionDescription", type=GETTER) public java.lang.String getPromotionDescription(java.util.Locale loc)
RuleBasedPromotion.promotionDescription attribute defined at extension promotionengineservices.loc - the value localization keyjava.lang.IllegalArgumentException - 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 java.lang.Long getRuleVersion()
RuleBasedPromotion.ruleVersion attribute defined at extension promotionengineservices.@Accessor(qualifier="messageFired", type=SETTER) public void setMessageFired(java.lang.String value)
RuleBasedPromotion.messageFired attribute defined at extension promotionengineservices.value - the messageFired - Message for fired promotion.@Accessor(qualifier="messageFired", type=SETTER) public void setMessageFired(java.lang.String value, java.util.Locale loc)
RuleBasedPromotion.messageFired attribute defined at extension promotionengineservices.value - the messageFired - Message for fired promotion.loc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="promotionDescription", type=SETTER) public void setPromotionDescription(java.lang.String value)
RuleBasedPromotion.promotionDescription attribute defined at extension promotionengineservices.value - the promotionDescription - Localized description of promotion.@Accessor(qualifier="promotionDescription", type=SETTER) public void setPromotionDescription(java.lang.String value, java.util.Locale loc)
RuleBasedPromotion.promotionDescription attribute defined at extension promotionengineservices.value - the promotionDescription - Localized description of promotion.loc - the value localization keyjava.lang.IllegalArgumentException - 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 © 2018 SAP SE. All Rights Reserved.