Class PromotionSourceRuleModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.ruleengineservices.model.AbstractRuleModel
-
- de.hybris.platform.ruleengineservices.model.SourceRuleModel
-
- de.hybris.platform.promotionengineservices.model.PromotionSourceRuleModel
-
- All Implemented Interfaces:
java.io.Serializable
public class PromotionSourceRuleModel extends SourceRuleModel
Generated model class for type PromotionSourceRule first defined at extension promotionengineservices.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_PROMOTIONGROUP2PROMOTIONSOURCERULERELATIONGenerated relation code constant for relationPromotionGroup2PromotionSourceRuleRelationdefining source attributewebsitein extensionpromotionengineservices.static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringEXCLUDEFROMSTOREFRONTDISPLAYGenerated constant - Attribute key ofPromotionSourceRule.excludeFromStorefrontDisplayattribute defined at extensionpromotionengineservices.static java.lang.StringWEBSITEGenerated constant - Attribute key ofPromotionSourceRule.websiteattribute defined at extensionpromotionengineservices.-
Fields inherited from class de.hybris.platform.ruleengineservices.model.SourceRuleModel
_CAMPAIGN2SOURCERULERELATION, ACTIONS, CAMPAIGNS, CONDITIONS
-
Fields inherited from class de.hybris.platform.ruleengineservices.model.AbstractRuleModel
_RULEGROUP2ABSTRACTRULE, CODE, DEPLOYMENTS, DESCRIPTION, ENDDATE, ENGINERULES, MAXALLOWEDRUNS, MESSAGEFIRED, NAME, PRIORITY, RULEGROUP, RULESMODULES, SAPCONDITIONTYPE, STACKABLE, STARTDATE, STATUS, UUID, VERSION
-
Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED
-
Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
-
-
Constructor Summary
Constructors Constructor Description PromotionSourceRuleModel()Generated constructor - Default constructor for generic creation.PromotionSourceRuleModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing contextPromotionSourceRuleModel(java.lang.String _code)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersPromotionSourceRuleModel(java.lang.String _code, ItemModel _owner, java.lang.String _uuid)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parameters
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.BooleangetExcludeFromStorefrontDisplay()Generated method - Getter of thePromotionSourceRule.excludeFromStorefrontDisplayattribute defined at extensionpromotionengineservices.PromotionGroupModelgetWebsite()Generated method - Getter of thePromotionSourceRule.websiteattribute defined at extensionpromotionengineservices.voidsetExcludeFromStorefrontDisplay(java.lang.Boolean value)Generated method - Setter ofPromotionSourceRule.excludeFromStorefrontDisplayattribute defined at extensionpromotionengineservices.voidsetWebsite(PromotionGroupModel value)Generated method - Setter ofPromotionSourceRule.websiteattribute defined at extensionpromotionengineservices.-
Methods inherited from class de.hybris.platform.ruleengineservices.model.SourceRuleModel
getActions, getCampaigns, getConditions, setActions, setCampaigns, setConditions
-
Methods inherited from class de.hybris.platform.ruleengineservices.model.AbstractRuleModel
getCode, getDeployments, getDescription, getDescription, getEndDate, getEngineRules, getMaxAllowedRuns, getMessageFired, getMessageFired, getName, getName, getPriority, getRuleGroup, getRulesModules, getSapConditionType, getStackable, getStartDate, getStatus, getUuid, getVersion, setCode, setDescription, setDescription, setEndDate, setEngineRules, setMaxAllowedRuns, setMessageFired, setMessageFired, setName, setName, setPriority, setRuleGroup, setRulesModules, setSapConditionType, setStackable, setStartDate, setStatus, setUuid, setVersion
-
Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner
-
Methods 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 Detail
-
_TYPECODE
public static final java.lang.String _TYPECODE
Generated model type code constant.- See Also:
- Constant Field Values
-
_PROMOTIONGROUP2PROMOTIONSOURCERULERELATION
public static final java.lang.String _PROMOTIONGROUP2PROMOTIONSOURCERULERELATION
Generated relation code constant for relationPromotionGroup2PromotionSourceRuleRelationdefining source attributewebsitein extensionpromotionengineservices.- See Also:
- Constant Field Values
-
EXCLUDEFROMSTOREFRONTDISPLAY
public static final java.lang.String EXCLUDEFROMSTOREFRONTDISPLAY
Generated constant - Attribute key ofPromotionSourceRule.excludeFromStorefrontDisplayattribute defined at extensionpromotionengineservices.- See Also:
- Constant Field Values
-
WEBSITE
public static final java.lang.String WEBSITE
Generated constant - Attribute key ofPromotionSourceRule.websiteattribute defined at extensionpromotionengineservices.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PromotionSourceRuleModel
public PromotionSourceRuleModel()
Generated constructor - Default constructor for generic creation.
-
PromotionSourceRuleModel
public PromotionSourceRuleModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
PromotionSourceRuleModel
@Deprecated(since="4.1.1", forRemoval=true) public PromotionSourceRuleModel(java.lang.String _code)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 - Constructor with all mandatory attributes.- Parameters:
_code- initial attribute declared by typeAbstractRuleat extensionruleengineservices
-
PromotionSourceRuleModel
@Deprecated(since="4.1.1", forRemoval=true) public PromotionSourceRuleModel(java.lang.String _code, ItemModel _owner, java.lang.String _uuid)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:
_code- initial attribute declared by typeAbstractRuleat extensionruleengineservices_owner- initial attribute declared by typeItemat extensioncore_uuid- initial attribute declared by typeAbstractRuleat extensionruleengineservices
-
-
Method Detail
-
getExcludeFromStorefrontDisplay
@Accessor(qualifier="excludeFromStorefrontDisplay", type=GETTER) public java.lang.Boolean getExcludeFromStorefrontDisplay()
Generated method - Getter of thePromotionSourceRule.excludeFromStorefrontDisplayattribute defined at extensionpromotionengineservices.- Returns:
- the excludeFromStorefrontDisplay - flag to indicate whether this promotion will be displayed in the storefront (e.g. product details page etc)
-
getWebsite
@Accessor(qualifier="website", type=GETTER) public PromotionGroupModel getWebsite()
Generated method - Getter of thePromotionSourceRule.websiteattribute defined at extensionpromotionengineservices.- Returns:
- the website
-
setExcludeFromStorefrontDisplay
@Accessor(qualifier="excludeFromStorefrontDisplay", type=SETTER) public void setExcludeFromStorefrontDisplay(java.lang.Boolean value)
Generated method - Setter ofPromotionSourceRule.excludeFromStorefrontDisplayattribute defined at extensionpromotionengineservices.- Parameters:
value- the excludeFromStorefrontDisplay - flag to indicate whether this promotion will be displayed in the storefront (e.g. product details page etc)
-
setWebsite
@Accessor(qualifier="website", type=SETTER) public void setWebsite(PromotionGroupModel value)
Generated method - Setter ofPromotionSourceRule.websiteattribute defined at extensionpromotionengineservices.- Parameters:
value- the website
-
-