OSID Logo
OSID Specifications
ontology rules package
Version 3.1.0
Interfaceosid.ontology.rules.OntologyRulesManager
Implementsosid.OsidManager
osid.ontology.rules.OntologyRulesProfile
Used Byosid.ontology.OntologyManager
Description

The ontology rules manager provides access to ontology rules sessions and provides interoperability tests for various aspects of this service. The sessions included in this manager are:

  • RelevancyEnablerLookupSession: a session to retrieve relevancy enablers
  • RelevancyEnablerQuerySession: a session to query for relevancy enablers
  • RelevancyEnablerSearchSession: a session to search for relevancy enablers
  • RelevancyEnablerAdminSession: a session to create and delete relevancy enablers
  • RelevancyEnablerNotificationSession: a session to receive notifications pertaining to relevancy enabler changes
  • RelevancyEnablerOntologySession: a session to look up relevancy enabler ontology mappings
  • RelevancyEnablerOntologyAssignmentSession: a session to manage relevancy enabler to ontology mappings
  • RelevancyEnablerSmartOntologySession: a session to manage dynamic ontologies of relevancy enablers
  • RelevancyEnablerRuleLookupSession: a session to look up relevancy enabler to relevancy mappings
  • RelevancyEnablerRuleApplicationSession: a session to apply relevancy enablers to relevancies
MethodgetRelevancyEnablerLookupSession
Description

Gets the OsidSession associated with the relevancy enabler lookup service.

Returnosid.ontology.rules.RelevancyEnablerLookupSession a RelevancyEnablerLookupSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsRelevancyEnablerLookup() is false
Complianceoptional This method must be implemented if supportsRelevancyEnablerLookup() is true.
MethodgetRelevancyEnablerLookupSessionForOntology
Description

Gets the OsidSession associated with the relevancy enabler lookup service for the given ontology.

Parametersosid.id.IdontologyId the Id of the Ontology
Returnosid.ontology.rules.RelevancyEnablerLookupSession a RelevancyEnablerLookupSession
ErrorsNOT_FOUND no Ontology found by the given Id
NULL_ARGUMENT ontologyId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsRelevancyEnablerLookup() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsRelevancyEnablerLookup() and supportsVisibleFederation() are true.
MethodgetRelevancyEnablerQuerySession
Description

Gets the OsidSession associated with the relevancy enabler query service.

Returnosid.ontology.rules.RelevancyEnablerQuerySession a RelevancyEnablerQuerySession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsRelevancyEnablerQuery() is false
Complianceoptional This method must be implemented if supportsRelevancyEnablerQuery() is true.
MethodgetRelevancyEnablerQuerySessionForOntology
Description

Gets the OsidSession associated with the relevancy enabler query service for the given ontology.

Parametersosid.id.IdontologyId the Id of the Ontology
Returnosid.ontology.rules.RelevancyEnablerQuerySession a RelevancyEnablerQuerySession
ErrorsNOT_FOUND no Ontology found by the given Id
NULL_ARGUMENT ontologyId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsRelevancyEnablerQuery() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsRelevancyEnablerQuery() and supportsVisibleFederation() are true
MethodgetRelevancyEnablerSearchSession
Description

Gets the OsidSession associated with the relevancy enabler search service.

Returnosid.ontology.rules.RelevancyEnablerSearchSession a RelevancyEnablerSearchSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsRelevancyEnablerSearch() is false
Complianceoptional This method must be implemented if supportsRelevancyEnablerSearch() is true.
MethodgetRelevancyEnablerSearchSessionForOntology
Description

Gets the OsidSession associated with the relevancy enablers earch service for the given ontology.

Parametersosid.id.IdontologyId the Id of the Ontology
Returnosid.ontology.rules.RelevancyEnablerSearchSession a RelevancyEnablerSearchSession
ErrorsNOT_FOUND no Ontology found by the given Id
NULL_ARGUMENT ontologyId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsRelevancyEnablerSearch() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsRelevancyEnablerSearch() and supportsVisibleFederation() are true.
MethodgetRelevancyEnablerAdminSession
Description

Gets the OsidSession associated with the relevancy enabler administration service.

Returnosid.ontology.rules.RelevancyEnablerAdminSession a RelevancyEnablerAdminSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsRelevancyEnablerAdmin() is false
Complianceoptional This method must be implemented if supportsRelevancyEnablerAdmin() is true.
MethodgetRelevancyEnablerAdminSessionForOntology
Description

Gets the OsidSession associated with the relevancy enabler administration service for the given ontology.

Parametersosid.id.IdontologyId the Id of the Ontology
Returnosid.ontology.rules.RelevancyEnablerAdminSession a RelevancyEnablerAdminSession
ErrorsNOT_FOUND no Ontology found by the given Id
NULL_ARGUMENT ontologyId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsRelevancyEnablerAdmin() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsRelevancyEnablerAdmin() and supportsVisibleFederation() are true
MethodgetRelevancyEnablerNotificationSession
Description

Gets the OsidSession associated with the relevancy enabler notification service.

Parametersosid.ontology.rules.RelevancyEnablerReceiverrelevancyEnablerReceiver the notification callback
Returnosid.ontology.rules.RelevancyEnablerNotificationSession a RelevancyEnablerNotificationSession
ErrorsNULL_ARGUMENT relevancyEnablerReceiver is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsRelevancyEnablerNotification() is false
Complianceoptional This method must be implemented if supportsRelevancyEnablerNotification() is true.
MethodgetRelevancyEnablerNotificationSessionForOntology
Description

Gets the OsidSession associated with the relevancy enabler notification service for the given ontology.

Parametersosid.ontology.rules.RelevancyEnablerReceiverrelevancyEnablerReceiver the notification callback
osid.id.IdontologyId the Id of the Ontology
Returnosid.ontology.rules.RelevancyEnablerNotificationSession a RelevancyEnablerNotificationSession
ErrorsNOT_FOUND no ontology found by the given Id
NULL_ARGUMENT relevancyEnablerReceiver or ontologyId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsRelevancyEnablerNotification() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsRelevancyEnablerNotification() and supportsVisibleFederation() are true.
MethodgetRelevancyEnablerOntologySession
Description

Gets the OsidSession to lookup relevancy enabler/ontology mappings for relevancy enablers.

Returnosid.ontology.rules.RelevancyEnablerOntologySession a RelevancyEnablerOntologySession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsRelevancyEnablerOntology() is false
Complianceoptional This method must be implemented if supportsRelevancyEnablerOntology() is true.
MethodgetRelevancyEnablerOntologyAssignmentSession
Description

Gets the OsidSession associated with assigning relevancy enablers to ontologies for relevancy.

Returnosid.ontology.rules.RelevancyEnablerOntologyAssignmentSession a RelevancyEnablerOntologyAssignmentSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsRelevancyEnablerOntologyAssignment() is false
Complianceoptional This method must be implemented if supportsRelevancyEnablerOntologyAssignment() is true .
MethodgetRelevancyEnablerSmartOntologySession
Description

Gets the OsidSession to manage relevancy enabler smart ontologies.

Parametersosid.id.IdontologyId the Id of the Ontology
Returnosid.ontology.rules.RelevancyEnablerSmartOntologySession a RelevancyEnablerSmartOntologySession
ErrorsNOT_FOUND no Ontology found by the given Id
NULL_ARGUMENT ontologyId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsRelevancyEnablerSmartOntology() is false
Complianceoptional This method must be implemented if supportsRelevancyEnablerSmartOntology() is true.
MethodgetRelevancyEnablerRuleLookupSession
Description

Gets the OsidSession associated with the relevancy enabler mapping lookup service.

Returnosid.ontology.rules.RelevancyEnablerRuleLookupSession a RelevancyEnablerRuleSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsRelevancyEnablerRuleLookup() is false
Complianceoptional This method must be implemented if supportsRelevancyEnablerRuleLookup() is true.
MethodgetRelevancyEnablerRuleLookupSessionForOntology
Description

Gets the OsidSession associated with the relevancy enabler mapping lookup service for the given ontology.

Parametersosid.id.IdontologyId the Id of the Ontology
Returnosid.ontology.rules.RelevancyEnablerRuleLookupSession a RelevancyEnablerRuleLookupSession
ErrorsNOT_FOUND no Ontology found by the given Id
NULL_ARGUMENT ontologyId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsRelevancyEnablerRuleLookup() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsRelevancyEnablerRuleLookup() and supportsVisibleFederation() are true.
MethodgetRelevancyEnablerRuleApplicationSession
Description

Gets the OsidSession associated with the relevancy enabler assignment service.

Returnosid.ontology.rules.RelevancyEnablerRuleApplicationSession a RelevancyEnablerRuleApplicationSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsRelevancyEnablerRuleApplication() is false
Complianceoptional This method must be implemented if supportsRelevancyEnablerRuleApplication() is true.
MethodgetRelevancyEnablerRuleApplicationSessionForOntology
Description

Gets the OsidSession associated with the relevancy enabler assignment service for the given ontology.

Parametersosid.id.IdontologyId the Id of the Ontology
Returnosid.ontology.rules.RelevancyEnablerRuleApplicationSession a RelevancyEnablerRuleApplicationSession
ErrorsNOT_FOUND no Ontology found by the given Id
NULL_ARGUMENT ontologyId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsRelevancyEnablerRuleApplication() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsRelevancyEnablerRuleApplication() and supportsVisibleFederation() are true.