public abstract class GeneratedAbstractRule extends GenericItem
AbstractRule.GenericItem.GenericItemImplLocalizableItem.LocalizableItemImplExtensibleItem.ExtensibleItemImplItem.AttributeFilter, Item.AttributeMode, Item.CachedGetter, Item.CachedSetter, Item.ItemAttributeMap, Item.ItemConstraint, Item.ItemImpl, Item.JaloCachedComputationException| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CODE
Qualifier of the
AbstractRule.code attribute |
protected static java.util.Map<java.lang.String,Item.AttributeMode> |
DEFAULT_INITIAL_ATTRIBUTES |
static java.lang.String |
DESCRIPTION
Qualifier of the
AbstractRule.description attribute |
static java.lang.String |
ENDDATE
Qualifier of the
AbstractRule.endDate attribute |
static java.lang.String |
ENGINERULES
Qualifier of the
AbstractRule.engineRules attribute |
protected static OneToManyHandler<AbstractRuleEngineRule> |
ENGINERULESHANDLER
OneToManyHandler for handling 1:n ENGINERULES's relation attributes from 'many' side. |
static java.lang.String |
MAXALLOWEDRUNS
Qualifier of the
AbstractRule.maxAllowedRuns attribute |
static java.lang.String |
MESSAGEFIRED
Qualifier of the
AbstractRule.messageFired attribute |
static java.lang.String |
NAME
Qualifier of the
AbstractRule.name attribute |
static java.lang.String |
PRIORITY
Qualifier of the
AbstractRule.priority attribute |
static java.lang.String |
RULEGROUP
Qualifier of the
AbstractRule.ruleGroup attribute |
protected static BidirectionalOneToManyHandler<GeneratedAbstractRule> |
RULEGROUPHANDLER
BidirectionalOneToManyHandler for handling 1:n RULEGROUP's relation attributes from 'one' side. |
static java.lang.String |
RULESMODULES
Qualifier of the
AbstractRule.rulesModules attribute |
static java.lang.String |
STACKABLE
Qualifier of the
AbstractRule.stackable attribute |
static java.lang.String |
STARTDATE
Qualifier of the
AbstractRule.startDate attribute |
static java.lang.String |
STATUS
Qualifier of the
AbstractRule.status attribute |
static java.lang.String |
UUID
Qualifier of the
AbstractRule.uuid attribute |
static java.lang.String |
VERSION
Qualifier of the
AbstractRule.version attribute |
LANGUAGE_FALLBACK_ENABLED_CREATION_TIME_INTERNAL, _MODIFIED_TIME_INTERNAL, accessorLog, CREATION_TIME, DISABLE_ATTRIBUTE_CHECK, DISABLE_ITEMCHECK_BEFORE_REMOVABLE, EVEN, FEATURE_ACCESSMAP_QUALIFIER, INITIAL_CREATION_FLAG, isJaloOnly, MODIFIED_TIME, NEGATIVE, NOT_FOUND, OWNER, PK, POSITIVE, SAVE_FROM_SERVICE_LAYER, staticTransientObjects, TYPEimpl, tenant| Constructor and Description |
|---|
GeneratedAbstractRule() |
| Modifier and Type | Method and Description |
|---|---|
void |
addToEngineRules(AbstractRuleEngineRule value)
Generated method - Adds
value to engineRules. |
void |
addToEngineRules(SessionContext ctx,
AbstractRuleEngineRule value)
Generated method - Adds
value to engineRules. |
protected Item |
createItem(SessionContext ctx,
ComposedType type,
Item.ItemAttributeMap allAttributes)
Has to be implemented for each concrete subtype of item.
|
java.util.Map<Language,java.lang.String> |
getAllDescription()
Generated method - Getter of the
AbstractRule.description attribute. |
java.util.Map<Language,java.lang.String> |
getAllDescription(SessionContext ctx)
Generated method - Getter of the
AbstractRule.description attribute. |
java.util.Map<Language,java.lang.String> |
getAllMessageFired()
Generated method - Getter of the
AbstractRule.messageFired attribute. |
java.util.Map<Language,java.lang.String> |
getAllMessageFired(SessionContext ctx)
Generated method - Getter of the
AbstractRule.messageFired attribute. |
java.util.Map<Language,java.lang.String> |
getAllName()
Generated method - Getter of the
AbstractRule.name attribute. |
java.util.Map<Language,java.lang.String> |
getAllName(SessionContext ctx)
Generated method - Getter of the
AbstractRule.name attribute. |
java.lang.String |
getCode()
Generated method - Getter of the
AbstractRule.code attribute. |
java.lang.String |
getCode(SessionContext ctx)
Generated method - Getter of the
AbstractRule.code attribute. |
protected java.util.Map<java.lang.String,Item.AttributeMode> |
getDefaultAttributeModes() |
java.lang.String |
getDescription()
Generated method - Getter of the
AbstractRule.description attribute. |
java.lang.String |
getDescription(SessionContext ctx)
Generated method - Getter of the
AbstractRule.description attribute. |
java.util.Date |
getEndDate()
Generated method - Getter of the
AbstractRule.endDate attribute. |
java.util.Date |
getEndDate(SessionContext ctx)
Generated method - Getter of the
AbstractRule.endDate attribute. |
java.util.Set<AbstractRuleEngineRule> |
getEngineRules()
Generated method - Getter of the
AbstractRule.engineRules attribute. |
java.util.Set<AbstractRuleEngineRule> |
getEngineRules(SessionContext ctx)
Generated method - Getter of the
AbstractRule.engineRules attribute. |
java.lang.Integer |
getMaxAllowedRuns()
Generated method - Getter of the
AbstractRule.maxAllowedRuns attribute. |
java.lang.Integer |
getMaxAllowedRuns(SessionContext ctx)
Generated method - Getter of the
AbstractRule.maxAllowedRuns attribute. |
int |
getMaxAllowedRunsAsPrimitive()
Generated method - Getter of the
AbstractRule.maxAllowedRuns attribute. |
int |
getMaxAllowedRunsAsPrimitive(SessionContext ctx)
Generated method - Getter of the
AbstractRule.maxAllowedRuns attribute. |
java.lang.String |
getMessageFired()
Generated method - Getter of the
AbstractRule.messageFired attribute. |
java.lang.String |
getMessageFired(SessionContext ctx)
Generated method - Getter of the
AbstractRule.messageFired attribute. |
java.lang.String |
getName()
Generated method - Getter of the
AbstractRule.name attribute. |
java.lang.String |
getName(SessionContext ctx)
Generated method - Getter of the
AbstractRule.name attribute. |
java.lang.Integer |
getPriority()
Generated method - Getter of the
AbstractRule.priority attribute. |
java.lang.Integer |
getPriority(SessionContext ctx)
Generated method - Getter of the
AbstractRule.priority attribute. |
int |
getPriorityAsPrimitive()
Generated method - Getter of the
AbstractRule.priority attribute. |
int |
getPriorityAsPrimitive(SessionContext ctx)
Generated method - Getter of the
AbstractRule.priority attribute. |
RuleGroup |
getRuleGroup()
Generated method - Getter of the
AbstractRule.ruleGroup attribute. |
RuleGroup |
getRuleGroup(SessionContext ctx)
Generated method - Getter of the
AbstractRule.ruleGroup attribute. |
java.util.List<AbstractRulesModule> |
getRulesModules()
Generated method - Getter of the
AbstractRule.rulesModules attribute. |
java.util.List<AbstractRulesModule> |
getRulesModules(SessionContext ctx)
Generated method - Getter of the
AbstractRule.rulesModules attribute. |
java.util.Date |
getStartDate()
Generated method - Getter of the
AbstractRule.startDate attribute. |
java.util.Date |
getStartDate(SessionContext ctx)
Generated method - Getter of the
AbstractRule.startDate attribute. |
EnumerationValue |
getStatus()
Generated method - Getter of the
AbstractRule.status attribute. |
EnumerationValue |
getStatus(SessionContext ctx)
Generated method - Getter of the
AbstractRule.status attribute. |
java.lang.String |
getUuid()
Generated method - Getter of the
AbstractRule.uuid attribute. |
java.lang.String |
getUuid(SessionContext ctx)
Generated method - Getter of the
AbstractRule.uuid attribute. |
java.lang.Long |
getVersion()
Generated method - Getter of the
AbstractRule.version attribute. |
java.lang.Long |
getVersion(SessionContext ctx)
Generated method - Getter of the
AbstractRule.version attribute. |
long |
getVersionAsPrimitive()
Generated method - Getter of the
AbstractRule.version attribute. |
long |
getVersionAsPrimitive(SessionContext ctx)
Generated method - Getter of the
AbstractRule.version attribute. |
java.lang.Boolean |
isStackable()
Deprecated.
Since 6.7
|
java.lang.Boolean |
isStackable(SessionContext ctx)
Deprecated.
Since 6.7
|
boolean |
isStackableAsPrimitive()
Deprecated.
Since 6.7
|
boolean |
isStackableAsPrimitive(SessionContext ctx)
Deprecated.
Since 6.7
|
void |
removeFromEngineRules(AbstractRuleEngineRule value)
Generated method - Removes
value from engineRules. |
void |
removeFromEngineRules(SessionContext ctx,
AbstractRuleEngineRule value)
Generated method - Removes
value from engineRules. |
void |
setAllDescription(java.util.Map<Language,java.lang.String> value)
Generated method - Setter of the
AbstractRule.description attribute. |
void |
setAllDescription(SessionContext ctx,
java.util.Map<Language,java.lang.String> value)
Generated method - Setter of the
AbstractRule.description attribute. |
void |
setAllMessageFired(java.util.Map<Language,java.lang.String> value)
Generated method - Setter of the
AbstractRule.messageFired attribute. |
void |
setAllMessageFired(SessionContext ctx,
java.util.Map<Language,java.lang.String> value)
Generated method - Setter of the
AbstractRule.messageFired attribute. |
void |
setAllName(java.util.Map<Language,java.lang.String> value)
Generated method - Setter of the
AbstractRule.name attribute. |
void |
setAllName(SessionContext ctx,
java.util.Map<Language,java.lang.String> value)
Generated method - Setter of the
AbstractRule.name attribute. |
protected void |
setCode(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
AbstractRule.code attribute. |
protected void |
setCode(java.lang.String value)
Generated method - Setter of the
AbstractRule.code attribute. |
void |
setDescription(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
AbstractRule.description attribute. |
void |
setDescription(java.lang.String value)
Generated method - Setter of the
AbstractRule.description attribute. |
void |
setEndDate(java.util.Date value)
Generated method - Setter of the
AbstractRule.endDate attribute. |
void |
setEndDate(SessionContext ctx,
java.util.Date value)
Generated method - Setter of the
AbstractRule.endDate attribute. |
void |
setEngineRules(SessionContext ctx,
java.util.Set<AbstractRuleEngineRule> value)
Generated method - Setter of the
AbstractRule.engineRules attribute. |
void |
setEngineRules(java.util.Set<AbstractRuleEngineRule> value)
Generated method - Setter of the
AbstractRule.engineRules attribute. |
void |
setMaxAllowedRuns(int value)
Generated method - Setter of the
AbstractRule.maxAllowedRuns attribute. |
void |
setMaxAllowedRuns(java.lang.Integer value)
Generated method - Setter of the
AbstractRule.maxAllowedRuns attribute. |
void |
setMaxAllowedRuns(SessionContext ctx,
int value)
Generated method - Setter of the
AbstractRule.maxAllowedRuns attribute. |
void |
setMaxAllowedRuns(SessionContext ctx,
java.lang.Integer value)
Generated method - Setter of the
AbstractRule.maxAllowedRuns attribute. |
void |
setMessageFired(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
AbstractRule.messageFired attribute. |
void |
setMessageFired(java.lang.String value)
Generated method - Setter of the
AbstractRule.messageFired attribute. |
void |
setName(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
AbstractRule.name attribute. |
void |
setName(java.lang.String value)
Generated method - Setter of the
AbstractRule.name attribute. |
void |
setPriority(int value)
Generated method - Setter of the
AbstractRule.priority attribute. |
void |
setPriority(java.lang.Integer value)
Generated method - Setter of the
AbstractRule.priority attribute. |
void |
setPriority(SessionContext ctx,
int value)
Generated method - Setter of the
AbstractRule.priority attribute. |
void |
setPriority(SessionContext ctx,
java.lang.Integer value)
Generated method - Setter of the
AbstractRule.priority attribute. |
void |
setRuleGroup(RuleGroup value)
Generated method - Setter of the
AbstractRule.ruleGroup attribute. |
void |
setRuleGroup(SessionContext ctx,
RuleGroup value)
Generated method - Setter of the
AbstractRule.ruleGroup attribute. |
void |
setRulesModules(java.util.List<AbstractRulesModule> value)
Generated method - Setter of the
AbstractRule.rulesModules attribute. |
void |
setRulesModules(SessionContext ctx,
java.util.List<AbstractRulesModule> value)
Generated method - Setter of the
AbstractRule.rulesModules attribute. |
void |
setStackable(boolean value)
Deprecated.
Since 6.7
|
void |
setStackable(java.lang.Boolean value)
Deprecated.
Since 6.7
|
void |
setStackable(SessionContext ctx,
boolean value)
Deprecated.
Since 6.7
|
void |
setStackable(SessionContext ctx,
java.lang.Boolean value)
Deprecated.
Since 6.7
|
void |
setStartDate(java.util.Date value)
Generated method - Setter of the
AbstractRule.startDate attribute. |
void |
setStartDate(SessionContext ctx,
java.util.Date value)
Generated method - Setter of the
AbstractRule.startDate attribute. |
void |
setStatus(EnumerationValue value)
Generated method - Setter of the
AbstractRule.status attribute. |
void |
setStatus(SessionContext ctx,
EnumerationValue value)
Generated method - Setter of the
AbstractRule.status attribute. |
protected void |
setUuid(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
AbstractRule.uuid attribute. |
protected void |
setUuid(java.lang.String value)
Generated method - Setter of the
AbstractRule.uuid attribute. |
void |
setVersion(long value)
Generated method - Setter of the
AbstractRule.version attribute. |
void |
setVersion(java.lang.Long value)
Generated method - Setter of the
AbstractRule.version attribute. |
void |
setVersion(SessionContext ctx,
long value)
Generated method - Setter of the
AbstractRule.version attribute. |
void |
setVersion(SessionContext ctx,
java.lang.Long value)
Generated method - Setter of the
AbstractRule.version attribute. |
getInitialProperties, getNonInitialAttributesgetAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllValuesSessionContext, getLocalizedProperty, getLocalizedProperty, getLocalizedPropertyInternal, getLocalizedPropertyNames, getLocalizedPropertyNames, hasLanguage, isEmptyValue, isFallbackEnabled, removeLocalizedProperty, removeLocalizedProperty, setAllLocalizedProperties, setAllLocalizedProperties, setLocalizedProperty, setLocalizedPropertycreateNonClassAccessor, getAllProperties, getAllProperties, getImplementation, getProperty, getProperty, getPropertyNames, getPropertyNames, removeProperty, removeProperty, setAllProperties, setAllProperties, setProperty, setPropertyaddLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addNegativePermission, addPermission, addPositivePermission, assureExtensionsLoaded, changeTypeAfterCreation, checkConstraint, checkItemPermission, checkMandatoryAttribute, checkMandatoryAttribute, checkPermission, checkPermission, checkRemovable, clearPermission, compareTo, ctx, doAfterRemove, doBeforeRemove, equals, getAccessorFor, getAllAttributes, getAllAttributes, getAllAttributes, getAllAttributes, getAllAttributesInternal, getAllLinkedItems, getAndCheckCacheBoundItem, getAttribute, getAttribute, getCacheBoundItem, getComposedType, getComposedTypePK, getCreationTime, getCurrentlyRemovingCount, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItemsCount, getLinkedItemsCount, getLinkedItemsCount, getModificationTime, getNegativePermissions, getOwner, getPermissionMap, getPermissions, getPersistenceVersion, getPK, getPositivePermissions, getRestrictedPrincipals, getSession, getSyncObject, getTenant, getTransientObject, getTransientObjectMap, hashCode, hasRegisteredClassAccessorFor, internal_registerClassAccessorFor, internal_registerNonClassAccessorFor, invalidateLocalCaches, isAlive, isCacheBound, isCurrentlyRemoving, isCurrentlyRemoving, isEmptyRelationValue, isInCreate, isInstanceOf, isItemCheckBeforeRemoveableDisabled, isMarkModifiedDisabled, isRelationLocalizationFallbackEnabled, newInstance, notifyExtensionsAfterItemCreation, notifyExtensionsBeforeItemCreation, notifyItemRemoval, notifyManagerAboutItemRemoval, readResolve, registerAccessFor, registerAccessFor, registerJaloInvalidationListeners, remove, remove, removeItemCollection, removeItemCollection, removeLinkedItems, removeLinkedItems, removeLinkedItems, removeLinkedItems, removeLinks, removePartOfItems, removePartOfItems, setAllAttributes, setAllAttributes, setAllAttributesInternal, setAllLinkedItems, setAllLinkedItems, setAllLinkedItems, setAllLinkedItems, setAttribute, setAttribute, setAttributeFromString, setAttributeFromString, setCacheBound, setComposedType, setCreationTime, setImplementation, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setModificationTime, setNonInitialAttributes, setOwner, setPermissionsByMap, setTransientObject, setUseTA, toString, useTA, writeReplacesetTenantpublic static final java.lang.String UUID
AbstractRule.uuid attributepublic static final java.lang.String CODE
AbstractRule.code attributepublic static final java.lang.String NAME
AbstractRule.name attributepublic static final java.lang.String DESCRIPTION
AbstractRule.description attributepublic static final java.lang.String STARTDATE
AbstractRule.startDate attributepublic static final java.lang.String ENDDATE
AbstractRule.endDate attributepublic static final java.lang.String PRIORITY
AbstractRule.priority attributepublic static final java.lang.String MAXALLOWEDRUNS
AbstractRule.maxAllowedRuns attributepublic static final java.lang.String STACKABLE
AbstractRule.stackable attributepublic static final java.lang.String STATUS
AbstractRule.status attributepublic static final java.lang.String VERSION
AbstractRule.version attributepublic static final java.lang.String MESSAGEFIRED
AbstractRule.messageFired attributepublic static final java.lang.String RULESMODULES
AbstractRule.rulesModules attributepublic static final java.lang.String RULEGROUP
AbstractRule.ruleGroup attributepublic static final java.lang.String ENGINERULES
AbstractRule.engineRules attributeprotected static final BidirectionalOneToManyHandler<GeneratedAbstractRule> RULEGROUPHANDLER
BidirectionalOneToManyHandler for handling 1:n RULEGROUP's relation attributes from 'one' side.protected static final OneToManyHandler<AbstractRuleEngineRule> ENGINERULESHANDLER
OneToManyHandler for handling 1:n ENGINERULES's relation attributes from 'many' side.protected static final java.util.Map<java.lang.String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
protected java.util.Map<java.lang.String,Item.AttributeMode> getDefaultAttributeModes()
getDefaultAttributeModes in class Itempublic java.lang.String getCode(SessionContext ctx)
AbstractRule.code attribute.public java.lang.String getCode()
AbstractRule.code attribute.protected void setCode(SessionContext ctx, java.lang.String value)
AbstractRule.code attribute.value - the code - Rule code that defines the rule uniquely, cannot be changed after the rule is createdprotected void setCode(java.lang.String value)
AbstractRule.code attribute.value - the code - Rule code that defines the rule uniquely, cannot be changed after the rule is createdprotected Item createItem(SessionContext ctx, ComposedType type, Item.ItemAttributeMap allAttributes) throws JaloBusinessException
ItemComposedType.newInstance(Map).
In case this method uses any of the attribute values during creation it is required to override
Item.getNonInitialAttributes(SessionContext, ItemAttributeMap) too.
Sn example:
public static final String MY_ATTRIBUTE = "someAttribute"; ... protected Item createItem(SessionContext
ctx, ComposedType type, Map allAttributes ) throws JaloBusinessException { MyManager man = ... return
man.createMyItem( (String)allAttributes.get(MY_ATTRIBUTE) );
// here MY_ATTRIBUTE is used for creation, so it must not be set again } protected Map getNonInitialAttributes(
SessionContext ctx, Map allAttributes ) { // let superclass remove its own initial attributes Map ret =
super.getNonInitialAttributes( ctx, allAttributes );
// remove MY_ATTRIBUTE from all attributes since if has already been set ret.remove(MY_ATTRIBUTE); return ret; }
createItem in class GenericItemctx - the current session context which this item is created withintype - the actual item type ( since subtypes may not provide a own jalo class this may be different from the
type which this method was implemented for )JaloBusinessException - indicates an error during creation - any changes will be rollbackedpublic java.lang.String getDescription(SessionContext ctx)
AbstractRule.description attribute.public java.lang.String getDescription()
AbstractRule.description attribute.public java.util.Map<Language,java.lang.String> getAllDescription(SessionContext ctx)
AbstractRule.description attribute.public java.util.Map<Language,java.lang.String> getAllDescription()
AbstractRule.description attribute.public void setDescription(SessionContext ctx, java.lang.String value)
AbstractRule.description attribute.value - the description - Rule descriptionpublic void setDescription(java.lang.String value)
AbstractRule.description attribute.value - the description - Rule descriptionpublic void setAllDescription(SessionContext ctx, java.util.Map<Language,java.lang.String> value)
AbstractRule.description attribute.value - the description - Rule descriptionpublic void setAllDescription(java.util.Map<Language,java.lang.String> value)
AbstractRule.description attribute.value - the description - Rule descriptionpublic java.util.Date getEndDate(SessionContext ctx)
AbstractRule.endDate attribute.public java.util.Date getEndDate()
AbstractRule.endDate attribute.public void setEndDate(SessionContext ctx, java.util.Date value)
AbstractRule.endDate attribute.value - the endDate - Date on which this promotion stops being available, if not set the promotion will not be available.public void setEndDate(java.util.Date value)
AbstractRule.endDate attribute.value - the endDate - Date on which this promotion stops being available, if not set the promotion will not be available.public java.util.Set<AbstractRuleEngineRule> getEngineRules(SessionContext ctx)
AbstractRule.engineRules attribute.public java.util.Set<AbstractRuleEngineRule> getEngineRules()
AbstractRule.engineRules attribute.public void setEngineRules(SessionContext ctx, java.util.Set<AbstractRuleEngineRule> value)
AbstractRule.engineRules attribute.value - the engineRulespublic void setEngineRules(java.util.Set<AbstractRuleEngineRule> value)
AbstractRule.engineRules attribute.value - the engineRulespublic void addToEngineRules(SessionContext ctx, AbstractRuleEngineRule value)
value to engineRules.value - the item to add to engineRulespublic void addToEngineRules(AbstractRuleEngineRule value)
value to engineRules.value - the item to add to engineRulespublic void removeFromEngineRules(SessionContext ctx, AbstractRuleEngineRule value)
value from engineRules.value - the item to remove from engineRulespublic void removeFromEngineRules(AbstractRuleEngineRule value)
value from engineRules.value - the item to remove from engineRulespublic java.lang.Integer getMaxAllowedRuns(SessionContext ctx)
AbstractRule.maxAllowedRuns attribute.public java.lang.Integer getMaxAllowedRuns()
AbstractRule.maxAllowedRuns attribute.public int getMaxAllowedRunsAsPrimitive(SessionContext ctx)
AbstractRule.maxAllowedRuns attribute.public int getMaxAllowedRunsAsPrimitive()
AbstractRule.maxAllowedRuns attribute.public void setMaxAllowedRuns(SessionContext ctx, java.lang.Integer value)
AbstractRule.maxAllowedRuns attribute.value - the maxAllowedRuns - Number of times rule can be appliedpublic void setMaxAllowedRuns(java.lang.Integer value)
AbstractRule.maxAllowedRuns attribute.value - the maxAllowedRuns - Number of times rule can be appliedpublic void setMaxAllowedRuns(SessionContext ctx, int value)
AbstractRule.maxAllowedRuns attribute.value - the maxAllowedRuns - Number of times rule can be appliedpublic void setMaxAllowedRuns(int value)
AbstractRule.maxAllowedRuns attribute.value - the maxAllowedRuns - Number of times rule can be appliedpublic java.lang.String getMessageFired(SessionContext ctx)
AbstractRule.messageFired attribute.public java.lang.String getMessageFired()
AbstractRule.messageFired attribute.public java.util.Map<Language,java.lang.String> getAllMessageFired(SessionContext ctx)
AbstractRule.messageFired attribute.public java.util.Map<Language,java.lang.String> getAllMessageFired()
AbstractRule.messageFired attribute.public void setMessageFired(SessionContext ctx, java.lang.String value)
AbstractRule.messageFired attribute.value - the messageFired - Message for fired rule.public void setMessageFired(java.lang.String value)
AbstractRule.messageFired attribute.value - the messageFired - Message for fired rule.public void setAllMessageFired(SessionContext ctx, java.util.Map<Language,java.lang.String> value)
AbstractRule.messageFired attribute.value - the messageFired - Message for fired rule.public void setAllMessageFired(java.util.Map<Language,java.lang.String> value)
AbstractRule.messageFired attribute.value - the messageFired - Message for fired rule.public java.lang.String getName(SessionContext ctx)
AbstractRule.name attribute.public java.lang.String getName()
AbstractRule.name attribute.public java.util.Map<Language,java.lang.String> getAllName(SessionContext ctx)
AbstractRule.name attribute.public java.util.Map<Language,java.lang.String> getAllName()
AbstractRule.name attribute.public void setName(SessionContext ctx, java.lang.String value)
AbstractRule.name attribute.value - the name - Rule namepublic void setName(java.lang.String value)
AbstractRule.name attribute.value - the name - Rule namepublic void setAllName(SessionContext ctx, java.util.Map<Language,java.lang.String> value)
AbstractRule.name attribute.value - the name - Rule namepublic void setAllName(java.util.Map<Language,java.lang.String> value)
AbstractRule.name attribute.value - the name - Rule namepublic java.lang.Integer getPriority(SessionContext ctx)
AbstractRule.priority attribute.public java.lang.Integer getPriority()
AbstractRule.priority attribute.public int getPriorityAsPrimitive(SessionContext ctx)
AbstractRule.priority attribute.public int getPriorityAsPrimitive()
AbstractRule.priority attribute.public void setPriority(SessionContext ctx, java.lang.Integer value)
AbstractRule.priority attribute.value - the priority - priority (higher priority gets applied first)public void setPriority(java.lang.Integer value)
AbstractRule.priority attribute.value - the priority - priority (higher priority gets applied first)public void setPriority(SessionContext ctx, int value)
AbstractRule.priority attribute.value - the priority - priority (higher priority gets applied first)public void setPriority(int value)
AbstractRule.priority attribute.value - the priority - priority (higher priority gets applied first)public RuleGroup getRuleGroup(SessionContext ctx)
AbstractRule.ruleGroup attribute.public RuleGroup getRuleGroup()
AbstractRule.ruleGroup attribute.public void setRuleGroup(SessionContext ctx, RuleGroup value)
AbstractRule.ruleGroup attribute.value - the ruleGrouppublic void setRuleGroup(RuleGroup value)
AbstractRule.ruleGroup attribute.value - the ruleGrouppublic java.util.List<AbstractRulesModule> getRulesModules(SessionContext ctx)
AbstractRule.rulesModules attribute.public java.util.List<AbstractRulesModule> getRulesModules()
AbstractRule.rulesModules attribute.public void setRulesModules(SessionContext ctx, java.util.List<AbstractRulesModule> value)
AbstractRule.rulesModules attribute.value - the rulesModules - List of the current deployments.public void setRulesModules(java.util.List<AbstractRulesModule> value)
AbstractRule.rulesModules attribute.value - the rulesModules - List of the current deployments.public java.lang.Boolean isStackable(SessionContext ctx)
AbstractRule.stackable attribute.public java.lang.Boolean isStackable()
AbstractRule.stackable attribute.public boolean isStackableAsPrimitive(SessionContext ctx)
AbstractRule.stackable attribute.public boolean isStackableAsPrimitive()
AbstractRule.stackable attribute.public void setStackable(SessionContext ctx, java.lang.Boolean value)
AbstractRule.stackable attribute.value - the stackable - whether the rule is stackablepublic void setStackable(java.lang.Boolean value)
AbstractRule.stackable attribute.value - the stackable - whether the rule is stackablepublic void setStackable(SessionContext ctx, boolean value)
AbstractRule.stackable attribute.value - the stackable - whether the rule is stackablepublic void setStackable(boolean value)
AbstractRule.stackable attribute.value - the stackable - whether the rule is stackablepublic java.util.Date getStartDate(SessionContext ctx)
AbstractRule.startDate attribute.public java.util.Date getStartDate()
AbstractRule.startDate attribute.public void setStartDate(SessionContext ctx, java.util.Date value)
AbstractRule.startDate attribute.value - the startDate - Date on which this promotion becomes available, if not set the promotion will not be available.public void setStartDate(java.util.Date value)
AbstractRule.startDate attribute.value - the startDate - Date on which this promotion becomes available, if not set the promotion will not be available.public EnumerationValue getStatus(SessionContext ctx)
AbstractRule.status attribute.public EnumerationValue getStatus()
AbstractRule.status attribute.public void setStatus(SessionContext ctx, EnumerationValue value)
AbstractRule.status attribute.value - the status - Status of a rulepublic void setStatus(EnumerationValue value)
AbstractRule.status attribute.value - the status - Status of a rulepublic java.lang.String getUuid(SessionContext ctx)
AbstractRule.uuid attribute.public java.lang.String getUuid()
AbstractRule.uuid attribute.protected void setUuid(SessionContext ctx, java.lang.String value)
AbstractRule.uuid attribute.value - the uuid - Rule uuid that defines the rule uniquely, cannot be changed after the rule is createdprotected void setUuid(java.lang.String value)
AbstractRule.uuid attribute.value - the uuid - Rule uuid that defines the rule uniquely, cannot be changed after the rule is createdpublic java.lang.Long getVersion(SessionContext ctx)
AbstractRule.version attribute.public java.lang.Long getVersion()
AbstractRule.version attribute.public long getVersionAsPrimitive(SessionContext ctx)
AbstractRule.version attribute.public long getVersionAsPrimitive()
AbstractRule.version attribute.public void setVersion(SessionContext ctx, java.lang.Long value)
AbstractRule.version attribute.value - the version - rule versionpublic void setVersion(java.lang.Long value)
AbstractRule.version attribute.value - the version - rule versionpublic void setVersion(SessionContext ctx, long value)
AbstractRule.version attribute.value - the version - rule versionpublic void setVersion(long value)
AbstractRule.version attribute.value - the version - rule versionCopyright © 2018 SAP SE. All Rights Reserved.