Interface | osid.ontology.RelevancyOntologySession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session provides methods to retrieve This lookup session defines two views:
| ||
Method | canLookupRelevancyOntologyMappings | ||
Description |
Tests if this user can perform lookups of
relevancy/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 | useComparativeOntologyView | ||
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 | usePlenaryOntologyView | ||
Description |
A complete view of the | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getRelevancyIdsByOntology | ||
Description |
Gets the list of | ||
Parameters | osid.id.Id | ontologyId | Id of the Ontology |
Return | osid.id.IdList | list of related ontology 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 | getRelevanciesByOntology | ||
Description |
Gets the list of | ||
Parameters | osid.id.Id | ontologyId | Id of the Ontology |
Return | osid.ontology.RelevancyList | list of related relevancy 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 | getRelevancyIdsByOntologies | ||
Description |
Gets the list of | ||
Parameters | osid.id.IdList | ontologyIds | list of ontology Ids |
Return | osid.id.IdList | list of relevancy 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 | getRelevanciesByOntologies | ||
Description |
Gets the list of | ||
Parameters | osid.id.IdList | ontologyIds | list of ontology Ids |
Return | osid.ontology.RelevancyList | list of relevancies | |
Errors | NULL_ARGUMENT | ontologyIds is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getOntologyIdsByRelevancy | ||
Description |
Gets the list of | ||
Parameters | osid.id.Id | relevancyId | Id of a Relevancy |
Return | osid.id.IdList | list of ontology Ids | |
Errors | NOT_FOUND | relevancyId is not found | |
NULL_ARGUMENT | relevancyId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getOntologiesByRelevancy | ||
Description |
Gets the list of | ||
Parameters | osid.id.Id | relevancyId | Id of a Relevancy |
Return | osid.ontology.OntologyList | list of ontologies | |
Errors | NOT_FOUND | relevancyId is not found | |
NULL_ARGUMENT | relevancyId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |