| Interface | osid.offering.rules.OfferingConstrainerEnablerCatalogueAssignmentSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Used By | osid.offering.rules.OfferingRulesManager | ||
osid.offering.rules.OfferingRulesProxyManager | |||
| Description |
This session provides methods to re-assign
Adding a reference of an
| ||
| Method | canAssignOfferingConstrainerEnablers | ||
| Description |
Tests if this user can alter offering constrainer
enabler/catalogue mappings. A return of true does not
guarantee successful authorization. A return of false
indicates that it is known mapping methods in this session
will result in a | ||
| Return | boolean | false if mapping is not authorized, true
otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | canAssignOfferingConstrainerEnablersToCatalogue | ||
| Description |
Tests if this user can alter offering constrainer
enabler/catalogue mappings. A return of true does not
guarantee successful authorization. A return of false
indicates that it is known mapping methods in this session
will result in a | ||
| Parameters | osid.id.Id | catalogueId | the Id of the Catalogue |
| Return | boolean | false if mapping is not authorized, true
otherwise | |
| Errors | NULL_ARGUMENT | catalogueId is null | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getAssignableCatalogueIds | ||
| Description |
Gets a list of catalogues including and under the given catalogue node in which any offering constrainer enabler can be assigned. | ||
| Parameters | osid.id.Id | catalogueId | the Id of the Catalogue |
| Return | osid.id.IdList | list of assignable catalogue Ids | |
| Errors | NULL_ARGUMENT | catalogueId is null | |
| OPERATION_FAILED | unable to complete request | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getAssignableCatalogueIdsForOfferingConstrainerEnabler | ||
| Description |
Gets a list of catalogues including and under the given catalogue node in which a specific offering constrainer enabler can be assigned. | ||
| Parameters | osid.id.Id | catalogueId | the Id of the Catalogue |
osid.id.Id | offeringConstrainerEnablerId | the Id of the OfferingConstrainerEnabler | |
| Return | osid.id.IdList | list of assignable catalogue Ids | |
| Errors | NULL_ARGUMENT | catalogueId or offeringConstrainerEnablerId is
null | |
| OPERATION_FAILED | unable to complete request | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | assignOfferingConstrainerEnablerToCatalogue | ||
| Description |
Adds an existing
| ||
| Parameters | osid.id.Id | offeringConstrainerEnablerId | the Id of the OfferingConstrainerEnabler |
osid.id.Id | catalogueId | the Id of the Catalogue | |
| Errors | ALREADY_EXISTS | offeringConstrainerEnablerId already assigned to
catalogueId | |
| NOT_FOUND | offeringConstrainerEnablerId or catalogueId not
found | ||
| NULL_ARGUMENT | offeringConstrainerEnablerId or catalogueId is
null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | unassignOfferingConstrainerEnablerFromCatalogue | ||
| Description |
Removes an | ||
| Parameters | osid.id.Id | offeringConstrainerEnablerId | the Id of the OfferingConstrainerEnabler |
osid.id.Id | catalogueId | the Id of the Catalogue | |
| Errors | NOT_FOUND | offeringConstrainerEnablerId or catalogueId not
found or offeringConstrainerEnablerId already assigned to
catalogueId | |
| NULL_ARGUMENT | offeringConstrainerEnablerId or catalogueId is
null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | reassignOfferingConstrainerEnablerToCatalogue | ||
| Description |
Moves an | ||
| Parameters | osid.id.Id | offeringConstrainerEnablerId | the Id of the OfferingConstrainerEnabler |
osid.id.Id | fromCatalogueId | the Id of the current Catalogue | |
osid.id.Id | toCatalogueId | the Id of the destination Catalogue | |
| Errors | ALREADY_EXISTS | offeringConstrainerEnablerId already assigned to
toCatalogueId | |
| NOT_FOUND | offeringConstrainerEnablerId, fromCatalogueId, or
toCatalogueId not found or
offeringConstrainerEnablerId, not mapped to
fromCatalogueId | ||
| NULL_ARGUMENT | offeringConstrainerEnablerId, fromCatalogueId, or
toCatalogueId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |