Interface | osid.ontology.rules.RelevancyEnablerOntologySession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session provides methods to retrieve This lookup session defines several views:
| ||
Method | canLookupRelevancyEnablerOntologyMappings | ||
Description |
Tests if this user can perform lookups of relevancy
enabler/ontology mappings. A return of true does not
guarantee successful authorization. A return of false
indicates that it is known lookup methods in this session
will result in a | ||
Return | boolean | false if looking up mappings is not authorized, true
otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | useComparativeRelevancyEnablerOntologyView | ||
Description |
The returns from the lookup methods may omit or translate elements based on this session, such as authorization, and not result in an error. This view is used when greater interoperability is desired at the expense of precision. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | usePlenaryRelevancyEnablerOntologyView | ||
Description |
A complete view of the | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getRelevancyEnablerIdsByOntology | ||
Description |
Gets the list of | ||
Parameters | osid.id.Id | ontologyId | Id of the Ontology |
Return | osid.id.IdList | list of related relevancy enabler Ids | |
Errors | NOT_FOUND | ontologyId is not found | |
NULL_ARGUMENT | ontologyId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getRelevancyEnablersByOntology | ||
Description |
Gets the list of relevancy enablers associated with an
| ||
Parameters | osid.id.Id | ontologyId | Id of the Ontology |
Return | osid.ontology.rules.RelevancyEnablerList | list of related relevancy enablers | |
Errors | NOT_FOUND | ontologyId is not found | |
NULL_ARGUMENT | ontologyId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getRelevancyEnablerIdsByOntologies | ||
Description |
Gets the list of | ||
Parameters | osid.id.IdList | ontologyIds | list of ontology Ids |
Return | osid.id.IdList | list of relevancy enabler Ids | |
Errors | NULL_ARGUMENT | ontologyIds is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getRelevancyEnablersByOntologies | ||
Description |
Gets the list of relevancy enablers corresponding to a
list of | ||
Parameters | osid.id.IdList | ontologyIds | list of ontology Ids |
Return | osid.ontology.rules.RelevancyEnablerList | list of relevancy enablers | |
Errors | NULL_ARGUMENT | ontologyIds is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getOntologyIdsByRelevancyEnabler | ||
Description |
Gets the | ||
Parameters | osid.id.Id | relevancyEnablerId | Id of a RelevancyEnabler |
Return | osid.id.IdList | list of ontologies | |
Errors | NOT_FOUND | relevancyEnablerId is not found | |
NULL_ARGUMENT | relevancyEnablerId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getOntologiesByRelevancyEnabler | ||
Description |
Gets the | ||
Parameters | osid.id.Id | relevancyEnablerId | Id of a RelevancyEnabler |
Return | osid.ontology.OntologyList | list of ontologies | |
Errors | NOT_FOUND | relevancyEnablerId is not found | |
NULL_ARGUMENT | relevancyEnablerId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |