Interface | osid.offering.CanonicalUnitCatalogueSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session provides methods to retrieve This lookup session defines several views:
| ||
Method | canLookupCanonicalUnitCatalogueMappings | ||
Description |
Tests if this user can perform lookups of canonical
unit/catalogue 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 | useComparativeCatalogueView | ||
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 | usePlenaryCatalogueView | ||
Description |
A complete view of the | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getCanonicalUnitIdsByCatalogue | ||
Description |
Gets the list of CanonicalUnit Ids associated with a
| ||
Parameters | osid.id.Id | catalogueId | Id of a Catalogues. |
Return | osid.id.IdList | list of related canonical unit Ids | |
Errors | NOT_FOUND | catalogueId is not found | |
NULL_ARGUMENT | catalogueId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getCanonicalUnitsByCatalogue | ||
Description |
Gets the list of | ||
Parameters | osid.id.Id | catalogueId | Id of a Catalogue |
Return | osid.offering.CanonicalUnitList | list of related canonical units | |
Errors | NOT_FOUND | catalogueId is not found | |
NULL_ARGUMENT | catalogueId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getCanonicalUnitIdsByCatalogues | ||
Description |
Gets the list of | ||
Parameters | osid.id.IdList | catalogueIds | list of catalogue Ids |
Return | osid.id.IdList | list of canonical unit Ids | |
Errors | NULL_ARGUMENT | catalogueIds is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getCanonicalUnitsByCatalogues | ||
Description |
Gets the list of | ||
Parameters | osid.id.IdList | catalogueIds | list of catalogue Ids |
Return | osid.offering.CanonicalUnitList | list of canonical units | |
Errors | NULL_ARGUMENT | catalogueIds is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getCatalogueIdsByCanonicalUnit | ||
Description |
Gets the list of | ||
Parameters | osid.id.Id | canonicalUnitId | Id of a CanonicalUnit |
Return | osid.id.IdList | list of catalogue Ids | |
Errors | NOT_FOUND | canonicalUnitId is not found | |
NULL_ARGUMENT | canonicalUnitId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getCataloguesByCanonicalUnit | ||
Description |
Gets the list of | ||
Parameters | osid.id.Id | canonicalUnitId | Id of a CanonicalUnit |
Return | osid.offering.CatalogueList | list of catalogues | |
Errors | NOT_FOUND | canonicalUnitId is not found | |
NULL_ARGUMENT | canonicalUnitId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |