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
same call as createEntity(astrEntityClassName,prop)
where prop = value of com.corticon.services.registerNewSCOEntities
|
ICcDataObject |
createEntity(java.lang.String astrEntityClassName,
boolean abRegister)
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
|
ICcServerHttpInfo |
getCcServerHttpInfo()
Returns ICcServerHttpInfo object related to this DataObjectManager
|
IDatabaseDriverManager |
getDatabaseDriverManager()
Returns IDatabaseDriverManager object related to this DataObjectManager
|
IDatasourceManager |
getDatasourceManager()
Returns the IDatasourceManager related to this DataObjectManager
|
IDecisionServiceMetadata |
getDecisionServiceMetadata()
Returns the IDecisionServiceMetadata object related to this DataObjectManager
|
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
|
ILicenseMetadata |
getLicenseMetadata()
Returns the ILicenseMetadata object related to this DataObjectManager
|
IQueryServiceManager |
getQueryServiceManager()
Returns the IQueryServiceManager related to this DataObjectManager
|
IVocabularyMetadata |
getVocabularyMetadata()
Returns the IVocabularyMetadata object related to this DataObjectManager
|
void |
logDebug(java.lang.String astrLogMessage,
java.lang.Object aLogObject)
Log a message to the Corticon log mechanism at DEBUG log level
|
void |
logError(java.lang.String astrLogMessage,
java.lang.Object aLogObject)
Log a message to the Corticon log mechanism at ERROR 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 |
logTiming(java.lang.String astrLogMessage,
java.lang.Object aLogObject)
Log a message to the Corticon log mechanism at TIMING 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
- ICcDataObject createEntity(java.lang.String astrEntityClassName, boolean abRegister)
astrEntityClassName
- abRegister
- register this new entity with the output documentvoid 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 logTiming(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 messagevoid logError(java.lang.String astrLogMessage, java.lang.Object aLogObject)
astrLogMessage
- - The message to logaLogObject
- - The object association with this log messageIVocabularyMetadata getVocabularyMetadata()
ILicenseMetadata getLicenseMetadata()
IDecisionServiceMetadata getDecisionServiceMetadata()
IDatabaseDriverManager getDatabaseDriverManager() throws java.lang.Exception
java.lang.Exception
IDatasourceManager getDatasourceManager()
IQueryServiceManager getQueryServiceManager()
ICcServerHttpInfo getCcServerHttpInfo()
Copyright © 2005-2018 Progress Software Corporation and/or its subsidiaries and affiliates. All rights reserved.