Interface | osid.ontology.rules.OntologyRulesManager | ||
---|---|---|---|
Implements | osid.OsidManager | ||
osid.ontology.rules.OntologyRulesProfile | |||
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:
| ||
Method | getRelevancyEnablerLookupSession | ||
Description |
Gets the | ||
Return | osid.ontology.rules.RelevancyEnablerLookupSession | a RelevancyEnablerLookupSession | |
Errors | OPERATION_FAILED | unable to complete request | |
UNIMPLEMENTED | supportsRelevancyEnablerLookup() is false | ||
Compliance | optional | This method must be implemented if supportsRelevancyEnablerLookup()
is true. | |
Method | getRelevancyEnablerLookupSessionForOntology | ||
Description |
Gets the | ||
Parameters | osid.id.Id | ontologyId | the Id of the Ontology |
Return | osid.ontology.rules.RelevancyEnablerLookupSession | a RelevancyEnablerLookupSession | |
Errors | NOT_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 | ||
Compliance | optional | This method must be implemented if supportsRelevancyEnablerLookup()
and supportsVisibleFederation() are true.
| |
Method | getRelevancyEnablerQuerySession | ||
Description |
Gets the | ||
Return | osid.ontology.rules.RelevancyEnablerQuerySession | a RelevancyEnablerQuerySession | |
Errors | OPERATION_FAILED | unable to complete request | |
UNIMPLEMENTED | supportsRelevancyEnablerQuery() is false | ||
Compliance | optional | This method must be implemented if supportsRelevancyEnablerQuery()
is true. | |
Method | getRelevancyEnablerQuerySessionForOntology | ||
Description |
Gets the | ||
Parameters | osid.id.Id | ontologyId | the Id of the Ontology |
Return | osid.ontology.rules.RelevancyEnablerQuerySession | a RelevancyEnablerQuerySession | |
Errors | NOT_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 | ||
Compliance | optional | This method must be implemented if supportsRelevancyEnablerQuery()
and supportsVisibleFederation() are true | |
Method | getRelevancyEnablerSearchSession | ||
Description |
Gets the | ||
Return | osid.ontology.rules.RelevancyEnablerSearchSession | a RelevancyEnablerSearchSession | |
Errors | OPERATION_FAILED | unable to complete request | |
UNIMPLEMENTED | supportsRelevancyEnablerSearch() is false | ||
Compliance | optional | This method must be implemented if supportsRelevancyEnablerSearch()
is true. | |
Method | getRelevancyEnablerSearchSessionForOntology | ||
Description |
Gets the | ||
Parameters | osid.id.Id | ontologyId | the Id of the Ontology |
Return | osid.ontology.rules.RelevancyEnablerSearchSession | a RelevancyEnablerSearchSession | |
Errors | NOT_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 | ||
Compliance | optional | This method must be implemented if supportsRelevancyEnablerSearch()
and supportsVisibleFederation() are true.
| |
Method | getRelevancyEnablerAdminSession | ||
Description |
Gets the | ||
Return | osid.ontology.rules.RelevancyEnablerAdminSession | a RelevancyEnablerAdminSession | |
Errors | OPERATION_FAILED | unable to complete request | |
UNIMPLEMENTED | supportsRelevancyEnablerAdmin() is false | ||
Compliance | optional | This method must be implemented if supportsRelevancyEnablerAdmin()
is true. | |
Method | getRelevancyEnablerAdminSessionForOntology | ||
Description |
Gets the | ||
Parameters | osid.id.Id | ontologyId | the Id of the Ontology |
Return | osid.ontology.rules.RelevancyEnablerAdminSession | a RelevancyEnablerAdminSession | |
Errors | NOT_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 | ||
Compliance | optional | This method must be implemented if supportsRelevancyEnablerAdmin()
and supportsVisibleFederation() are true | |
Method | getRelevancyEnablerNotificationSession | ||
Description |
Gets the | ||
Parameters | osid.ontology.rules.RelevancyEnablerReceiver | relevancyEnablerReceiver | the notification callback |
Return | osid.ontology.rules.RelevancyEnablerNotificationSession | a RelevancyEnablerNotificationSession | |
Errors | NULL_ARGUMENT | relevancyEnablerReceiver is null | |
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsRelevancyEnablerNotification() is false
| ||
Compliance | optional | This method must be implemented if
supportsRelevancyEnablerNotification() is true. | |
Method | getRelevancyEnablerNotificationSessionForOntology | ||
Description |
Gets the | ||
Parameters | osid.ontology.rules.RelevancyEnablerReceiver | relevancyEnablerReceiver | the notification callback |
osid.id.Id | ontologyId | the Id of the Ontology | |
Return | osid.ontology.rules.RelevancyEnablerNotificationSession | a RelevancyEnablerNotificationSession | |
Errors | NOT_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 | ||
Compliance | optional | This method must be implemented if
supportsRelevancyEnablerNotification() and
supportsVisibleFederation() are true. | |
Method | getRelevancyEnablerOntologySession | ||
Description |
Gets the | ||
Return | osid.ontology.rules.RelevancyEnablerOntologySession | a RelevancyEnablerOntologySession | |
Errors | OPERATION_FAILED | unable to complete request | |
UNIMPLEMENTED | supportsRelevancyEnablerOntology() is false | ||
Compliance | optional | This method must be implemented if
supportsRelevancyEnablerOntology() is true. | |
Method | getRelevancyEnablerOntologyAssignmentSession | ||
Description |
Gets the | ||
Return | osid.ontology.rules.RelevancyEnablerOntologyAssignmentSession | a RelevancyEnablerOntologyAssignmentSession | |
Errors | OPERATION_FAILED | unable to complete request | |
UNIMPLEMENTED | supportsRelevancyEnablerOntologyAssignment() is false
| ||
Compliance | optional | This method must be implemented if
supportsRelevancyEnablerOntologyAssignment() is true. | |
Method | getRelevancyEnablerSmartOntologySession | ||
Description |
Gets the | ||
Parameters | osid.id.Id | ontologyId | the Id of the Ontology |
Return | osid.ontology.rules.RelevancyEnablerSmartOntologySession | a RelevancyEnablerSmartOntologySession | |
Errors | NOT_FOUND | no Ontology found by the given Id | |
NULL_ARGUMENT | ontologyId is null | ||
OPERATION_FAILED | unable to complete request | ||
UNIMPLEMENTED | supportsRelevancyEnablerSmartOntology() is false
| ||
Compliance | optional | This method must be implemented if
supportsRelevancyEnablerSmartOntology() is true. | |
Method | getRelevancyEnablerRuleLookupSession | ||
Description |
Gets the | ||
Return | osid.ontology.rules.RelevancyEnablerRuleLookupSession | a RelevancyEnablerRuleSession | |
Errors | OPERATION_FAILED | unable to complete request | |
UNIMPLEMENTED | supportsRelevancyEnablerRuleLookup() is false | ||
Compliance | optional | This method must be implemented if
supportsRelevancyEnablerRuleLookup() is true. | |
Method | getRelevancyEnablerRuleLookupSessionForOntology | ||
Description |
Gets the | ||
Parameters | osid.id.Id | ontologyId | the Id of the Ontology |
Return | osid.ontology.rules.RelevancyEnablerRuleLookupSession | a RelevancyEnablerRuleLookupSession | |
Errors | NOT_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 | ||
Compliance | optional | This method must be implemented if
supportsRelevancyEnablerRuleLookup() and
supportsVisibleFederation() are true. | |
Method | getRelevancyEnablerRuleApplicationSession | ||
Description |
Gets the | ||
Return | osid.ontology.rules.RelevancyEnablerRuleApplicationSession | a RelevancyEnablerRuleApplicationSession | |
Errors | OPERATION_FAILED | unable to complete request | |
UNIMPLEMENTED | supportsRelevancyEnablerRuleApplication() is false
| ||
Compliance | optional | This method must be implemented if
supportsRelevancyEnablerRuleApplication() is true. | |
Method | getRelevancyEnablerRuleApplicationSessionForOntology | ||
Description |
Gets the | ||
Parameters | osid.id.Id | ontologyId | the Id of the Ontology |
Return | osid.ontology.rules.RelevancyEnablerRuleApplicationSession | a RelevancyEnablerRuleApplicationSession | |
Errors | NOT_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 | ||
Compliance | optional | This method must be implemented if
supportsRelevancyEnablerRuleApplication() and
supportsVisibleFederation() are true. |