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:
Serializable
Generated model class for type PromotionSourceRule first defined at extension promotionengineservices.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated relation code constant for relationPromotionGroup2PromotionSourceRuleRelationdefining source attributewebsitein extensionpromotionengineservices.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofPromotionSourceRule.excludeFromStorefrontDisplayattribute defined at extensionpromotionengineservices.static final StringGenerated constant - Attribute key ofPromotionSourceRule.websiteattribute defined at extensionpromotionengineservices.Fields inherited from class de.hybris.platform.ruleengineservices.model.SourceRuleModel
_CAMPAIGN2SOURCERULERELATION, ACTIONS, CAMPAIGNS, CONDITIONSFields inherited from class de.hybris.platform.ruleengineservices.model.AbstractRuleModel
_RULEGROUP2ABSTRACTRULE, CODE, DESCRIPTION, ENDDATE, ENGINERULES, MAXALLOWEDRUNS, MESSAGEFIRED, NAME, PRIORITY, RULEGROUP, RULESMODULES, STACKABLE, STARTDATE, STATUS, UUID, VERSIONFields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated constructor - Default constructor for generic creation.Generated constructor - Default constructor for creation with existing contextPromotionSourceRuleModel(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(String _code, ItemModel _owner, 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
Modifier and TypeMethodDescriptionGenerated method - Getter of thePromotionSourceRule.excludeFromStorefrontDisplayattribute defined at extensionpromotionengineservices.Generated method - Getter of thePromotionSourceRule.websiteattribute defined at extensionpromotionengineservices.voidGenerated 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, setConditionsMethods inherited from class de.hybris.platform.ruleengineservices.model.AbstractRuleModel
getCode, getDescription, getDescription, getEndDate, getEngineRules, getMaxAllowedRuns, getMessageFired, getMessageFired, getName, getName, getPriority, getRuleGroup, getRulesModules, getStackable, getStartDate, getStatus, getUuid, getVersion, setCode, setDescription, setDescription, setEndDate, setEngineRules, setMaxAllowedRuns, setMessageFired, setMessageFired, setName, setName, setPriority, setRuleGroup, setRulesModules, setStackable, setStartDate, setStatus, setUuid, setVersionMethods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerMethods 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 Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
_PROMOTIONGROUP2PROMOTIONSOURCERULERELATION
Generated relation code constant for relationPromotionGroup2PromotionSourceRuleRelationdefining source attributewebsitein extensionpromotionengineservices.- See Also:
-
EXCLUDEFROMSTOREFRONTDISPLAY
Generated constant - Attribute key ofPromotionSourceRule.excludeFromStorefrontDisplayattribute defined at extensionpromotionengineservices.- See Also:
-
WEBSITE
Generated constant - Attribute key ofPromotionSourceRule.websiteattribute defined at extensionpromotionengineservices.- See Also:
-
-
Constructor Details
-
PromotionSourceRuleModel
public PromotionSourceRuleModel()Generated constructor - Default constructor for generic creation. -
PromotionSourceRuleModel
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
PromotionSourceRuleModel
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(String _code, ItemModel _owner, 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 Details
-
getExcludeFromStorefrontDisplay
@Accessor(qualifier="excludeFromStorefrontDisplay", type=GETTER) public 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
Generated method - Getter of thePromotionSourceRule.websiteattribute defined at extensionpromotionengineservices.- Returns:
- the website
-
setExcludeFromStorefrontDisplay
@Accessor(qualifier="excludeFromStorefrontDisplay", type=SETTER) public void setExcludeFromStorefrontDisplay(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
Generated method - Setter ofPromotionSourceRule.websiteattribute defined at extensionpromotionengineservices.- Parameters:
value- the website
-