| Interface | osid.ontology.OntologyAssignmentSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description |
This session provides methods to manage | ||
| Method | canAssignOntologies | ||
| Description |
Tests if this user can manage of id/ontology mappings.
A return of true does not guarantee successful
authorization. A return of false indicates that it is
known assignment methods in this session will result in a
| ||
| Return | boolean | false if managing mappings is not authorized, true
otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | assignOntology | ||
| Description |
Assigns an | ||
| Parameters | osid.id.Id | id | an Id |
osid.id.Id | ontologyId | Id of the Ontology | |
| Errors | NOT_FOUND | ontologyId is not found | |
| NULL_ARGUMENT | id or ontologyId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | unassignOntology | ||
| Description |
Unassigns an | ||
| Parameters | osid.id.Id | id | an Id |
osid.id.Id | ontologyId | Id of the Ontology | |
| Errors | NOT_FOUND | id not assigned to ontologyId | |
| NULL_ARGUMENT | id or ontologyId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getOntology | ||
| Description |
Gets the ontology to which the | ||
| Parameters | osid.id.Id | id | an Id |
| Errors | NOT_FOUND | id not found | |
| NULL_ARGUMENT | id is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getIds | ||
| Description |
Gets a list of the | ||
| Parameters | osid.id.Id | ontologyId | Id of the Ontology |
| Errors | NOT_FOUND | ontologyId not found | |
| NULL_ARGUMENT | ontologyId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |