Interface | osid.offering.OfferingCatalogueSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session provides methods to retrieve This lookup session defines several views:
| ||
Method | canLookupOfferingCatalogueMappings | ||
Description |
Tests if this user can perform lookups of
offering/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 | getOfferingIdsByCatalogue | ||
Description |
Gets the list of Offering Ids associated with a | ||
Parameters | osid.id.Id | catalogueId | Id of a Catalogues. |
Return | osid.id.IdList | list of related offering 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 | getOfferingsByCatalogue | ||
Description |
Gets the list of | ||
Parameters | osid.id.Id | catalogueId | Id of a Catalogue |
Return | osid.offering.OfferingList | list of related offerings | |
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 | getOfferingIdsByCatalogues | ||
Description |
Gets the list of | ||
Parameters | osid.id.IdList | catalogueIds | list of catalogue Ids |
Return | osid.id.IdList | list of offering 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 | getOfferingsByCatalogues | ||
Description |
Gets the list of | ||
Parameters | osid.id.IdList | catalogueIds | list of catalogue Ids |
Return | osid.offering.OfferingList | list of offerings | |
Errors | NULL_ARGUMENT | catalogueIds is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getCatalogueIdsByOffering | ||
Description |
Gets the list of | ||
Parameters | osid.id.Id | offeringId | Id of an Offering |
Return | osid.id.IdList | list of catalogue Ids | |
Errors | NOT_FOUND | offeringId is not found | |
NULL_ARGUMENT | offeringId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getCataloguesByOffering | ||
Description |
Gets the list of | ||
Parameters | osid.id.Id | offeringId | Id of an Offering |
Return | osid.offering.CatalogueList | list of catalogues | |
Errors | NOT_FOUND | offeringId is not found | |
NULL_ARGUMENT | offeringId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |