Class AbstractRuleModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.ruleengineservices.model.AbstractRuleModel
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
SourceRuleModel
public class AbstractRuleModel extends ItemModel
Generated model class for type AbstractRule first defined at extension ruleengineservices.- 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
_RULEGROUP2ABSTRACTRULE
Generated relation code constant for relationRuleGroup2AbstractRule
defining source attributeruleGroup
in extensionruleengineservices
.static java.lang.String
_TYPECODE
Generated model type code constant.static java.lang.String
CODE
Generated constant - Attribute key ofAbstractRule.code
attribute defined at extensionruleengineservices
.static java.lang.String
DEPLOYMENTS
Generated constant - Attribute key ofAbstractRule.deployments
attribute defined at extensionruleengineservices
.static java.lang.String
DESCRIPTION
Generated constant - Attribute key ofAbstractRule.description
attribute defined at extensionruleengineservices
.static java.lang.String
ENDDATE
Generated constant - Attribute key ofAbstractRule.endDate
attribute defined at extensionruleengineservices
.static java.lang.String
ENGINERULES
Generated constant - Attribute key ofAbstractRule.engineRules
attribute defined at extensionruleengineservices
.static java.lang.String
MAXALLOWEDRUNS
Generated constant - Attribute key ofAbstractRule.maxAllowedRuns
attribute defined at extensionruleengineservices
.static java.lang.String
MESSAGEFIRED
Generated constant - Attribute key ofAbstractRule.messageFired
attribute defined at extensionruleengineservices
.static java.lang.String
NAME
Generated constant - Attribute key ofAbstractRule.name
attribute defined at extensionruleengineservices
.static java.lang.String
PRIORITY
Generated constant - Attribute key ofAbstractRule.priority
attribute defined at extensionruleengineservices
.static java.lang.String
RULEGROUP
Generated constant - Attribute key ofAbstractRule.ruleGroup
attribute defined at extensionruleengineservices
.static java.lang.String
RULESMODULES
Generated constant - Attribute key ofAbstractRule.rulesModules
attribute defined at extensionruleengineservices
.static java.lang.String
SAPCONDITIONTYPE
Generated constant - Attribute key ofAbstractRule.sapConditionType
attribute defined at extensionsaporderexchange
.static java.lang.String
STACKABLE
Generated constant - Attribute key ofAbstractRule.stackable
attribute defined at extensionruleengineservices
.static java.lang.String
STARTDATE
Generated constant - Attribute key ofAbstractRule.startDate
attribute defined at extensionruleengineservices
.static java.lang.String
STATUS
Generated constant - Attribute key ofAbstractRule.status
attribute defined at extensionruleengineservices
.static java.lang.String
UUID
Generated constant - Attribute key ofAbstractRule.uuid
attribute defined at extensionruleengineservices
.static java.lang.String
VERSION
Generated constant - Attribute key ofAbstractRule.version
attribute defined at extensionruleengineservices
.-
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 AbstractRuleModel()
Generated constructor - Default constructor for generic creation.AbstractRuleModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing contextAbstractRuleModel(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 parametersAbstractRuleModel(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 Deprecated Methods Modifier and Type Method Description java.lang.String
getCode()
Generated method - Getter of theAbstractRule.code
attribute defined at extensionruleengineservices
.java.util.List<AbstractRulesModuleModel>
getDeployments()
Deprecated.since 18.08java.lang.String
getDescription()
Generated method - Getter of theAbstractRule.description
attribute defined at extensionruleengineservices
.java.lang.String
getDescription(java.util.Locale loc)
Generated method - Getter of theAbstractRule.description
attribute defined at extensionruleengineservices
.java.util.Date
getEndDate()
Generated method - Getter of theAbstractRule.endDate
attribute defined at extensionruleengineservices
.java.util.Set<AbstractRuleEngineRuleModel>
getEngineRules()
Generated method - Getter of theAbstractRule.engineRules
attribute defined at extensionruleengineservices
.java.lang.Integer
getMaxAllowedRuns()
Generated method - Getter of theAbstractRule.maxAllowedRuns
attribute defined at extensionruleengineservices
.java.lang.String
getMessageFired()
Generated method - Getter of theAbstractRule.messageFired
attribute defined at extensionruleengineservices
.java.lang.String
getMessageFired(java.util.Locale loc)
Generated method - Getter of theAbstractRule.messageFired
attribute defined at extensionruleengineservices
.java.lang.String
getName()
Generated method - Getter of theAbstractRule.name
attribute defined at extensionruleengineservices
.java.lang.String
getName(java.util.Locale loc)
Generated method - Getter of theAbstractRule.name
attribute defined at extensionruleengineservices
.java.lang.Integer
getPriority()
Generated method - Getter of theAbstractRule.priority
attribute defined at extensionruleengineservices
.RuleGroupModel
getRuleGroup()
Generated method - Getter of theAbstractRule.ruleGroup
attribute defined at extensionruleengineservices
.java.util.List<AbstractRulesModuleModel>
getRulesModules()
Generated method - Getter of theAbstractRule.rulesModules
attribute defined at extensionruleengineservices
.java.lang.String
getSapConditionType()
Generated method - Getter of theAbstractRule.sapConditionType
attribute defined at extensionsaporderexchange
.java.lang.Boolean
getStackable()
Deprecated.Since 6.7java.util.Date
getStartDate()
Generated method - Getter of theAbstractRule.startDate
attribute defined at extensionruleengineservices
.RuleStatus
getStatus()
Generated method - Getter of theAbstractRule.status
attribute defined at extensionruleengineservices
.java.lang.String
getUuid()
Generated method - Getter of theAbstractRule.uuid
attribute defined at extensionruleengineservices
.java.lang.Long
getVersion()
Generated method - Getter of theAbstractRule.version
attribute defined at extensionruleengineservices
.void
setCode(java.lang.String value)
Generated method - Initial setter ofAbstractRule.code
attribute defined at extensionruleengineservices
.void
setDescription(java.lang.String value)
Generated method - Setter ofAbstractRule.description
attribute defined at extensionruleengineservices
.void
setDescription(java.lang.String value, java.util.Locale loc)
Generated method - Setter ofAbstractRule.description
attribute defined at extensionruleengineservices
.void
setEndDate(java.util.Date value)
Generated method - Setter ofAbstractRule.endDate
attribute defined at extensionruleengineservices
.void
setEngineRules(java.util.Set<AbstractRuleEngineRuleModel> value)
Generated method - Setter ofAbstractRule.engineRules
attribute defined at extensionruleengineservices
.void
setMaxAllowedRuns(java.lang.Integer value)
Generated method - Setter ofAbstractRule.maxAllowedRuns
attribute defined at extensionruleengineservices
.void
setMessageFired(java.lang.String value)
Generated method - Setter ofAbstractRule.messageFired
attribute defined at extensionruleengineservices
.void
setMessageFired(java.lang.String value, java.util.Locale loc)
Generated method - Setter ofAbstractRule.messageFired
attribute defined at extensionruleengineservices
.void
setName(java.lang.String value)
Generated method - Setter ofAbstractRule.name
attribute defined at extensionruleengineservices
.void
setName(java.lang.String value, java.util.Locale loc)
Generated method - Setter ofAbstractRule.name
attribute defined at extensionruleengineservices
.void
setPriority(java.lang.Integer value)
Generated method - Setter ofAbstractRule.priority
attribute defined at extensionruleengineservices
.void
setRuleGroup(RuleGroupModel value)
Generated method - Setter ofAbstractRule.ruleGroup
attribute defined at extensionruleengineservices
.void
setRulesModules(java.util.List<AbstractRulesModuleModel> value)
Generated method - Setter ofAbstractRule.rulesModules
attribute defined at extensionruleengineservices
.void
setSapConditionType(java.lang.String value)
Generated method - Setter ofAbstractRule.sapConditionType
attribute defined at extensionsaporderexchange
.void
setStackable(java.lang.Boolean value)
Deprecated.Since 6.7void
setStartDate(java.util.Date value)
Generated method - Setter ofAbstractRule.startDate
attribute defined at extensionruleengineservices
.void
setStatus(RuleStatus value)
Generated method - Setter ofAbstractRule.status
attribute defined at extensionruleengineservices
.void
setUuid(java.lang.String value)
Generated method - Initial setter ofAbstractRule.uuid
attribute defined at extensionruleengineservices
.void
setVersion(java.lang.Long value)
Generated method - Setter ofAbstractRule.version
attribute defined at extensionruleengineservices
.-
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
-
_RULEGROUP2ABSTRACTRULE
public static final java.lang.String _RULEGROUP2ABSTRACTRULE
Generated relation code constant for relationRuleGroup2AbstractRule
defining source attributeruleGroup
in extensionruleengineservices
.- See Also:
- Constant Field Values
-
UUID
public static final java.lang.String UUID
Generated constant - Attribute key ofAbstractRule.uuid
attribute defined at extensionruleengineservices
.- See Also:
- Constant Field Values
-
CODE
public static final java.lang.String CODE
Generated constant - Attribute key ofAbstractRule.code
attribute defined at extensionruleengineservices
.- See Also:
- Constant Field Values
-
NAME
public static final java.lang.String NAME
Generated constant - Attribute key ofAbstractRule.name
attribute defined at extensionruleengineservices
.- See Also:
- Constant Field Values
-
DESCRIPTION
public static final java.lang.String DESCRIPTION
Generated constant - Attribute key ofAbstractRule.description
attribute defined at extensionruleengineservices
.- See Also:
- Constant Field Values
-
STARTDATE
public static final java.lang.String STARTDATE
Generated constant - Attribute key ofAbstractRule.startDate
attribute defined at extensionruleengineservices
.- See Also:
- Constant Field Values
-
ENDDATE
public static final java.lang.String ENDDATE
Generated constant - Attribute key ofAbstractRule.endDate
attribute defined at extensionruleengineservices
.- See Also:
- Constant Field Values
-
PRIORITY
public static final java.lang.String PRIORITY
Generated constant - Attribute key ofAbstractRule.priority
attribute defined at extensionruleengineservices
.- See Also:
- Constant Field Values
-
MAXALLOWEDRUNS
public static final java.lang.String MAXALLOWEDRUNS
Generated constant - Attribute key ofAbstractRule.maxAllowedRuns
attribute defined at extensionruleengineservices
.- See Also:
- Constant Field Values
-
STACKABLE
public static final java.lang.String STACKABLE
Generated constant - Attribute key ofAbstractRule.stackable
attribute defined at extensionruleengineservices
.- See Also:
- Constant Field Values
-
STATUS
public static final java.lang.String STATUS
Generated constant - Attribute key ofAbstractRule.status
attribute defined at extensionruleengineservices
.- See Also:
- Constant Field Values
-
VERSION
public static final java.lang.String VERSION
Generated constant - Attribute key ofAbstractRule.version
attribute defined at extensionruleengineservices
.- See Also:
- Constant Field Values
-
MESSAGEFIRED
public static final java.lang.String MESSAGEFIRED
Generated constant - Attribute key ofAbstractRule.messageFired
attribute defined at extensionruleengineservices
.- See Also:
- Constant Field Values
-
DEPLOYMENTS
public static final java.lang.String DEPLOYMENTS
Generated constant - Attribute key ofAbstractRule.deployments
attribute defined at extensionruleengineservices
.- See Also:
- Constant Field Values
-
RULESMODULES
public static final java.lang.String RULESMODULES
Generated constant - Attribute key ofAbstractRule.rulesModules
attribute defined at extensionruleengineservices
.- See Also:
- Constant Field Values
-
RULEGROUP
public static final java.lang.String RULEGROUP
Generated constant - Attribute key ofAbstractRule.ruleGroup
attribute defined at extensionruleengineservices
.- See Also:
- Constant Field Values
-
ENGINERULES
public static final java.lang.String ENGINERULES
Generated constant - Attribute key ofAbstractRule.engineRules
attribute defined at extensionruleengineservices
.- See Also:
- Constant Field Values
-
SAPCONDITIONTYPE
public static final java.lang.String SAPCONDITIONTYPE
Generated constant - Attribute key ofAbstractRule.sapConditionType
attribute defined at extensionsaporderexchange
.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AbstractRuleModel
public AbstractRuleModel()
Generated constructor - Default constructor for generic creation.
-
AbstractRuleModel
public AbstractRuleModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx
- the model context to be injected, must not be null
-
AbstractRuleModel
@Deprecated(since="4.1.1", forRemoval=true) public AbstractRuleModel(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 typeAbstractRule
at extensionruleengineservices
-
AbstractRuleModel
@Deprecated(since="4.1.1", forRemoval=true) public AbstractRuleModel(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 typeAbstractRule
at extensionruleengineservices
_owner
- initial attribute declared by typeItem
at extensioncore
_uuid
- initial attribute declared by typeAbstractRule
at extensionruleengineservices
-
-
Method Detail
-
getCode
@Accessor(qualifier="code", type=GETTER) public java.lang.String getCode()
Generated method - Getter of theAbstractRule.code
attribute defined at extensionruleengineservices
.- Returns:
- the code - Rule code that defines the rule uniquely, cannot be changed after the rule is created
-
getDeployments
@Deprecated @Accessor(qualifier="deployments", type=GETTER) public java.util.List<AbstractRulesModuleModel> getDeployments()
Deprecated.since 18.08Generated method - Getter of theAbstractRule.deployments
dynamic attribute defined at extensionruleengineservices
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the deployments - List of the current deployments.
-
getDescription
@Accessor(qualifier="description", type=GETTER) public java.lang.String getDescription()
Generated method - Getter of theAbstractRule.description
attribute defined at extensionruleengineservices
.- Returns:
- the description - Rule description
-
getDescription
@Accessor(qualifier="description", type=GETTER) public java.lang.String getDescription(java.util.Locale loc)
Generated method - Getter of theAbstractRule.description
attribute defined at extensionruleengineservices
.- Parameters:
loc
- the value localization key- Returns:
- the description - Rule description
- Throws:
java.lang.IllegalArgumentException
- if localization key cannot be mapped to data language
-
getEndDate
@Accessor(qualifier="endDate", type=GETTER) public java.util.Date getEndDate()
Generated method - Getter of theAbstractRule.endDate
attribute defined at extensionruleengineservices
.- Returns:
- the endDate - Date on which this promotion stops being available, if not set the promotion will not be available.
-
getEngineRules
@Accessor(qualifier="engineRules", type=GETTER) public java.util.Set<AbstractRuleEngineRuleModel> getEngineRules()
Generated method - Getter of theAbstractRule.engineRules
attribute defined at extensionruleengineservices
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the engineRules
-
getMaxAllowedRuns
@Accessor(qualifier="maxAllowedRuns", type=GETTER) public java.lang.Integer getMaxAllowedRuns()
Generated method - Getter of theAbstractRule.maxAllowedRuns
attribute defined at extensionruleengineservices
.- Returns:
- the maxAllowedRuns - Number of times rule can be applied
-
getMessageFired
@Accessor(qualifier="messageFired", type=GETTER) public java.lang.String getMessageFired()
Generated method - Getter of theAbstractRule.messageFired
attribute defined at extensionruleengineservices
.- Returns:
- the messageFired - Message for fired rule.
-
getMessageFired
@Accessor(qualifier="messageFired", type=GETTER) public java.lang.String getMessageFired(java.util.Locale loc)
Generated method - Getter of theAbstractRule.messageFired
attribute defined at extensionruleengineservices
.- Parameters:
loc
- the value localization key- Returns:
- the messageFired - Message for fired rule.
- Throws:
java.lang.IllegalArgumentException
- if localization key cannot be mapped to data language
-
getName
@Accessor(qualifier="name", type=GETTER) public java.lang.String getName()
Generated method - Getter of theAbstractRule.name
attribute defined at extensionruleengineservices
.- Returns:
- the name - Rule name
-
getName
@Accessor(qualifier="name", type=GETTER) public java.lang.String getName(java.util.Locale loc)
Generated method - Getter of theAbstractRule.name
attribute defined at extensionruleengineservices
.- Parameters:
loc
- the value localization key- Returns:
- the name - Rule name
- Throws:
java.lang.IllegalArgumentException
- if localization key cannot be mapped to data language
-
getPriority
@Accessor(qualifier="priority", type=GETTER) public java.lang.Integer getPriority()
Generated method - Getter of theAbstractRule.priority
attribute defined at extensionruleengineservices
.- Returns:
- the priority - priority (higher priority gets applied first)
-
getRuleGroup
@Accessor(qualifier="ruleGroup", type=GETTER) public RuleGroupModel getRuleGroup()
Generated method - Getter of theAbstractRule.ruleGroup
attribute defined at extensionruleengineservices
.- Returns:
- the ruleGroup
-
getRulesModules
@Accessor(qualifier="rulesModules", type=GETTER) public java.util.List<AbstractRulesModuleModel> getRulesModules()
Generated method - Getter of theAbstractRule.rulesModules
attribute defined at extensionruleengineservices
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the rulesModules - List of the current deployments.
-
getSapConditionType
@Accessor(qualifier="sapConditionType", type=GETTER) public java.lang.String getSapConditionType()
Generated method - Getter of theAbstractRule.sapConditionType
attribute defined at extensionsaporderexchange
.- Returns:
- the sapConditionType - SAP Condition Type
-
getStackable
@Deprecated @Accessor(qualifier="stackable", type=GETTER) public java.lang.Boolean getStackable()
Deprecated.Since 6.7Generated method - Getter of theAbstractRule.stackable
attribute defined at extensionruleengineservices
.- Returns:
- the stackable - whether the rule is stackable
-
getStartDate
@Accessor(qualifier="startDate", type=GETTER) public java.util.Date getStartDate()
Generated method - Getter of theAbstractRule.startDate
attribute defined at extensionruleengineservices
.- Returns:
- the startDate - Date on which this promotion becomes available, if not set the promotion will not be available.
-
getStatus
@Accessor(qualifier="status", type=GETTER) public RuleStatus getStatus()
Generated method - Getter of theAbstractRule.status
attribute defined at extensionruleengineservices
.- Returns:
- the status - Status of a rule
-
getUuid
@Accessor(qualifier="uuid", type=GETTER) public java.lang.String getUuid()
Generated method - Getter of theAbstractRule.uuid
attribute defined at extensionruleengineservices
.- Returns:
- the uuid - Rule uuid that defines the rule uniquely, cannot be changed after the rule is created
-
getVersion
@Accessor(qualifier="version", type=GETTER) public java.lang.Long getVersion()
Generated method - Getter of theAbstractRule.version
attribute defined at extensionruleengineservices
.- Returns:
- the version - rule version
-
setCode
@Accessor(qualifier="code", type=SETTER) public void setCode(java.lang.String value)
Generated method - Initial setter ofAbstractRule.code
attribute defined at extensionruleengineservices
. Can only be used at creation of model - before first save.- Parameters:
value
- the code - Rule code that defines the rule uniquely, cannot be changed after the rule is created
-
setDescription
@Accessor(qualifier="description", type=SETTER) public void setDescription(java.lang.String value)
Generated method - Setter ofAbstractRule.description
attribute defined at extensionruleengineservices
.- Parameters:
value
- the description - Rule description
-
setDescription
@Accessor(qualifier="description", type=SETTER) public void setDescription(java.lang.String value, java.util.Locale loc)
Generated method - Setter ofAbstractRule.description
attribute defined at extensionruleengineservices
.- Parameters:
value
- the description - Rule descriptionloc
- the value localization key- Throws:
java.lang.IllegalArgumentException
- if localization key cannot be mapped to data language
-
setEndDate
@Accessor(qualifier="endDate", type=SETTER) public void setEndDate(java.util.Date value)
Generated method - Setter ofAbstractRule.endDate
attribute defined at extensionruleengineservices
.- Parameters:
value
- the endDate - Date on which this promotion stops being available, if not set the promotion will not be available.
-
setEngineRules
@Accessor(qualifier="engineRules", type=SETTER) public void setEngineRules(java.util.Set<AbstractRuleEngineRuleModel> value)
Generated method - Setter ofAbstractRule.engineRules
attribute defined at extensionruleengineservices
.- Parameters:
value
- the engineRules
-
setMaxAllowedRuns
@Accessor(qualifier="maxAllowedRuns", type=SETTER) public void setMaxAllowedRuns(java.lang.Integer value)
Generated method - Setter ofAbstractRule.maxAllowedRuns
attribute defined at extensionruleengineservices
.- Parameters:
value
- the maxAllowedRuns - Number of times rule can be applied
-
setMessageFired
@Accessor(qualifier="messageFired", type=SETTER) public void setMessageFired(java.lang.String value)
Generated method - Setter ofAbstractRule.messageFired
attribute defined at extensionruleengineservices
.- Parameters:
value
- the messageFired - Message for fired rule.
-
setMessageFired
@Accessor(qualifier="messageFired", type=SETTER) public void setMessageFired(java.lang.String value, java.util.Locale loc)
Generated method - Setter ofAbstractRule.messageFired
attribute defined at extensionruleengineservices
.- Parameters:
value
- the messageFired - Message for fired rule.loc
- the value localization key- Throws:
java.lang.IllegalArgumentException
- if localization key cannot be mapped to data language
-
setName
@Accessor(qualifier="name", type=SETTER) public void setName(java.lang.String value)
Generated method - Setter ofAbstractRule.name
attribute defined at extensionruleengineservices
.- Parameters:
value
- the name - Rule name
-
setName
@Accessor(qualifier="name", type=SETTER) public void setName(java.lang.String value, java.util.Locale loc)
Generated method - Setter ofAbstractRule.name
attribute defined at extensionruleengineservices
.- Parameters:
value
- the name - Rule nameloc
- the value localization key- Throws:
java.lang.IllegalArgumentException
- if localization key cannot be mapped to data language
-
setPriority
@Accessor(qualifier="priority", type=SETTER) public void setPriority(java.lang.Integer value)
Generated method - Setter ofAbstractRule.priority
attribute defined at extensionruleengineservices
.- Parameters:
value
- the priority - priority (higher priority gets applied first)
-
setRuleGroup
@Accessor(qualifier="ruleGroup", type=SETTER) public void setRuleGroup(RuleGroupModel value)
Generated method - Setter ofAbstractRule.ruleGroup
attribute defined at extensionruleengineservices
.- Parameters:
value
- the ruleGroup
-
setRulesModules
@Accessor(qualifier="rulesModules", type=SETTER) public void setRulesModules(java.util.List<AbstractRulesModuleModel> value)
Generated method - Setter ofAbstractRule.rulesModules
attribute defined at extensionruleengineservices
.- Parameters:
value
- the rulesModules - List of the current deployments.
-
setSapConditionType
@Accessor(qualifier="sapConditionType", type=SETTER) public void setSapConditionType(java.lang.String value)
Generated method - Setter ofAbstractRule.sapConditionType
attribute defined at extensionsaporderexchange
.- Parameters:
value
- the sapConditionType - SAP Condition Type
-
setStackable
@Deprecated @Accessor(qualifier="stackable", type=SETTER) public void setStackable(java.lang.Boolean value)
Deprecated.Since 6.7Generated method - Setter ofAbstractRule.stackable
attribute defined at extensionruleengineservices
.- Parameters:
value
- the stackable - whether the rule is stackable
-
setStartDate
@Accessor(qualifier="startDate", type=SETTER) public void setStartDate(java.util.Date value)
Generated method - Setter ofAbstractRule.startDate
attribute defined at extensionruleengineservices
.- Parameters:
value
- the startDate - Date on which this promotion becomes available, if not set the promotion will not be available.
-
setStatus
@Accessor(qualifier="status", type=SETTER) public void setStatus(RuleStatus value)
Generated method - Setter ofAbstractRule.status
attribute defined at extensionruleengineservices
.- Parameters:
value
- the status - Status of a rule
-
setUuid
@Accessor(qualifier="uuid", type=SETTER) public void setUuid(java.lang.String value)
Generated method - Initial setter ofAbstractRule.uuid
attribute defined at extensionruleengineservices
. Can only be used at creation of model - before first save.- Parameters:
value
- the uuid - Rule uuid that defines the rule uniquely, cannot be changed after the rule is created
-
-