OSID Logo
OSID Specifications
rules package
Version 3.1.0
Interfaceosid.rules.RulesProxyManager
Implementsosid.OsidProxyManager
osid.rules.RulesProfile
Used Byosid.orchestration.OrchestrationManager
Description

The rules manager provides access to rules sessions and provides interoperability tests for various aspects of this service. These methods accept a Proxy.The sessions included in this manager are:

  • RuleEvaluationSession: 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.

MethodgetRuleEvaluationSession
Description

Gets the OsidSession associated with the rule evaluation service.

Parametersosid.proxy.Proxyproxy the proxy
Returnosid.rules.RuleEvaluationSession a RuleEvaluationSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsRuleEvaluation() is false
Complianceoptional This method must be implemented if supportsRuleEvaluation() is true.
MethodgetRuleEvaluationSessionForEngine
Description

Gets the OsidSession associated with the rule evaluation service for the given engine.

Parametersosid.id.IdengineId the Id of an Engine
osid.proxy.Proxyproxy the proxy
Returnosid.rules.RuleEvaluationSession a RuleEValuationSession
ErrorsNOT_FOUND no Engine found by the given Id
NULL_ARGUMENT engineId or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsRuleEvaluation() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsRuleEvaluation() and supportsVisibleFederation() are true
MethodgetRuleLookupSession
Description

Gets the OsidSession associated with the rule lookup service.

Parametersosid.proxy.Proxyproxy the proxy
Returnosid.rules.RuleLookupSession a RuleLookupSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsRuleLookup() is false
Complianceoptional This method must be implemented if supportsRuleLookup() is true.
MethodgetRuleLookupSessionForEngine
Description

Gets the OsidSession associated with the rule lookup service for the given engine.

Parametersosid.id.IdengineId the Id of an Engine
osid.proxy.Proxyproxy the proxy
Returnosid.rules.RuleLookupSession a RuleLookupSession
ErrorsNOT_FOUND no Engine found by the given Id
NULL_ARGUMENT engineId or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsRuleLookup() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsRuleLookup() and supportsVisibleFederation() are true
MethodgetRuleQuerySession
Description

Gets the OsidSession associated with the rule query service.

Parametersosid.proxy.Proxyproxy the proxy
Returnosid.rules.RuleQuerySession a RuleQuerySession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsRuleQuery() is false
Complianceoptional This method must be implemented if supportsRuleQuery() is true.
MethodgetRuleQuerySessionForEngine
Description

Gets the OsidSession associated with the rule query service for the given engine.

Parametersosid.id.IdengineId the Id of an Engine
osid.proxy.Proxyproxy the proxy
Returnosid.rules.RuleQuerySession a RuleQuerySession
ErrorsNOT_FOUND no Engine found by the given Id
NULL_ARGUMENT engineId or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsRuleQuery() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsRuleQuery() and supportsVisibleFederation() are true
MethodgetRuleSearchSession
Description

Gets the OsidSession associated with the rule search service.

Parametersosid.proxy.Proxyproxy the proxy
Returnosid.rules.RuleSearchSession a RuleSearchSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsRuleSearch() is false
Complianceoptional This method must be implemented if supportsRuleSearch() is true.
MethodgetRuleSearchSessionForEngine
Description

Gets the OsidSession associated with the rule search service for the given engine.

Parametersosid.id.IdengineId the Id of an Engine
osid.proxy.Proxyproxy the proxy
Returnosid.rules.RuleSearchSession a RuleSearchSession
ErrorsNOT_FOUND no Engine found by the given Id
NULL_ARGUMENT engindId or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsRuleSearch() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsRuleSearch() and supportsVisibleFederation() are true
MethodgetRuleAdminSession
Description

Gets the OsidSession associated with the rule administration service.

Parametersosid.proxy.Proxyproxy the proxy
Returnosid.rules.RuleAdminSession a RuleAdminSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsRuleAdmin() is false
Complianceoptional This method must be implemented if supportsRuleAdmin() is true.
MethodgetRuleAdminSessionForEngine
Description

Gets the OsidSession associated with the rule administration service for the given engine.

Parametersosid.id.IdengineId the Id of the Rule
osid.proxy.Proxyproxy the proxy
Returnosid.rules.RuleAdminSession a RuleAdminSession
ErrorsNOT_FOUND no Engine found by the given Id
NULL_ARGUMENT engindId or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsRuleAdmin() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsRuleAdmin() and supportsVisibleFederation() are true
MethodgetRuleNotificationSession
Description

Gets the OsidSession associated with the rule notification service.

Parametersosid.rules.RuleReceiverruleReceiver the receiver
osid.proxy.Proxyproxy the proxy
Returnosid.rules.RuleNotificationSession a RuleNotificationSession
ErrorsNULL_ARGUMENT ruleReceiver or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsRuleNotification() is false
Complianceoptional This method must be implemented if supportsRuleNotification() is true.
MethodgetRuleNotificationSessionForEngine
Description

Gets the OsidSession associated with the rule notification service for the given engine.

Parametersosid.rules.RuleReceiverruleReceiver the receiver
osid.id.IdengineId the Id of an Engine
osid.proxy.Proxyproxy the proxy
Returnosid.rules.RuleNotificationSession a RuleNotificationSession
ErrorsNOT_FOUND no Engine found by the given Id
NULL_ARGUMENT ruleReceiver, engineId or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsRuleNotification() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsRuleNotification() and supportsVisibleFederation() are true
MethodgetRuleEngineSession
Description

Gets the OsidSession to lookup rule/engine mappings.

Parametersosid.proxy.Proxyproxy the proxy
Returnosid.rules.RuleEngineSession a RuleEngineSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsRuleEngine() is false
Complianceoptional This method must be implemented if supportsRuleEngine() is true.
MethodgetRuleEngineAssignmentSession
Description

Gets the OsidSession associated with assigning rules to engines.

Parametersosid.proxy.Proxyproxy the proxy
Returnosid.rules.RuleEngineAssignmentSession a RuleEngineAssignmentSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsRuleEngineAssignment() is false
Complianceoptional This method must be implemented if supportsRuleEngineAssignment() is true.
MethodgetRuleSmartEngineSession
Description

Gets the OsidSession associated with the rule smart engine service for the given engine.

Parametersosid.id.IdengineId the Id of the Rule
osid.proxy.Proxyproxy the proxy
Returnosid.rules.RuleSmartEngineSession a RuleSmartEngineSession
ErrorsNOT_FOUND no Engine found by the given Id
NULL_ARGUMENT engindId or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsRuleSmartEngine() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsRuleSmartEngine() and supportsVisibleFederation() are true
MethodgetEngineLookupSession
Description

Gets the OsidSession associated with the engine lookup service.

Parametersosid.proxy.Proxyproxy the proxy
Returnosid.rules.EngineLookupSession an EngineLookupSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsEngineLookup() is false
Complianceoptional This method must be implemented if supportsEngineLookup() is true.
MethodgetEngineQuerySession
Description

Gets the OsidSession associated with the engine query service.

Parametersosid.proxy.Proxyproxy the proxy
Returnosid.rules.EngineQuerySession an EngineQuerySession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsEngineQuery() is false
Complianceoptional This method must be implemented if supportsEngineQuery() is true.
MethodgetEngineSearchSession
Description

Gets the OsidSession associated with the engine search service.

Parametersosid.proxy.Proxyproxy the proxy
Returnosid.rules.EngineSearchSession an EngineSearchSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsEngineSearch() is false
Complianceoptional This method must be implemented if supportsEngineSearch() is true.
MethodgetEngineAdminSession
Description

Gets the OsidSession associated with the engine administrative service.

Parametersosid.proxy.Proxyproxy the proxy
Returnosid.rules.EngineAdminSession an EngineAdminSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsEngineAdmin() is false
Complianceoptional This method must be implemented if supportsEngineAdmin() is true.
MethodgetEngineNotificationSession
Description

Gets the OsidSession associated with the engine notification service.

Parametersosid.rules.EngineReceiverengineReceiver the receiver
osid.proxy.Proxyproxy the proxy
Returnosid.rules.EngineNotificationSession an EngineNotificationSession
ErrorsNULL_ARGUMENT engineReceiver or proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsEngineNotification() is false
Complianceoptional This method must be implemented if supportsEngineNotification() is true.
MethodgetEngineHierarchySession
Description

Gets the OsidSession associated with the engine hierarchy service.

Parametersosid.proxy.Proxyproxy the proxy
Returnosid.rules.EngineHierarchySession an EngineHierarchySession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsEngineHierarchy() is false
Complianceoptional This method must be implemented if supportsEngineHierarchy() is true.
MethodgetEngineHierarchyDesignSession
Description

Gets the OsidSession associated with the engine hierarchy design service.

Parametersosid.proxy.Proxyproxy the proxy
Returnosid.rules.EngineHierarchyDesignSession an EngineHierarchyDesignSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsEngineHierarchyDesign() is false
Complianceoptional This method must be implemented if supportsEngineHierarchyDesign() is true.
MethodgetRulesCheckProxyManager
Description

Gets the RulesCheckProxyManager.

Returnosid.rules.check.RulesCheckProxyManager a RulesCheckProxyManager
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsRulesCheckManager() is false
Complianceoptional This method must be implemented if supportsRulesCheckManager() is true.