| Interface | osid.cataloging.CatalogAssignmentSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description |
This session provides methods to assign OSID | ||
| Method | canAssignCatalogs | ||
| Description |
Tests if this user can perform alter | ||
| Return | boolean | false if mapping is not authorized, true
otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | assignIdToCatalog | ||
| Description |
Adds an | ||
| Parameters | osid.id.Id | id | an Id |
osid.id.Id | catalogId | the Id of the Catalog | |
| Errors | ALREADY_EXISTS | id is already mapped to catalogId | |
| NOT_FOUND | id or catalogId not found | ||
| NULL_ARGUMENT | id or catalogId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | unassignIdFromCatalog | ||
| Description |
Removes an | ||
| Parameters | osid.id.Id | id | an Id |
osid.id.Id | catalogId | the Id of the Catalog | |
| Errors | NOT_FOUND | id or catalogId not found or id
is not mapped to catalogId | |
| NULL_ARGUMENT | id or catalogId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | reassignIdToCatalog | ||
| Description |
Moves an | ||
| Parameters | osid.id.Id | id | the Id |
osid.id.Id | fromCatalogId | the Id of the current Catalog | |
osid.id.Id | toCatalogId | the Id of the destination Catalog | |
| Errors | NOT_FOUND | id, fromCatalogId, or toCatalogId not found
or id not mapped to fromCatalogId | |
| NULL_ARGUMENT | id, fromCatalogId, or toCatalogId is
null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |