public interface ICcDataObjectManager
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
INFO
INFO severity is used to post a message of an audit trail nature. |
static java.lang.String |
VIOLATION
VIOLATION severity is used to post a message indicating a constraint business
rule has been violated. |
static java.lang.String |
WARNING
WARNING severity is used to post a message indicating a constraint business
rule is close to being violated. |
Modifier and Type | Method and Description |
---|---|
ICcDataObject |
createEntity(java.lang.String astrEntityClassName)
Create a new Entity instance of the given class and add it to working memory of the rule engine
|
java.util.Set<ICcDataObject> |
getAllEntities()
Get a set of all Entity instances currently held in the engine work memory
|
java.util.Set<ICcDataObject> |
getEntitiesByName(java.lang.String astrEntityClassName)
Get a set of Entity instances of the given class currently held in the engine working memory
|
ICcDataObject |
getEntityByUID(java.lang.String astrUID)
Get an Entity instance with the given internal unique identifier
|
java.util.Set<java.lang.String> |
getEntityClassNames()
Get a set of all Entity class names, the instances of which are currently held in the engine working memory
|
void |
logDebug(java.lang.String astrLogMessage,
java.lang.Object aLogObject)
Log a message to the Corticon log mechanism at DEBUG log level
|
void |
logInfo(java.lang.String astrLogMessage,
java.lang.Object aLogObject)
Log a message to the Corticon log mechanism at INFO log level
|
void |
logRuleTrace(java.lang.String astrLogMessage,
java.lang.Object aLogObject)
Log a message to the Corticon log mechanism at RULETRACE log level
|
void |
logViolation(java.lang.String astrLogMessage,
java.lang.Object aLogObject)
Log a message to the Corticon log mechanism at VIOLATION log level
|
void |
logWarning(java.lang.String astrLogMessage,
java.lang.Object aLogObject)
Log a message to the Corticon log mechanism at WARNING log level
|
void |
postMessage(java.lang.String astrSeverity,
java.lang.String astrMsg,
ICcDataObject aEntity)
Post the given message against the specified Entity instance
|
void |
removeEntity(ICcDataObject aEntity)
Remove/delete the give Entity instance from the rule engine working memory
|
static final java.lang.String INFO
INFO
severity is used to post a message of an audit trail nature.static final java.lang.String WARNING
WARNING
severity is used to post a message indicating a constraint business
rule is close to being violated. The client should typically allow the current transaction
to complete, but give the user the appropriate warning messages.static final java.lang.String VIOLATION
VIOLATION
severity is used to post a message indicating a constraint business
rule has been violated. The client should typically roll back the current transaction if
any such messages are posted.java.util.Set<java.lang.String> getEntityClassNames()
java.util.Set<ICcDataObject> getAllEntities()
java.util.Set<ICcDataObject> getEntitiesByName(java.lang.String astrEntityClassName)
astrEntityClassName
- - the Entity class nameICcDataObject getEntityByUID(java.lang.String astrUID)
astrUID
- - the internal UID of the Entity instanceICcDataObject createEntity(java.lang.String astrEntityClassName)
astrEntityClassName
- void removeEntity(ICcDataObject aEntity)
aEntity
- void postMessage(java.lang.String astrSeverity, java.lang.String astrMsg, ICcDataObject aEntity)
astrSeverity
- - one of the following values:
- ICcDataObjectManager.INFO
- ICcDataObjectManager.WARNING
- ICcDataObjectManager.VIOLATIONastrMsg
- - the content of the messageaEntity
- - the Entity instance against which the message is to be postedvoid logDebug(java.lang.String astrLogMessage, java.lang.Object aLogObject)
astrLogMessage
- - The message to logaLogObject
- - The object association with this log messagevoid logInfo(java.lang.String astrLogMessage, java.lang.Object aLogObject)
astrLogMessage
- - The message to logaLogObject
- - The object association with this log messagevoid logRuleTrace(java.lang.String astrLogMessage, java.lang.Object aLogObject)
astrLogMessage
- - The message to logaLogObject
- - The object association with this log messagevoid logWarning(java.lang.String astrLogMessage, java.lang.Object aLogObject)
astrLogMessage
- - The message to logaLogObject
- - The object association with this log messagevoid logViolation(java.lang.String astrLogMessage, java.lang.Object aLogObject)
astrLogMessage
- - The message to logaLogObject
- - The object association with this log messageCopyright © 2005-2016 Progress Software Corporation and/or its subsidiaries and affiliates. All rights reserved.