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 Map<String,Item.AttributeMode> |
DEFAULT_INITIAL_ATTRIBUTES |
static String |
DEFAULTKIESESSION
Qualifier of the
DroolsKIEBase.defaultKIESession attribute |
static String |
EQUALITYBEHAVIOR
Qualifier of the
DroolsKIEBase.equalityBehavior attribute |
static String |
EVENTPROCESSINGMODE
Qualifier of the
DroolsKIEBase.eventProcessingMode attribute |
static 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 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 String |
NAME
Qualifier of the
DroolsKIEBase.name attribute |
static 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 Map<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. |
Collection<DroolsKIESession> |
getKieSessions()
Generated method - Getter of the
DroolsKIEBase.kieSessions attribute. |
Collection<DroolsKIESession> |
getKieSessions(SessionContext ctx)
Generated method - Getter of the
DroolsKIEBase.kieSessions attribute. |
String |
getName()
Generated method - Getter of the
DroolsKIEBase.name attribute. |
String |
getName(SessionContext ctx)
Generated method - Getter of the
DroolsKIEBase.name attribute. |
Set<DroolsRule> |
getRules()
Generated method - Getter of the
DroolsKIEBase.rules attribute. |
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. |
void |
setKieModule(DroolsKIEModule value)
Generated method - Setter of the
DroolsKIEBase.kieModule attribute. |
void |
setKieModule(SessionContext ctx,
DroolsKIEModule value)
Generated method - Setter of the
DroolsKIEBase.kieModule attribute. |
void |
setKieSessions(Collection<DroolsKIESession> value)
Generated method - Setter of the
DroolsKIEBase.kieSessions attribute. |
void |
setKieSessions(SessionContext ctx,
Collection<DroolsKIESession> value)
Generated method - Setter of the
DroolsKIEBase.kieSessions attribute. |
protected void |
setName(SessionContext ctx,
String value)
Generated method - Setter of the
DroolsKIEBase.name attribute. |
protected void |
setName(String value)
Generated method - Setter of the
DroolsKIEBase.name attribute. |
void |
setRules(SessionContext ctx,
Set<DroolsRule> value)
Generated method - Setter of the
DroolsKIEBase.rules attribute. |
void |
setRules(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, 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, isRelationLocalizationFallbackEnabled, newInstance, notifyExtensionsAfterItemCreation, notifyExtensionsBeforeItemCreation, notifyItemRemoval, readResolve, refreshRemote, 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, writeReplacegetImplementation, setTenantpublic static final String NAME
DroolsKIEBase.name attributepublic static final String EQUALITYBEHAVIOR
DroolsKIEBase.equalityBehavior attributepublic static final String EVENTPROCESSINGMODE
DroolsKIEBase.eventProcessingMode attributepublic static final String DEFAULTKIESESSION
DroolsKIEBase.defaultKIESession attributepublic static final String KIEMODULE
DroolsKIEBase.kieModule attributepublic static final String KIESESSIONS
DroolsKIEBase.kieSessions attributepublic static final 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 Map<String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
protected Map<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.public void setKieModule(SessionContext ctx, DroolsKIEModule value)
DroolsKIEBase.kieModule attribute.value - the kieModulepublic void setKieModule(DroolsKIEModule value)
DroolsKIEBase.kieModule attribute.value - the kieModulepublic Collection<DroolsKIESession> getKieSessions(SessionContext ctx)
DroolsKIEBase.kieSessions attribute.public Collection<DroolsKIESession> getKieSessions()
DroolsKIEBase.kieSessions attribute.public void setKieSessions(SessionContext ctx, Collection<DroolsKIESession> value)
DroolsKIEBase.kieSessions attribute.value - the kieSessionspublic void setKieSessions(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 String getName(SessionContext ctx)
DroolsKIEBase.name attribute.public String getName()
DroolsKIEBase.name attribute.protected void setName(SessionContext ctx, String value)
DroolsKIEBase.name attribute.value - the nameprotected void setName(String value)
DroolsKIEBase.name attribute.value - the namepublic Set<DroolsRule> getRules(SessionContext ctx)
DroolsKIEBase.rules attribute.public Set<DroolsRule> getRules()
DroolsKIEBase.rules attribute.public void setRules(SessionContext ctx, Set<DroolsRule> value)
DroolsKIEBase.rules attribute.value - the rulespublic void setRules(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 © 2017 SAP SE. All Rights Reserved.