Interface | osid.offering.rules.CanonicalUnitEnablerLookupSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session provides methods for retrieving This session defines views that offer differing behaviors when retrieving multiple objects.
Generally, the comparative view should be used for most
applications as it permits operation even if there is data
that cannot be accessed. The methods | ||
Method | getCatalogueId | ||
Description |
Gets the | ||
Return | osid.id.Id | the Catalogue Id associated with this session | |
Compliance | mandatory | This method must be implemented. | |
Method | getCatalogue | ||
Description |
Gets the | ||
Return | osid.offering.Catalogue | the catalogue | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | canLookupCanonicalUnitEnablers | ||
Description |
Tests if this user can perform | ||
Return | boolean | false if lookup methods are not authorized, true
otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | useComparativeCanonicalUnitEnablerView | ||
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 | usePlenaryCanonicalUnitEnablerView | ||
Description |
A complete view of the | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useFederatedCatalogueView | ||
Description |
Federates the view for methods in this session. A federated view will include canonical unit enablers in catalogues which are children of this catalogue in the catalogue hierarchy. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useIsolatedCatalogueView | ||
Description |
Isolates the view for methods in this session. An isolated view restricts lookups to this catalogue only. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useActiveCanonicalUnitEnablerView | ||
Description |
Only active canonical unit enablers are returned by methods in this session. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useAnyStatusCanonicalUnitEnablerView | ||
Description |
All active and inactive canonical unit enablers are returned by methods in this session. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getCanonicalUnitEnabler | ||
Description |
Gets the In active mode, canonical unit enablers are returned that are currently active. In any status mode, active and inactive canonical unit enablers are returned. | ||
Parameters | osid.id.Id | canonicalUnitEnablerId | Id of the CanonicalUnitEnabler |
Return | osid.offering.rules.CanonicalUnitEnabler | the canonical unit enabler | |
Errors | NOT_FOUND | canonicalUnitEnablerId not found | |
NULL_ARGUMENT | canonicalUnitEnablerId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getCanonicalUnitEnablersByIds | ||
Description |
Gets a In active mode, canonical unit enablers are returned that are currently active. In any status mode, active and inactive canonical unit enablers are returned. | ||
Parameters | osid.id.IdList | canonicalUnitEnablerIds | the list of Ids to retrieve |
Return | osid.offering.rules.CanonicalUnitEnablerList | the returned CanonicalUnitEnabler list | |
Errors | NOT_FOUND | an Id was not found | |
NULL_ARGUMENT | canonicalUnitEnablerIds is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getCanonicalUnitEnablersByGenusType | ||
Description |
Gets a In active mode, canonical unit enablers are returned that are currently active. In any status mode, active and inactive canonical unit enablers are returned. | ||
Parameters | osid.type.Type | canonicalUnitEnablerGenusType | a canonical unit enabler genus type |
Return | osid.offering.rules.CanonicalUnitEnablerList | the returned CanonicalUnitEnabler list | |
Errors | NULL_ARGUMENT | canonicalUnitEnablerGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getCanonicalUnitEnablersByParentGenusType | ||
Description |
Gets a In active mode, canonical unit enablers are returned that are currently active. In any status mode, active and inactive canonical unit enablers are returned. | ||
Parameters | osid.type.Type | canonicalUnitEnablerGenusType | a canonical unit enabler genus type |
Return | osid.offering.rules.CanonicalUnitEnablerList | the returned CanonicalUnitEnabler list | |
Errors | NULL_ARGUMENT | canonicalUnitEnablerGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getCanonicalUnitEnablersByRecordType | ||
Description |
Gets a In active mode, canonical unit enablers are returned that are currently active. In any status mode, active and inactive canonical unit enablers are returned. | ||
Parameters | osid.type.Type | canonicalUnitEnablerRecordType | a canonical unit enabler record type |
Return | osid.offering.rules.CanonicalUnitEnablerList | the returned CanonicalUnitEnabler list | |
Errors | NULL_ARGUMENT | canonicalUnitEnablerRecordType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getCanonicalUnitEnablersOnDate | ||
Description |
Gets a In active mode, canonical unit enablers are returned that are currently active in addition to being effective during the given date range. In any status mode, active and inactive canonical unit enablers are returned. | ||
Parameters | osid.calendaring.DateTime | from | a start date |
osid.calendaring.DateTime | to | an end date | |
Return | osid.offering.rules.CanonicalUnitEnablerList | the returned CanonicalUnitEnabler list | |
Errors | INVALID_ARGUMENT | from is greater than to | |
NULL_ARGUMENT | from or to is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getCanonicalUnitEnablersOnDateWithAgent | ||
Description |
Gets a In active mode, canonical unit enablers are returned that are currently active in addition to being effective during the given date range. In any status mode, active and inactive canonical unit enablers are returned. | ||
Parameters | osid.id.Id | agentId | an agent Id |
osid.calendaring.DateTime | from | a start date | |
osid.calendaring.DateTime | to | an end date | |
Return | osid.offering.rules.CanonicalUnitEnablerList | the returned CanonicalUnitEnabler list | |
Errors | INVALID_ARGUMENT | from is greater than to | |
NULL_ARGUMENT | agentId, from, or to is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getCanonicalUnitEnablers | ||
Description |
Gets all In plenary mode, the returned list contains all known canonical unit enablers or an error results. Otherwise, the returned list may contain only those canonical unit enablers that are accessible through this session. In active mode, canonical unit enablers are returned that are currently active. In any status mode, active and inactive canonical unit enablers are returned. | ||
Return | osid.offering.rules.CanonicalUnitEnablerList | the returned CanonicalUnitEnabler list | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |