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.StringCODEQualifier of theRuleGroup.codeattributeprotected static java.util.Map<java.lang.String,Item.AttributeMode>DEFAULT_INITIAL_ATTRIBUTESstatic java.lang.StringDESCRIPTIONQualifier of theRuleGroup.descriptionattributestatic java.lang.StringEXCLUSIVEQualifier of theRuleGroup.exclusiveattributestatic java.lang.StringRULESQualifier of theRuleGroup.rulesattributeprotected static OneToManyHandler<AbstractRule>RULESHANDLEROneToManyHandlerfor handling 1:n RULES's relation attributes from 'many' side.static java.lang.StringRULETEMPLATESQualifier of theRuleGroup.ruleTemplatesattributeprotected static OneToManyHandler<AbstractRuleTemplate>RULETEMPLATESHANDLEROneToManyHandlerfor 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 voidaddToRules(SessionContext ctx, AbstractRule value)Generated method - Addsvalueto rules.voidaddToRules(AbstractRule value)Generated method - Addsvalueto rules.voidaddToRuleTemplates(SessionContext ctx, AbstractRuleTemplate value)Generated method - Addsvalueto ruleTemplates.voidaddToRuleTemplates(AbstractRuleTemplate value)Generated method - Addsvalueto ruleTemplates.java.util.Map<Language,java.lang.String>getAllDescription()Generated method - Getter of theRuleGroup.descriptionattribute.java.util.Map<Language,java.lang.String>getAllDescription(SessionContext ctx)Generated method - Getter of theRuleGroup.descriptionattribute.java.lang.StringgetCode()Generated method - Getter of theRuleGroup.codeattribute.java.lang.StringgetCode(SessionContext ctx)Generated method - Getter of theRuleGroup.codeattribute.protected java.util.Map<java.lang.String,Item.AttributeMode>getDefaultAttributeModes()java.lang.StringgetDescription()Generated method - Getter of theRuleGroup.descriptionattribute.java.lang.StringgetDescription(SessionContext ctx)Generated method - Getter of theRuleGroup.descriptionattribute.java.util.Set<AbstractRule>getRules()Generated method - Getter of theRuleGroup.rulesattribute.java.util.Set<AbstractRule>getRules(SessionContext ctx)Generated method - Getter of theRuleGroup.rulesattribute.java.util.Set<AbstractRuleTemplate>getRuleTemplates()Generated method - Getter of theRuleGroup.ruleTemplatesattribute.java.util.Set<AbstractRuleTemplate>getRuleTemplates(SessionContext ctx)Generated method - Getter of theRuleGroup.ruleTemplatesattribute.java.lang.BooleanisExclusive()Generated method - Getter of theRuleGroup.exclusiveattribute.java.lang.BooleanisExclusive(SessionContext ctx)Generated method - Getter of theRuleGroup.exclusiveattribute.booleanisExclusiveAsPrimitive()Generated method - Getter of theRuleGroup.exclusiveattribute.booleanisExclusiveAsPrimitive(SessionContext ctx)Generated method - Getter of theRuleGroup.exclusiveattribute.voidremoveFromRules(SessionContext ctx, AbstractRule value)Generated method - Removesvaluefrom rules.voidremoveFromRules(AbstractRule value)Generated method - Removesvaluefrom rules.voidremoveFromRuleTemplates(SessionContext ctx, AbstractRuleTemplate value)Generated method - Removesvaluefrom ruleTemplates.voidremoveFromRuleTemplates(AbstractRuleTemplate value)Generated method - Removesvaluefrom ruleTemplates.voidsetAllDescription(SessionContext ctx, java.util.Map<Language,java.lang.String> value)Generated method - Setter of theRuleGroup.descriptionattribute.voidsetAllDescription(java.util.Map<Language,java.lang.String> value)Generated method - Setter of theRuleGroup.descriptionattribute.voidsetCode(SessionContext ctx, java.lang.String value)Generated method - Setter of theRuleGroup.codeattribute.voidsetCode(java.lang.String value)Generated method - Setter of theRuleGroup.codeattribute.voidsetDescription(SessionContext ctx, java.lang.String value)Generated method - Setter of theRuleGroup.descriptionattribute.voidsetDescription(java.lang.String value)Generated method - Setter of theRuleGroup.descriptionattribute.voidsetExclusive(boolean value)Generated method - Setter of theRuleGroup.exclusiveattribute.voidsetExclusive(SessionContext ctx, boolean value)Generated method - Setter of theRuleGroup.exclusiveattribute.voidsetExclusive(SessionContext ctx, java.lang.Boolean value)Generated method - Setter of theRuleGroup.exclusiveattribute.voidsetExclusive(java.lang.Boolean value)Generated method - Setter of theRuleGroup.exclusiveattribute.voidsetRules(SessionContext ctx, java.util.Set<AbstractRule> value)Generated method - Setter of theRuleGroup.rulesattribute.voidsetRules(java.util.Set<AbstractRule> value)Generated method - Setter of theRuleGroup.rulesattribute.voidsetRuleTemplates(SessionContext ctx, java.util.Set<AbstractRuleTemplate> value)Generated method - Setter of theRuleGroup.ruleTemplatesattribute.voidsetRuleTemplates(java.util.Set<AbstractRuleTemplate> value)Generated method - Setter of theRuleGroup.ruleTemplatesattribute.-
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.codeattribute- See Also:
- Constant Field Values
-
DESCRIPTION
public static final java.lang.String DESCRIPTION
Qualifier of theRuleGroup.descriptionattribute- See Also:
- Constant Field Values
-
EXCLUSIVE
public static final java.lang.String EXCLUSIVE
Qualifier of theRuleGroup.exclusiveattribute- See Also:
- Constant Field Values
-
RULES
public static final java.lang.String RULES
Qualifier of theRuleGroup.rulesattribute- See Also:
- Constant Field Values
-
RULETEMPLATES
public static final java.lang.String RULETEMPLATES
Qualifier of theRuleGroup.ruleTemplatesattribute- See Also:
- Constant Field Values
-
RULESHANDLER
protected static final OneToManyHandler<AbstractRule> RULESHANDLER
OneToManyHandlerfor handling 1:n RULES's relation attributes from 'many' side.
-
RULETEMPLATESHANDLER
protected static final OneToManyHandler<AbstractRuleTemplate> RULETEMPLATESHANDLER
OneToManyHandlerfor 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:
getDefaultAttributeModesin classItem
-
getCode
public java.lang.String getCode(SessionContext ctx)
Generated method - Getter of theRuleGroup.codeattribute.- Returns:
- the code - the code of the rule group.
-
getCode
public java.lang.String getCode()
Generated method - Getter of theRuleGroup.codeattribute.- Returns:
- the code - the code of the rule group.
-
setCode
public void setCode(SessionContext ctx, java.lang.String value)
Generated method - Setter of theRuleGroup.codeattribute.- Parameters:
value- the code - the code of the rule group.
-
setCode
public void setCode(java.lang.String value)
Generated method - Setter of theRuleGroup.codeattribute.- Parameters:
value- the code - the code of the rule group.
-
getDescription
public java.lang.String getDescription(SessionContext ctx)
Generated method - Getter of theRuleGroup.descriptionattribute.- Returns:
- the description - the description of this rule group.
-
getDescription
public java.lang.String getDescription()
Generated method - Getter of theRuleGroup.descriptionattribute.- 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.descriptionattribute.- 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.descriptionattribute.- 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.descriptionattribute.- Parameters:
value- the description - the description of this rule group.
-
setDescription
public void setDescription(java.lang.String value)
Generated method - Setter of theRuleGroup.descriptionattribute.- 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.descriptionattribute.- 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.descriptionattribute.- Parameters:
value- the description - the description of this rule group.
-
isExclusive
public java.lang.Boolean isExclusive(SessionContext ctx)
Generated method - Getter of theRuleGroup.exclusiveattribute.- 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.exclusiveattribute.- 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.exclusiveattribute.- 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.exclusiveattribute.- 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.exclusiveattribute.- 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.exclusiveattribute.- 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.exclusiveattribute.- 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.exclusiveattribute.- 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.rulesattribute.- Returns:
- the rules
-
getRules
public java.util.Set<AbstractRule> getRules()
Generated method - Getter of theRuleGroup.rulesattribute.- Returns:
- the rules
-
setRules
public void setRules(SessionContext ctx, java.util.Set<AbstractRule> value)
Generated method - Setter of theRuleGroup.rulesattribute.- Parameters:
value- the rules
-
setRules
public void setRules(java.util.Set<AbstractRule> value)
Generated method - Setter of theRuleGroup.rulesattribute.- Parameters:
value- the rules
-
addToRules
public void addToRules(SessionContext ctx, AbstractRule value)
Generated method - Addsvalueto rules.- Parameters:
value- the item to add to rules
-
addToRules
public void addToRules(AbstractRule value)
Generated method - Addsvalueto rules.- Parameters:
value- the item to add to rules
-
removeFromRules
public void removeFromRules(SessionContext ctx, AbstractRule value)
Generated method - Removesvaluefrom rules.- Parameters:
value- the item to remove from rules
-
removeFromRules
public void removeFromRules(AbstractRule value)
Generated method - Removesvaluefrom rules.- Parameters:
value- the item to remove from rules
-
getRuleTemplates
public java.util.Set<AbstractRuleTemplate> getRuleTemplates(SessionContext ctx)
Generated method - Getter of theRuleGroup.ruleTemplatesattribute.- Returns:
- the ruleTemplates
-
getRuleTemplates
public java.util.Set<AbstractRuleTemplate> getRuleTemplates()
Generated method - Getter of theRuleGroup.ruleTemplatesattribute.- Returns:
- the ruleTemplates
-
setRuleTemplates
public void setRuleTemplates(SessionContext ctx, java.util.Set<AbstractRuleTemplate> value)
Generated method - Setter of theRuleGroup.ruleTemplatesattribute.- Parameters:
value- the ruleTemplates
-
setRuleTemplates
public void setRuleTemplates(java.util.Set<AbstractRuleTemplate> value)
Generated method - Setter of theRuleGroup.ruleTemplatesattribute.- Parameters:
value- the ruleTemplates
-
addToRuleTemplates
public void addToRuleTemplates(SessionContext ctx, AbstractRuleTemplate value)
Generated method - Addsvalueto ruleTemplates.- Parameters:
value- the item to add to ruleTemplates
-
addToRuleTemplates
public void addToRuleTemplates(AbstractRuleTemplate value)
Generated method - Addsvalueto ruleTemplates.- Parameters:
value- the item to add to ruleTemplates
-
removeFromRuleTemplates
public void removeFromRuleTemplates(SessionContext ctx, AbstractRuleTemplate value)
Generated method - Removesvaluefrom ruleTemplates.- Parameters:
value- the item to remove from ruleTemplates
-
removeFromRuleTemplates
public void removeFromRuleTemplates(AbstractRuleTemplate value)
Generated method - Removesvaluefrom ruleTemplates.- Parameters:
value- the item to remove from ruleTemplates
-
-