| Interface | osid.ontology.rules.RelevancyEnablerSmartOntologySession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description |
This session manages queries and sequencing to create
"smart" dynamic ontologies. A This | ||
| Method | getOntologyId | ||
| Description |
Gets the | ||
| Return | osid.id.Id | the Ontology Id associated with this session | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getOntology | ||
| Description |
Gets the | ||
| Return | osid.ontology.Ontology | the ontology | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canManageSmartOntologies | ||
| Description |
Tests if this user can manage smart ontologies. A
return of true does not guarantee successful
authorization. A return of false indicates that it is
known methods in this session will result in a | ||
| Return | boolean | false if smart ontology management is not authorized,
true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getRelevancyEnablerQuery | ||
| Description |
Gets a relevancy enabler query. | ||
| Return | osid.ontology.rules.RelevancyEnablerQuery | the relevancy enabler query | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getRelevancyEnablerSearchOrder | ||
| Description |
Gets a relevancy enabler search order. | ||
| Return | osid.ontology.rules.RelevancyEnablerSearchOrder | the relevancy enabler search order | |
| Compliance | mandatory | This method must be implemented. | |
| Method | applyRelevancyEnablerQuery | ||
| Description |
Applies a relevancy enabler query to this ontology. | ||
| Parameters | osid.ontology.rules.RelevancyEnablerQuery | relevancyEnablerQuery | the relevancy enabler query |
| Errors | NULL_ARGUMENT | relevancyEnablerQuery is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure occurred | ||
| UNSUPPORTED | relevancyEnablerQuery not of this service | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | inspectRelevancyEnablerQuery | ||
| Description |
Gets a relevancy enabler query inspector for this ontology. | ||
| Return | osid.ontology.rules.RelevancyEnablerQueryInspector | the relevancy enabler query inspector | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure occurred | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | applyRelevancyEnablerSequencing | ||
| Description |
Applies a relevancy enabler search order to this ontology. | ||
| Parameters | osid.ontology.rules.RelevancyEnablerSearchOrder | relevancyEnablerSearchOrder | the relevancy enabler search order |
| Errors | NULL_ARGUMENT | relevancyEnablerSearchOrder is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure occurred | ||
| UNSUPPORTED | relevancyEnablerSearchOrder not of this service | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getRelevancyEnablerQueryFromInspector | ||
| Description |
Gets a relevancy enabler query from an inspector. | ||
| Parameters | osid.ontology.rules.RelevancyEnablerQueryInspector | relevancyEnablerQueryInspector | a relevancy enabler query inspector |
| Return | osid.ontology.rules.RelevancyEnablerQuery | the relevancy enabler query | |
| Errors | NULL_ARGUMENT | relevancyEnablerQueryInspector is null | |
| UNSUPPORTED | relevancyEnablerQueryInspector is not of this service | ||
| Compliance | mandatory | This method must be implemented. | |