Interface | osid.provisioning.rules.PoolConstrainerLookupSession | ||
---|---|---|---|
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 | getDistributorId | ||
Description |
Gets the | ||
Return | osid.id.Id | the Distributor Id associated with this session | |
Compliance | mandatory | This method must be implemented. | |
Method | getDistributor | ||
Description |
Gets the | ||
Return | osid.provisioning.Distributor | the distributor | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | canLookupPoolConstrainers | ||
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 | useComparativePoolConstrainerView | ||
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 | usePlenaryPoolConstrainerView | ||
Description |
A complete view of the | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useFederatedDistributorView | ||
Description |
Federates the view for methods in this session. A federated view will include pool constrainer in distributors which are children of this distributor in the distributor hierarchy. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useIsolatedDistributorView | ||
Description |
Isolates the view for methods in this session. An isolated view restricts lookups to this distributor only. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useActivePoolConstrainerView | ||
Description |
Only active pool constrainers are returned by methods in this session. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useAnyStatusPoolConstrainerView | ||
Description |
All active and inactive pool constrainers are returned by methods in this session. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getPoolConstrainer | ||
Description |
Gets the In active mode, pool constrainers are returned that are currently active. In any status mode, active and inactive pool constrainers are returned. | ||
Parameters | osid.id.Id | poolConstrainerId | Id of the PoolConstrainer |
Return | osid.provisioning.rules.PoolConstrainer | the pool constrainer | |
Errors | NOT_FOUND | poolConstrainerId not found | |
NULL_ARGUMENT | poolConstrainerId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getPoolConstrainersByIds | ||
Description |
Gets a In active mode, pool constrainers are returned that are currently active. In any status mode, active and inactive pool constrainers are returned. | ||
Parameters | osid.id.IdList | poolConstrainerIds | the list of Ids to retrieve |
Return | osid.provisioning.rules.PoolConstrainerList | the returned PoolConstrainer list | |
Errors | NOT_FOUND | an Id was not found | |
NULL_ARGUMENT | poolConstrainerIds is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getPoolConstrainersByGenusType | ||
Description |
Gets a In active mode, pool constrainers are returned that are currently active. In any status mode, active and inactive pool constrainers are returned. | ||
Parameters | osid.type.Type | poolConstrainerGenusType | a pool constrainer genus type |
Return | osid.provisioning.rules.PoolConstrainerList | the returned PoolConstrainer list | |
Errors | NULL_ARGUMENT | poolConstrainerGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getPoolConstrainersByParentGenusType | ||
Description |
Gets a In active mode, pool constrainers are returned that are currently active. In any status mode, active and inactive pool constrainers are returned. | ||
Parameters | osid.type.Type | poolConstrainerGenusType | a pool constrainer genus type |
Return | osid.provisioning.rules.PoolConstrainerList | the returned PoolConstrainer list | |
Errors | NULL_ARGUMENT | poolConstrainerGenusType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getPoolConstrainersByRecordType | ||
Description |
Gets a In active mode, pool constrainers are returned that are currently active. In any status mode, active and inactive pool constrainers are returned. | ||
Parameters | osid.type.Type | poolConstrainerRecordType | a pool constrainer record type |
Return | osid.provisioning.rules.PoolConstrainerList | the returned PoolConstrainer list | |
Errors | NULL_ARGUMENT | poolConstrainerRecordType is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getPoolConstrainers | ||
Description |
Gets all In plenary mode, the returned list contains all known pool constrainer or an error results. Otherwise, the returned list may contain only those pool constrainer that are accessible through this session. In active mode, pool constrainers are returned that are currently active. In any status mode, active and inactive pool constrainers are returned. | ||
Return | osid.provisioning.rules.PoolConstrainerList | the returned PoolConstrainer list | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |