Class GeneratedRuleGroup
- java.lang.Object
-
- de.hybris.platform.util.BridgeAbstraction
-
- de.hybris.platform.jalo.Item
-
- de.hybris.platform.jalo.ExtensibleItem
-
- de.hybris.platform.jalo.c2l.LocalizableItem
-
- de.hybris.platform.jalo.GenericItem
-
- de.hybris.platform.ruleengineservices.jalo.GeneratedRuleGroup
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable
- Direct Known Subclasses:
RuleGroup
public abstract class GeneratedRuleGroup extends GenericItem
Generated class for typeRuleGroup
.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.jalo.GenericItem
GenericItem.GenericItemImpl
-
Nested classes/interfaces inherited from class de.hybris.platform.jalo.c2l.LocalizableItem
LocalizableItem.LocalizableItemImpl
-
Nested classes/interfaces inherited from class de.hybris.platform.jalo.ExtensibleItem
ExtensibleItem.ExtensibleItemImpl
-
Nested classes/interfaces inherited from class de.hybris.platform.jalo.Item
Item.AttributeFilter, Item.AttributeMode, Item.CachedGetter, Item.CachedSetter, Item.ItemAttributeMap, Item.ItemConstraint, Item.ItemImpl, Item.JaloCachedComputationException
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
CODE
Qualifier of theRuleGroup.code
attributeprotected static java.util.Map<java.lang.String,Item.AttributeMode>
DEFAULT_INITIAL_ATTRIBUTES
static java.lang.String
DESCRIPTION
Qualifier of theRuleGroup.description
attributestatic java.lang.String
EXCLUSIVE
Qualifier of theRuleGroup.exclusive
attributestatic java.lang.String
RULES
Qualifier of theRuleGroup.rules
attributeprotected static OneToManyHandler<AbstractRule>
RULESHANDLER
OneToManyHandler
for handling 1:n RULES's relation attributes from 'many' side.static java.lang.String
RULETEMPLATES
Qualifier of theRuleGroup.ruleTemplates
attributeprotected static OneToManyHandler<AbstractRuleTemplate>
RULETEMPLATESHANDLER
OneToManyHandler
for handling 1:n RULETEMPLATES's relation attributes from 'many' side.-
Fields inherited from class de.hybris.platform.jalo.c2l.LocalizableItem
LANGUAGE_FALLBACK_ENABLED
-
Fields inherited from class de.hybris.platform.jalo.Item
_CREATION_TIME_INTERNAL, _MODIFIED_TIME_INTERNAL, accessorLog, CREATION_TIME, DISABLE_ATTRIBUTE_CHECK, DISABLE_ITEMCHECK_BEFORE_REMOVABLE, EVEN, FEATURE_ACCESSMAP_QUALIFIER, HJMPTS, INITIAL_CREATION_FLAG, isJaloOnly, MODIFIED_TIME, NEGATIVE, NOT_FOUND, OWNER, PK, POSITIVE, SAVE_FROM_SERVICE_LAYER, staticTransientObjects, TYPE
-
Fields inherited from class de.hybris.platform.util.BridgeAbstraction
impl, tenant
-
-
Constructor Summary
Constructors Constructor Description GeneratedRuleGroup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addToRules(SessionContext ctx, AbstractRule value)
Generated method - Addsvalue
to rules.void
addToRules(AbstractRule value)
Generated method - Addsvalue
to rules.void
addToRuleTemplates(SessionContext ctx, AbstractRuleTemplate value)
Generated method - Addsvalue
to ruleTemplates.void
addToRuleTemplates(AbstractRuleTemplate value)
Generated method - Addsvalue
to ruleTemplates.java.util.Map<Language,java.lang.String>
getAllDescription()
Generated method - Getter of theRuleGroup.description
attribute.java.util.Map<Language,java.lang.String>
getAllDescription(SessionContext ctx)
Generated method - Getter of theRuleGroup.description
attribute.java.lang.String
getCode()
Generated method - Getter of theRuleGroup.code
attribute.java.lang.String
getCode(SessionContext ctx)
Generated method - Getter of theRuleGroup.code
attribute.protected java.util.Map<java.lang.String,Item.AttributeMode>
getDefaultAttributeModes()
java.lang.String
getDescription()
Generated method - Getter of theRuleGroup.description
attribute.java.lang.String
getDescription(SessionContext ctx)
Generated method - Getter of theRuleGroup.description
attribute.java.util.Set<AbstractRule>
getRules()
Generated method - Getter of theRuleGroup.rules
attribute.java.util.Set<AbstractRule>
getRules(SessionContext ctx)
Generated method - Getter of theRuleGroup.rules
attribute.java.util.Set<AbstractRuleTemplate>
getRuleTemplates()
Generated method - Getter of theRuleGroup.ruleTemplates
attribute.java.util.Set<AbstractRuleTemplate>
getRuleTemplates(SessionContext ctx)
Generated method - Getter of theRuleGroup.ruleTemplates
attribute.java.lang.Boolean
isExclusive()
Generated method - Getter of theRuleGroup.exclusive
attribute.java.lang.Boolean
isExclusive(SessionContext ctx)
Generated method - Getter of theRuleGroup.exclusive
attribute.boolean
isExclusiveAsPrimitive()
Generated method - Getter of theRuleGroup.exclusive
attribute.boolean
isExclusiveAsPrimitive(SessionContext ctx)
Generated method - Getter of theRuleGroup.exclusive
attribute.void
removeFromRules(SessionContext ctx, AbstractRule value)
Generated method - Removesvalue
from rules.void
removeFromRules(AbstractRule value)
Generated method - Removesvalue
from rules.void
removeFromRuleTemplates(SessionContext ctx, AbstractRuleTemplate value)
Generated method - Removesvalue
from ruleTemplates.void
removeFromRuleTemplates(AbstractRuleTemplate value)
Generated method - Removesvalue
from ruleTemplates.void
setAllDescription(SessionContext ctx, java.util.Map<Language,java.lang.String> value)
Generated method - Setter of theRuleGroup.description
attribute.void
setAllDescription(java.util.Map<Language,java.lang.String> value)
Generated method - Setter of theRuleGroup.description
attribute.void
setCode(SessionContext ctx, java.lang.String value)
Generated method - Setter of theRuleGroup.code
attribute.void
setCode(java.lang.String value)
Generated method - Setter of theRuleGroup.code
attribute.void
setDescription(SessionContext ctx, java.lang.String value)
Generated method - Setter of theRuleGroup.description
attribute.void
setDescription(java.lang.String value)
Generated method - Setter of theRuleGroup.description
attribute.void
setExclusive(boolean value)
Generated method - Setter of theRuleGroup.exclusive
attribute.void
setExclusive(SessionContext ctx, boolean value)
Generated method - Setter of theRuleGroup.exclusive
attribute.void
setExclusive(SessionContext ctx, java.lang.Boolean value)
Generated method - Setter of theRuleGroup.exclusive
attribute.void
setExclusive(java.lang.Boolean value)
Generated method - Setter of theRuleGroup.exclusive
attribute.void
setRules(SessionContext ctx, java.util.Set<AbstractRule> value)
Generated method - Setter of theRuleGroup.rules
attribute.void
setRules(java.util.Set<AbstractRule> value)
Generated method - Setter of theRuleGroup.rules
attribute.void
setRuleTemplates(SessionContext ctx, java.util.Set<AbstractRuleTemplate> value)
Generated method - Setter of theRuleGroup.ruleTemplates
attribute.void
setRuleTemplates(java.util.Set<AbstractRuleTemplate> value)
Generated method - Setter of theRuleGroup.ruleTemplates
attribute.-
Methods inherited from class de.hybris.platform.jalo.GenericItem
createItem, getImplementation, getInitialProperties, getNonInitialAttributes, getRelatedItems, setRelatedItems
-
Methods inherited from class de.hybris.platform.jalo.c2l.LocalizableItem
getAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllValuesSessionContext, getLocalizedProperty, getLocalizedProperty, getLocalizedPropertyInternal, getLocalizedPropertyNames, getLocalizedPropertyNames, hasLanguage, isEmptyValue, isFallbackEnabled, removeLocalizedProperty, removeLocalizedProperty, setAllLocalizedProperties, setAllLocalizedProperties, setLocalizedProperty, setLocalizedProperty
-
Methods inherited from class de.hybris.platform.jalo.ExtensibleItem
createNonClassAccessor, getAllProperties, getAllProperties, getProperty, getProperty, getPropertyNames, getPropertyNames, removeProperty, removeProperty, setAllProperties, setAllProperties, setProperty, setProperty
-
Methods inherited from class de.hybris.platform.jalo.Item
addLinkedItems, 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, writeReplace
-
Methods inherited from class de.hybris.platform.util.BridgeAbstraction
setTenant
-
-
-
-
Field Detail
-
CODE
public static final java.lang.String CODE
Qualifier of theRuleGroup.code
attribute- See Also:
- Constant Field Values
-
DESCRIPTION
public static final java.lang.String DESCRIPTION
Qualifier of theRuleGroup.description
attribute- See Also:
- Constant Field Values
-
EXCLUSIVE
public static final java.lang.String EXCLUSIVE
Qualifier of theRuleGroup.exclusive
attribute- See Also:
- Constant Field Values
-
RULES
public static final java.lang.String RULES
Qualifier of theRuleGroup.rules
attribute- See Also:
- Constant Field Values
-
RULETEMPLATES
public static final java.lang.String RULETEMPLATES
Qualifier of theRuleGroup.ruleTemplates
attribute- See Also:
- Constant Field Values
-
RULESHANDLER
protected static final OneToManyHandler<AbstractRule> RULESHANDLER
OneToManyHandler
for handling 1:n RULES's relation attributes from 'many' side.
-
RULETEMPLATESHANDLER
protected static final OneToManyHandler<AbstractRuleTemplate> RULETEMPLATESHANDLER
OneToManyHandler
for handling 1:n RULETEMPLATES's relation attributes from 'many' side.
-
DEFAULT_INITIAL_ATTRIBUTES
protected static final java.util.Map<java.lang.String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
-
-
Method Detail
-
getDefaultAttributeModes
protected java.util.Map<java.lang.String,Item.AttributeMode> getDefaultAttributeModes()
- Overrides:
getDefaultAttributeModes
in classItem
-
getCode
public java.lang.String getCode(SessionContext ctx)
Generated method - Getter of theRuleGroup.code
attribute.- Returns:
- the code - the code of the rule group.
-
getCode
public java.lang.String getCode()
Generated method - Getter of theRuleGroup.code
attribute.- Returns:
- the code - the code of the rule group.
-
setCode
public void setCode(SessionContext ctx, java.lang.String value)
Generated method - Setter of theRuleGroup.code
attribute.- Parameters:
value
- the code - the code of the rule group.
-
setCode
public void setCode(java.lang.String value)
Generated method - Setter of theRuleGroup.code
attribute.- Parameters:
value
- the code - the code of the rule group.
-
getDescription
public java.lang.String getDescription(SessionContext ctx)
Generated method - Getter of theRuleGroup.description
attribute.- Returns:
- the description - the description of this rule group.
-
getDescription
public java.lang.String getDescription()
Generated method - Getter of theRuleGroup.description
attribute.- Returns:
- the description - the description of this rule group.
-
getAllDescription
public java.util.Map<Language,java.lang.String> getAllDescription(SessionContext ctx)
Generated method - Getter of theRuleGroup.description
attribute.- Returns:
- the localized description - the description of this rule group.
-
getAllDescription
public java.util.Map<Language,java.lang.String> getAllDescription()
Generated method - Getter of theRuleGroup.description
attribute.- Returns:
- the localized description - the description of this rule group.
-
setDescription
public void setDescription(SessionContext ctx, java.lang.String value)
Generated method - Setter of theRuleGroup.description
attribute.- Parameters:
value
- the description - the description of this rule group.
-
setDescription
public void setDescription(java.lang.String value)
Generated method - Setter of theRuleGroup.description
attribute.- Parameters:
value
- the description - the description of this rule group.
-
setAllDescription
public void setAllDescription(SessionContext ctx, java.util.Map<Language,java.lang.String> value)
Generated method - Setter of theRuleGroup.description
attribute.- Parameters:
value
- the description - the description of this rule group.
-
setAllDescription
public void setAllDescription(java.util.Map<Language,java.lang.String> value)
Generated method - Setter of theRuleGroup.description
attribute.- Parameters:
value
- the description - the description of this rule group.
-
isExclusive
public java.lang.Boolean isExclusive(SessionContext ctx)
Generated method - Getter of theRuleGroup.exclusive
attribute.- Returns:
- the exclusive - if set to true at most one rule of this group is executed (but potentially multiple times)
-
isExclusive
public java.lang.Boolean isExclusive()
Generated method - Getter of theRuleGroup.exclusive
attribute.- Returns:
- the exclusive - if set to true at most one rule of this group is executed (but potentially multiple times)
-
isExclusiveAsPrimitive
public boolean isExclusiveAsPrimitive(SessionContext ctx)
Generated method - Getter of theRuleGroup.exclusive
attribute.- Returns:
- the exclusive - if set to true at most one rule of this group is executed (but potentially multiple times)
-
isExclusiveAsPrimitive
public boolean isExclusiveAsPrimitive()
Generated method - Getter of theRuleGroup.exclusive
attribute.- Returns:
- the exclusive - if set to true at most one rule of this group is executed (but potentially multiple times)
-
setExclusive
public void setExclusive(SessionContext ctx, java.lang.Boolean value)
Generated method - Setter of theRuleGroup.exclusive
attribute.- Parameters:
value
- the exclusive - if set to true at most one rule of this group is executed (but potentially multiple times)
-
setExclusive
public void setExclusive(java.lang.Boolean value)
Generated method - Setter of theRuleGroup.exclusive
attribute.- Parameters:
value
- the exclusive - if set to true at most one rule of this group is executed (but potentially multiple times)
-
setExclusive
public void setExclusive(SessionContext ctx, boolean value)
Generated method - Setter of theRuleGroup.exclusive
attribute.- Parameters:
value
- the exclusive - if set to true at most one rule of this group is executed (but potentially multiple times)
-
setExclusive
public void setExclusive(boolean value)
Generated method - Setter of theRuleGroup.exclusive
attribute.- Parameters:
value
- the exclusive - if set to true at most one rule of this group is executed (but potentially multiple times)
-
getRules
public java.util.Set<AbstractRule> getRules(SessionContext ctx)
Generated method - Getter of theRuleGroup.rules
attribute.- Returns:
- the rules
-
getRules
public java.util.Set<AbstractRule> getRules()
Generated method - Getter of theRuleGroup.rules
attribute.- Returns:
- the rules
-
setRules
public void setRules(SessionContext ctx, java.util.Set<AbstractRule> value)
Generated method - Setter of theRuleGroup.rules
attribute.- Parameters:
value
- the rules
-
setRules
public void setRules(java.util.Set<AbstractRule> value)
Generated method - Setter of theRuleGroup.rules
attribute.- Parameters:
value
- the rules
-
addToRules
public void addToRules(SessionContext ctx, AbstractRule value)
Generated method - Addsvalue
to rules.- Parameters:
value
- the item to add to rules
-
addToRules
public void addToRules(AbstractRule value)
Generated method - Addsvalue
to rules.- Parameters:
value
- the item to add to rules
-
removeFromRules
public void removeFromRules(SessionContext ctx, AbstractRule value)
Generated method - Removesvalue
from rules.- Parameters:
value
- the item to remove from rules
-
removeFromRules
public void removeFromRules(AbstractRule value)
Generated method - Removesvalue
from rules.- Parameters:
value
- the item to remove from rules
-
getRuleTemplates
public java.util.Set<AbstractRuleTemplate> getRuleTemplates(SessionContext ctx)
Generated method - Getter of theRuleGroup.ruleTemplates
attribute.- Returns:
- the ruleTemplates
-
getRuleTemplates
public java.util.Set<AbstractRuleTemplate> getRuleTemplates()
Generated method - Getter of theRuleGroup.ruleTemplates
attribute.- Returns:
- the ruleTemplates
-
setRuleTemplates
public void setRuleTemplates(SessionContext ctx, java.util.Set<AbstractRuleTemplate> value)
Generated method - Setter of theRuleGroup.ruleTemplates
attribute.- Parameters:
value
- the ruleTemplates
-
setRuleTemplates
public void setRuleTemplates(java.util.Set<AbstractRuleTemplate> value)
Generated method - Setter of theRuleGroup.ruleTemplates
attribute.- Parameters:
value
- the ruleTemplates
-
addToRuleTemplates
public void addToRuleTemplates(SessionContext ctx, AbstractRuleTemplate value)
Generated method - Addsvalue
to ruleTemplates.- Parameters:
value
- the item to add to ruleTemplates
-
addToRuleTemplates
public void addToRuleTemplates(AbstractRuleTemplate value)
Generated method - Addsvalue
to ruleTemplates.- Parameters:
value
- the item to add to ruleTemplates
-
removeFromRuleTemplates
public void removeFromRuleTemplates(SessionContext ctx, AbstractRuleTemplate value)
Generated method - Removesvalue
from ruleTemplates.- Parameters:
value
- the item to remove from ruleTemplates
-
removeFromRuleTemplates
public void removeFromRuleTemplates(AbstractRuleTemplate value)
Generated method - Removesvalue
from ruleTemplates.- Parameters:
value
- the item to remove from ruleTemplates
-
-