Interface | osid.offering.rules.OfferingConstrainerCatalogueSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session provides methods to retrieve This lookup session defines several views:
| ||
Method | canLookupOfferingConstrainerCatalogueMappings | ||
Description |
Tests if this user can perform lookups of offering
constrainer/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 | useComparativeOfferingConstrainerCatalogueView | ||
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 | usePlenaryOfferingConstrainerCatalogueView | ||
Description |
A complete view of the | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getOfferingConstrainerIdsByCatalogue | ||
Description |
Gets the list of | ||
Parameters | osid.id.Id | catalogueId | Id of the Catalogue |
Return | osid.id.IdList | list of related offering constrainer 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 | getOfferingConstrainersByCatalogue | ||
Description |
Gets the list of offering constrainer associated with a
| ||
Parameters | osid.id.Id | catalogueId | Id of the Catalogue |
Return | osid.offering.rules.OfferingConstrainerList | list of related offering constrainers | |
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 | getOfferingConstrainerIdsByCatalogues | ||
Description |
Gets the list of | ||
Parameters | osid.id.IdList | catalogueIds | list of catalogue Ids |
Return | osid.id.IdList | list of offering constrainer 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 | getOfferingConstrainersByCatalogues | ||
Description |
Gets the list of offering constrainer corresponding to
a list of | ||
Parameters | osid.id.IdList | catalogueIds | list of catalogue Ids |
Return | osid.offering.rules.OfferingConstrainerList | list of offering constrainers | |
Errors | NULL_ARGUMENT | catalogueIds is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getCatalogueIdsByOfferingConstrainer | ||
Description |
Gets the | ||
Parameters | osid.id.Id | offeringConstrainerId | Id of an OfferingConstrainer |
Return | osid.id.IdList | list of catalogues | |
Errors | NOT_FOUND | offeringConstrainerId is not found | |
NULL_ARGUMENT | offeringConstrainerId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getCataloguesByOfferingConstrainer | ||
Description |
Gets the | ||
Parameters | osid.id.Id | offeringConstrainerId | Id of an OfferingConstrainer |
Return | osid.offering.CatalogueList | list of catalogues | |
Errors | NOT_FOUND | offeringConstrainerId is not found | |
NULL_ARGUMENT | offeringConstrainerId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |