public abstract class GeneratedDroolsKIEBase extends GenericItem
DroolsKIEBase.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 |
|---|---|
protected static java.util.Map<java.lang.String,Item.AttributeMode> |
DEFAULT_INITIAL_ATTRIBUTES |
static java.lang.String |
DEFAULTKIESESSION
Qualifier of the
DroolsKIEBase.defaultKIESession attribute |
static java.lang.String |
EQUALITYBEHAVIOR
Qualifier of the
DroolsKIEBase.equalityBehavior attribute |
static java.lang.String |
EVENTPROCESSINGMODE
Qualifier of the
DroolsKIEBase.eventProcessingMode attribute |
static java.lang.String |
KIEMODULE
Qualifier of the
DroolsKIEBase.kieModule attribute |
protected static BidirectionalOneToManyHandler<GeneratedDroolsKIEBase> |
KIEMODULEHANDLER
BidirectionalOneToManyHandler for handling 1:n KIEMODULE's relation attributes from 'one' side. |
static java.lang.String |
KIESESSIONS
Qualifier of the
DroolsKIEBase.kieSessions attribute |
protected static OneToManyHandler<DroolsKIESession> |
KIESESSIONSHANDLER
OneToManyHandler for handling 1:n KIESESSIONS's relation attributes from 'many' side. |
static java.lang.String |
NAME
Qualifier of the
DroolsKIEBase.name attribute |
static java.lang.String |
RULES
Qualifier of the
DroolsKIEBase.rules attribute |
protected static OneToManyHandler<DroolsRule> |
RULESHANDLER
OneToManyHandler for handling 1:n RULES's relation attributes from 'many' side. |
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 |
|---|
GeneratedDroolsKIEBase() |
| Modifier and Type | Method and Description |
|---|---|
void |
addToKieSessions(DroolsKIESession value)
Generated method - Adds
value to kieSessions. |
void |
addToKieSessions(SessionContext ctx,
DroolsKIESession value)
Generated method - Adds
value to kieSessions. |
void |
addToRules(DroolsRule value)
Generated method - Adds
value to rules. |
void |
addToRules(SessionContext ctx,
DroolsRule value)
Generated method - Adds
value to rules. |
protected Item |
createItem(SessionContext ctx,
ComposedType type,
Item.ItemAttributeMap allAttributes)
Has to be implemented for each concrete subtype of item.
|
protected java.util.Map<java.lang.String,Item.AttributeMode> |
getDefaultAttributeModes() |
DroolsKIESession |
getDefaultKIESession()
Generated method - Getter of the
DroolsKIEBase.defaultKIESession attribute. |
DroolsKIESession |
getDefaultKIESession(SessionContext ctx)
Generated method - Getter of the
DroolsKIEBase.defaultKIESession attribute. |
EnumerationValue |
getEqualityBehavior()
Generated method - Getter of the
DroolsKIEBase.equalityBehavior attribute. |
EnumerationValue |
getEqualityBehavior(SessionContext ctx)
Generated method - Getter of the
DroolsKIEBase.equalityBehavior attribute. |
EnumerationValue |
getEventProcessingMode()
Generated method - Getter of the
DroolsKIEBase.eventProcessingMode attribute. |
EnumerationValue |
getEventProcessingMode(SessionContext ctx)
Generated method - Getter of the
DroolsKIEBase.eventProcessingMode attribute. |
DroolsKIEModule |
getKieModule()
Generated method - Getter of the
DroolsKIEBase.kieModule attribute. |
DroolsKIEModule |
getKieModule(SessionContext ctx)
Generated method - Getter of the
DroolsKIEBase.kieModule attribute. |
java.util.Collection<DroolsKIESession> |
getKieSessions()
Generated method - Getter of the
DroolsKIEBase.kieSessions attribute. |
java.util.Collection<DroolsKIESession> |
getKieSessions(SessionContext ctx)
Generated method - Getter of the
DroolsKIEBase.kieSessions attribute. |
java.lang.String |
getName()
Generated method - Getter of the
DroolsKIEBase.name attribute. |
java.lang.String |
getName(SessionContext ctx)
Generated method - Getter of the
DroolsKIEBase.name attribute. |
java.util.Set<DroolsRule> |
getRules()
Generated method - Getter of the
DroolsKIEBase.rules attribute. |
java.util.Set<DroolsRule> |
getRules(SessionContext ctx)
Generated method - Getter of the
DroolsKIEBase.rules attribute. |
void |
removeFromKieSessions(DroolsKIESession value)
Generated method - Removes
value from kieSessions. |
void |
removeFromKieSessions(SessionContext ctx,
DroolsKIESession value)
Generated method - Removes
value from kieSessions. |
void |
removeFromRules(DroolsRule value)
Generated method - Removes
value from rules. |
void |
removeFromRules(SessionContext ctx,
DroolsRule value)
Generated method - Removes
value from rules. |
void |
setDefaultKIESession(DroolsKIESession value)
Generated method - Setter of the
DroolsKIEBase.defaultKIESession attribute. |
void |
setDefaultKIESession(SessionContext ctx,
DroolsKIESession value)
Generated method - Setter of the
DroolsKIEBase.defaultKIESession attribute. |
void |
setEqualityBehavior(EnumerationValue value)
Generated method - Setter of the
DroolsKIEBase.equalityBehavior attribute. |
void |
setEqualityBehavior(SessionContext ctx,
EnumerationValue value)
Generated method - Setter of the
DroolsKIEBase.equalityBehavior attribute. |
void |
setEventProcessingMode(EnumerationValue value)
Generated method - Setter of the
DroolsKIEBase.eventProcessingMode attribute. |
void |
setEventProcessingMode(SessionContext ctx,
EnumerationValue value)
Generated method - Setter of the
DroolsKIEBase.eventProcessingMode attribute. |
protected void |
setKieModule(DroolsKIEModule value)
Generated method - Setter of the
DroolsKIEBase.kieModule attribute. |
protected void |
setKieModule(SessionContext ctx,
DroolsKIEModule value)
Generated method - Setter of the
DroolsKIEBase.kieModule attribute. |
void |
setKieSessions(java.util.Collection<DroolsKIESession> value)
Generated method - Setter of the
DroolsKIEBase.kieSessions attribute. |
void |
setKieSessions(SessionContext ctx,
java.util.Collection<DroolsKIESession> value)
Generated method - Setter of the
DroolsKIEBase.kieSessions attribute. |
protected void |
setName(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
DroolsKIEBase.name attribute. |
protected void |
setName(java.lang.String value)
Generated method - Setter of the
DroolsKIEBase.name attribute. |
void |
setRules(SessionContext ctx,
java.util.Set<DroolsRule> value)
Generated method - Setter of the
DroolsKIEBase.rules attribute. |
void |
setRules(java.util.Set<DroolsRule> value)
Generated method - Setter of the
DroolsKIEBase.rules 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 NAME
DroolsKIEBase.name attributepublic static final java.lang.String EQUALITYBEHAVIOR
DroolsKIEBase.equalityBehavior attributepublic static final java.lang.String EVENTPROCESSINGMODE
DroolsKIEBase.eventProcessingMode attributepublic static final java.lang.String DEFAULTKIESESSION
DroolsKIEBase.defaultKIESession attributepublic static final java.lang.String KIEMODULE
DroolsKIEBase.kieModule attributepublic static final java.lang.String KIESESSIONS
DroolsKIEBase.kieSessions attributepublic static final java.lang.String RULES
DroolsKIEBase.rules attributeprotected static final BidirectionalOneToManyHandler<GeneratedDroolsKIEBase> KIEMODULEHANDLER
BidirectionalOneToManyHandler for handling 1:n KIEMODULE's relation attributes from 'one' side.protected static final OneToManyHandler<DroolsKIESession> KIESESSIONSHANDLER
OneToManyHandler for handling 1:n KIESESSIONS's relation attributes from 'many' side.protected static final OneToManyHandler<DroolsRule> RULESHANDLER
OneToManyHandler for handling 1:n RULES'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 Itemprotected 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 DroolsKIESession getDefaultKIESession(SessionContext ctx)
DroolsKIEBase.defaultKIESession attribute.public DroolsKIESession getDefaultKIESession()
DroolsKIEBase.defaultKIESession attribute.public void setDefaultKIESession(SessionContext ctx, DroolsKIESession value)
DroolsKIEBase.defaultKIESession attribute.value - the defaultKIESession - Default DroolsKIESession for DroolsKIEBase.public void setDefaultKIESession(DroolsKIESession value)
DroolsKIEBase.defaultKIESession attribute.value - the defaultKIESession - Default DroolsKIESession for DroolsKIEBase.public EnumerationValue getEqualityBehavior(SessionContext ctx)
DroolsKIEBase.equalityBehavior attribute.public EnumerationValue getEqualityBehavior()
DroolsKIEBase.equalityBehavior attribute.public void setEqualityBehavior(SessionContext ctx, EnumerationValue value)
DroolsKIEBase.equalityBehavior attribute.value - the equalityBehaviorpublic void setEqualityBehavior(EnumerationValue value)
DroolsKIEBase.equalityBehavior attribute.value - the equalityBehaviorpublic EnumerationValue getEventProcessingMode(SessionContext ctx)
DroolsKIEBase.eventProcessingMode attribute.public EnumerationValue getEventProcessingMode()
DroolsKIEBase.eventProcessingMode attribute.public void setEventProcessingMode(SessionContext ctx, EnumerationValue value)
DroolsKIEBase.eventProcessingMode attribute.value - the eventProcessingModepublic void setEventProcessingMode(EnumerationValue value)
DroolsKIEBase.eventProcessingMode attribute.value - the eventProcessingModepublic DroolsKIEModule getKieModule(SessionContext ctx)
DroolsKIEBase.kieModule attribute.public DroolsKIEModule getKieModule()
DroolsKIEBase.kieModule attribute.protected void setKieModule(SessionContext ctx, DroolsKIEModule value)
DroolsKIEBase.kieModule attribute.value - the kieModuleprotected void setKieModule(DroolsKIEModule value)
DroolsKIEBase.kieModule attribute.value - the kieModulepublic java.util.Collection<DroolsKIESession> getKieSessions(SessionContext ctx)
DroolsKIEBase.kieSessions attribute.public java.util.Collection<DroolsKIESession> getKieSessions()
DroolsKIEBase.kieSessions attribute.public void setKieSessions(SessionContext ctx, java.util.Collection<DroolsKIESession> value)
DroolsKIEBase.kieSessions attribute.value - the kieSessionspublic void setKieSessions(java.util.Collection<DroolsKIESession> value)
DroolsKIEBase.kieSessions attribute.value - the kieSessionspublic void addToKieSessions(SessionContext ctx, DroolsKIESession value)
value to kieSessions.value - the item to add to kieSessionspublic void addToKieSessions(DroolsKIESession value)
value to kieSessions.value - the item to add to kieSessionspublic void removeFromKieSessions(SessionContext ctx, DroolsKIESession value)
value from kieSessions.value - the item to remove from kieSessionspublic void removeFromKieSessions(DroolsKIESession value)
value from kieSessions.value - the item to remove from kieSessionspublic java.lang.String getName(SessionContext ctx)
DroolsKIEBase.name attribute.public java.lang.String getName()
DroolsKIEBase.name attribute.protected void setName(SessionContext ctx, java.lang.String value)
DroolsKIEBase.name attribute.value - the nameprotected void setName(java.lang.String value)
DroolsKIEBase.name attribute.value - the namepublic java.util.Set<DroolsRule> getRules(SessionContext ctx)
DroolsKIEBase.rules attribute.public java.util.Set<DroolsRule> getRules()
DroolsKIEBase.rules attribute.public void setRules(SessionContext ctx, java.util.Set<DroolsRule> value)
DroolsKIEBase.rules attribute.value - the rulespublic void setRules(java.util.Set<DroolsRule> value)
DroolsKIEBase.rules attribute.value - the rulespublic void addToRules(SessionContext ctx, DroolsRule value)
value to rules.value - the item to add to rulespublic void addToRules(DroolsRule value)
value to rules.value - the item to add to rulespublic void removeFromRules(SessionContext ctx, DroolsRule value)
value from rules.value - the item to remove from rulespublic void removeFromRules(DroolsRule value)
value from rules.value - the item to remove from rulesCopyright © 2018 SAP SE. All Rights Reserved.