public interface RulesManager extends OsidManager, RulesProfile
The rules manager provides access to rules sessions and provides interoperability tests for various aspects of this service. The sessions included in this manager are:
RulesSession:
a session for evaluating and
executing rules RuleLookupSession:
a session to lookup rules RuleSearchSession:
a session to query rules RuleSearchSession:
a session to search rules RuleAdminSession:
a session to manage rules RuleNotificationSession:
a session to subscribe to
notifications of new rules RuleEngineSession
a session to retrieve rule
engine mappings RuleEngineAssignmentSession
a session to manage
rule engine mappings RuleSmartEngineSession
a session to manage dynamic
engines EngineLookupSession:
a session to retrieve engine
objects EngineSearchSession:
a session to query engines
EngineSearchSession:
a session to search for
engines EngineAdminSession:
a session to create, update
and delete engines EngineNotificationSession:
a session to receive
notifications for changes in engines EngineHierarchyTraversalSession:
a session to
traverse hierarchies of engines EngineHierarchyDesignSession:
a session to manage
hierarchies of engines The rules manager also provides a profile for determing the supported search types supported by this service.
Modifier and Type | Method and Description |
---|---|
EngineAdminSession |
getEngineAdminSession()
Gets the
OsidSession associated with the engine
administrative service. |
EngineHierarchyDesignSession |
getEngineHierarchyDesignSession()
Gets the
OsidSession associated with the engine
hierarchy design service. |
EngineHierarchySession |
getEngineHierarchySession()
Gets the
OsidSession associated with the engine
hierarchy service. |
EngineLookupSession |
getEngineLookupSession()
Gets the
OsidSession associated with the engine lookup
service. |
EngineNotificationSession |
getEngineNotificationSession(EngineReceiver engineReceiver)
Gets the
OsidSession associated with the engine
notification service. |
EngineQuerySession |
getEngineQuerySession()
Gets the
OsidSession associated with the engine query
service. |
EngineSearchSession |
getEngineSearchSession()
Gets the
OsidSession associated with the engine search
service. |
RuleAdminSession |
getRuleAdminSession()
Gets the
OsidSession associated with the rule
administrative service. |
RuleAdminSession |
getRuleAdminSessionForEngine(Id engineId)
Gets the
OsidSession associated with the rule
administrative service for the given engine. |
RuleEngineAssignmentSession |
getRuleEngineAssignmentSession()
Gets the
OsidSession associated with assigning rules to
engines. |
RuleEngineSession |
getRuleEngineSession()
Gets the
OsidSession to lookup rule/engine mappings. |
RuleLookupSession |
getRuleLookupSession()
Gets the
OsidSession associated with the rule lookup
service. |
RuleLookupSession |
getRuleLookupSessionForEngine(Id engineId)
Gets the
OsidSession associated with the rule lookup
service for the given engine. |
RuleNotificationSession |
getRuleNotificationSession(RuleReceiver ruleReceiver)
Gets the
OsidSession associated with the rule
notification service. |
RuleNotificationSession |
getRuleNotificationSessionForEngine(RuleReceiver ruleReceiver,
Id engineId)
Gets the
OsidSession associated with the rule
notification service for the given engine. |
RuleQuerySession |
getRuleQuerySession()
Gets the
OsidSession associated with the rule query
service. |
RuleQuerySession |
getRuleQuerySessionForEngine(Id engineId)
Gets the
OsidSession associated with the rule query
service for the given engine. |
RulesCheckManager |
getRulesCheckManager()
Gets the
RulesCheckManager. |
RuleSearchSession |
getRuleSearchSession()
Gets the
OsidSession associated with the rule search
service. |
RuleSearchSession |
getRuleSearchSessionForEngine(Id engineId)
Gets the
OsidSession associated with the rule search
service for the given engine. |
RuleSmartEngineSession |
getRuleSmartEngineSession(Id engineId)
Gets the
OsidSession associated with the rule smart
engine service for the given engine. |
RulesSession |
getRulesSession()
Gets the
OsidSession associated with the rule
evaluation service. |
RulesSession |
getRulesSessionForEngine(Id engineId)
Gets the
OsidSession associated with the rule
evaluation service for the given engine. |
changeBranch, initialize, rollbackService
close
getEngineRecordTypes, getEngineSearchRecordTypes, getRuleRecordTypes, getRuleSearchRecordTypes, supportsEngineAdmin, supportsEngineHierarchy, supportsEngineHierarchyDesign, supportsEngineLookup, supportsEngineNotification, supportsEngineQuery, supportsEngineRecordType, supportsEngineSearch, supportsEngineSearchRecordType, supportsRuleAdmin, supportsRuleEngine, supportsRuleEngineAssignment, supportsRuleLookup, supportsRuleNotification, supportsRuleQuery, supportsRuleRecordType, supportsRules, supportsRulesCheck, supportsRuleSearch, supportsRuleSearchRecordType, supportsRuleSmartEngine, supportsVisibleFederation
getBranch, getBranchId, getDescription, getDisplayName, getId, getLocales, getProxyRecordTypes, getReleaseDate, getVersion, supportsJournalBranching, supportsJournalRollback, supportsOSIDVersion, supportsProxyRecordType
getBranding, getBrandingIds, getLicense, getProvider, getProviderId
RulesSession getRulesSession() throws OperationFailedException
OsidSession
associated with the rule
evaluation service. RulesSession
OperationFailedException
- unable to complete requestUnimplementedException
- supportsRules()
is false
optional
- This method must be implemented if
supportsRuleEvaluation()
is true.
RulesSession getRulesSessionForEngine(Id engineId) throws NotFoundException, OperationFailedException
OsidSession
associated with the rule
evaluation service for the given engine.engineId
- the Id
of an Engine
RulesSession
NotFoundException
- no Engine
found by
the given Id
NullArgumentException
- engineId
is
null
OperationFailedException
- unable to complete requestUnimplementedException
- supportsRules()
or supportsVisibleFederation()
is false
optional
- This method must be implemented if
supportsRules()
and
supportsVisibleFederation()
are true
RuleLookupSession getRuleLookupSession() throws OperationFailedException
OsidSession
associated with the rule lookup
service. RuleLookupSession
OperationFailedException
- unable to complete requestUnimplementedException
- supportsRuleLookup()
is false
optional
- This method must be implemented if
supportsRuleLookup()
is true.
RuleLookupSession getRuleLookupSessionForEngine(Id engineId) throws NotFoundException, OperationFailedException
OsidSession
associated with the rule lookup
service for the given engine.engineId
- the Id
of an Engine
RuleLookupSession
NotFoundException
- no Engine
found by
the given Id
NullArgumentException
- engineId
is
null
OperationFailedException
- unable to complete requestUnimplementedException
- supportsRuleLookup()
or supportsVisibleFederation()
is
false
optional
- This method must be implemented if
supportsRuleLookup()
and
supportsVisibleFederation()
are true
RuleQuerySession getRuleQuerySession() throws OperationFailedException
OsidSession
associated with the rule query
service. RuleQuerySession
OperationFailedException
- unable to complete requestUnimplementedException
- supportsRuleQuery()
is false
optional
- This method must be implemented if
supportsRuleQuery()
is true.
RuleQuerySession getRuleQuerySessionForEngine(Id engineId) throws NotFoundException, OperationFailedException
OsidSession
associated with the rule query
service for the given engine.engineId
- the Id
of an Engine
RuleQuerySession
NotFoundException
- no Engine
found by
the given Id
NullArgumentException
- engineId
is
null
OperationFailedException
- unable to complete requestUnimplementedException
- supportsRuleQuery()
or supportsVisibleFederation()
is
false
optional
- This method must be implemented if
supportsRuleQuery()
and
supportsVisibleFederation()
are true
RuleSearchSession getRuleSearchSession() throws OperationFailedException
OsidSession
associated with the rule search
service. RuleSearchSession
OperationFailedException
- unable to complete requestUnimplementedException
- supportsRuleSearch()
is false
optional
- This method must be implemented if
supportsRuleSearch()
is true.
RuleSearchSession getRuleSearchSessionForEngine(Id engineId) throws NotFoundException, OperationFailedException
OsidSession
associated with the rule search
service for the given engine.engineId
- the Id
of an Engine
RuleSearchSession
NotFoundException
- no Engine
found by
the given Id
NullArgumentException
- engineId
is
null
OperationFailedException
- unable to complete requestUnimplementedException
- supportsRuleSearch()
or supportsVisibleFederation()
is
false
optional
- This method must be implemented if
supportsRuleSearch()
and
supportsVisibleFederation()
are true
RuleAdminSession getRuleAdminSession() throws OperationFailedException
OsidSession
associated with the rule
administrative service. RuleAdminSession
OperationFailedException
- unable to complete requestUnimplementedException
- supportsRuleAdmin()
is false
optional
- This method must be implemented if
supportsRuleAdmin()
is true.
RuleAdminSession getRuleAdminSessionForEngine(Id engineId) throws NotFoundException, OperationFailedException
OsidSession
associated with the rule
administrative service for the given engine.engineId
- the Id
of an Engine
RuleAdminSession
NotFoundException
- no Engine
found by
the given Id
NullArgumentException
- engineId
is
null
OperationFailedException
- unable to complete requestUnimplementedException
- supportsRuleAdmin()
or supportsVisibleFederation()
is
false
optional
- This method must be implemented if
supportsRuleAdmin()
and
supportsVisibleFederation()
are true
RuleNotificationSession getRuleNotificationSession(RuleReceiver ruleReceiver) throws OperationFailedException
OsidSession
associated with the rule
notification service.ruleReceiver
- the receiver RuleNotificationSession
NullArgumentException
- ruleReceiver
is
null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsRuleNotification()
is false
optional
- This method must be implemented if
supportsRuleNotification()
is true.
RuleNotificationSession getRuleNotificationSessionForEngine(RuleReceiver ruleReceiver, Id engineId) throws NotFoundException, OperationFailedException
OsidSession
associated with the rule
notification service for the given engine.ruleReceiver
- the receiverengineId
- the Id
of an Engine
RuleNotificationSession
NotFoundException
- no Rule
found by the
given Id
NullArgumentException
- ruleReceiver
or
engineId
is null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsRuleNotification()
or
supportsVisibleFederation()
is false
optional
- This method must be implemented if
supportsRuleNotification()
and
supportsVisibleFederation()
are true
RuleEngineSession getRuleEngineSession() throws OperationFailedException
OsidSession
to lookup rule/engine mappings. RuleEngineSession
OperationFailedException
- unable to complete requestUnimplementedException
- supportsRuleEngine()
is false
optional
- This method must be implemented if
supportsRuleEngine()
is true.
RuleEngineAssignmentSession getRuleEngineAssignmentSession() throws OperationFailedException
OsidSession
associated with assigning rules to
engines. RuleEngineAssignmentSession
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsRuleEngineAssignment()
is false
optional
- This method must be implemented if
supportsRuleEngineAssignment()
is true.
RuleSmartEngineSession getRuleSmartEngineSession(Id engineId) throws NotFoundException, OperationFailedException
OsidSession
associated with the rule smart
engine service for the given engine.engineId
- the Id
of an Engine
RuleSmartEngineSession
NotFoundException
- no Engine
found by
the given Id
NullArgumentException
- engineId
is
null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsRuleSmartEngine()
or
supportsVisibleFederation()
is false
optional
- This method must be implemented if
supportsRuleSmartEngine()
and
supportsVisibleFederation()
are true
EngineLookupSession getEngineLookupSession() throws OperationFailedException
OsidSession
associated with the engine lookup
service. EngineLookupSession
OperationFailedException
- unable to complete requestUnimplementedException
- supportsEngineLookup()
is false
optional
- This method must be implemented if
supportsEngineLookup()
is true.
EngineQuerySession getEngineQuerySession() throws OperationFailedException
OsidSession
associated with the engine query
service. EngineQuerySession
OperationFailedException
- unable to complete requestUnimplementedException
- supportsEngineQuery()
is false
optional
- This method must be implemented if
supportsEngineQuery()
is true.
EngineSearchSession getEngineSearchSession() throws OperationFailedException
OsidSession
associated with the engine search
service. EngineSearchSession
OperationFailedException
- unable to complete requestUnimplementedException
- supportsEngineSearch()
is false
optional
- This method must be implemented if
supportsEngineSearch()
is true.
EngineAdminSession getEngineAdminSession() throws OperationFailedException
OsidSession
associated with the engine
administrative service. EngineAdminSession
OperationFailedException
- unable to complete requestUnimplementedException
- supportsEngineAdmin()
is false
optional
- This method must be implemented if
supportsEngineAdmin()
is true.
EngineNotificationSession getEngineNotificationSession(EngineReceiver engineReceiver) throws OperationFailedException
OsidSession
associated with the engine
notification service.engineReceiver
- the receiver EngineNotificationSession
NullArgumentException
- engineReceiver
is null
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsEngineNotification()
is false
optional
- This method must be implemented if
supportsEngineNotification()
is true.
EngineHierarchySession getEngineHierarchySession() throws OperationFailedException
OsidSession
associated with the engine
hierarchy service. EngineHierarchySession
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsEngineHierarchy()
is false
optional
- This method must be implemented if
supportsEngineHierarchy()
is true.
EngineHierarchyDesignSession getEngineHierarchyDesignSession() throws OperationFailedException
OsidSession
associated with the engine
hierarchy design service. EngineierarchyDesignSession
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsEngineHierarchyDesign()
is false
optional
- This method must be implemented if
supportsEngineHierarchyDesign()
is true.
RulesCheckManager getRulesCheckManager() throws OperationFailedException
RulesCheckManager.
RulesCheckManager
OperationFailedException
- unable to complete requestUnimplementedException
-
supportsRulesCheckManager()
is false
optional
- This method must be implemented if
supportsRulesCheckManager()
is true.