public class PromotionSourceRuleModel extends SourceRuleModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static String |
_TYPECODE
Generated model type code constant.
|
static String |
EXCLUDEFROMSTOREFRONTDISPLAY
Generated constant - Attribute key of
PromotionSourceRule.excludeFromStorefrontDisplay attribute defined at extension promotionengineservices. |
static String |
WEBSITE
Generated constant - Attribute key of
PromotionSourceRule.website attribute defined at extension promotionengineservices. |
ACTIONS, CONDITIONS_RULEGROUP2ABSTRACTRULE, CODE, DESCRIPTION, ENDDATE, MAXALLOWEDRUNS, MESSAGEFIRED, NAME, PRIORITY, RULEGROUP, SAPCONDITIONTYPE, STACKABLE, STARTDATE, STATUS, UUID_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PKLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
PromotionSourceRuleModel()
Generated constructor - Default constructor for generic creation.
|
PromotionSourceRuleModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
PromotionSourceRuleModel(String _code)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
PromotionSourceRuleModel(String _code,
ItemModel _owner,
String _uuid)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getExcludeFromStorefrontDisplay()
Generated method - Getter of the
PromotionSourceRule.excludeFromStorefrontDisplay attribute defined at extension promotionengineservices. |
PromotionGroupModel |
getWebsite()
Generated method - Getter of the
PromotionSourceRule.website attribute defined at extension promotionengineservices. |
void |
setExcludeFromStorefrontDisplay(Boolean value)
Generated method - Setter of
PromotionSourceRule.excludeFromStorefrontDisplay attribute defined at extension promotionengineservices. |
void |
setWebsite(PromotionGroupModel value)
Generated method - Setter of
PromotionSourceRule.website attribute defined at extension promotionengineservices. |
getActions, getConditions, setActions, setConditionsgetCode, getDescription, getDescription, getEndDate, getMaxAllowedRuns, getMessageFired, getMessageFired, getName, getName, getPriority, getRuleGroup, getSapConditionType, getStackable, getStartDate, getStatus, getUuid, setCode, setDescription, setDescription, setEndDate, setMaxAllowedRuns, setMessageFired, setMessageFired, setName, setName, setPriority, setRuleGroup, setSapConditionType, setStackable, setStartDate, setStatus, setUuidgetComments, 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 WEBSITE
PromotionSourceRule.website attribute defined at extension promotionengineservices.public static final String EXCLUDEFROMSTOREFRONTDISPLAY
PromotionSourceRule.excludeFromStorefrontDisplay attribute defined at extension promotionengineservices.public PromotionSourceRuleModel()
public PromotionSourceRuleModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public PromotionSourceRuleModel(String _code)
_code - initial attribute declared by type AbstractRule at extension ruleengineservices@Deprecated public PromotionSourceRuleModel(String _code, ItemModel _owner, String _uuid)
_code - initial attribute declared by type AbstractRule at extension ruleengineservices_owner - initial attribute declared by type Item at extension core_uuid - initial attribute declared by type AbstractRule at extension ruleengineservices@Accessor(qualifier="excludeFromStorefrontDisplay", type=GETTER) public Boolean getExcludeFromStorefrontDisplay()
PromotionSourceRule.excludeFromStorefrontDisplay attribute defined at extension promotionengineservices.@Accessor(qualifier="website", type=GETTER) public PromotionGroupModel getWebsite()
PromotionSourceRule.website attribute defined at extension promotionengineservices.@Accessor(qualifier="excludeFromStorefrontDisplay", type=SETTER) public void setExcludeFromStorefrontDisplay(Boolean value)
PromotionSourceRule.excludeFromStorefrontDisplay attribute defined at extension promotionengineservices.value - the excludeFromStorefrontDisplay - flag to indicate whether this promotion will be displayed
in the storefront (e.g. product details page etc)@Accessor(qualifier="website", type=SETTER) public void setWebsite(PromotionGroupModel value)
PromotionSourceRule.website attribute defined at extension promotionengineservices.value - the website - The website to which the promotion is associated.Copyright © 2000-2016 SAP SE. All Rights Reserved.