| Interface | osid.provisioning.rules.BrokerConstrainerLookupSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Used By | osid.provisioning.rules.ProvisioningRulesManager | ||
osid.provisioning.rules.ProvisioningRulesProxyManager | |||
| 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 | canLookupBrokerConstrainers | ||
| 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 | useComparativeBrokerConstrainerView | ||
| 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 | usePlenaryBrokerConstrainerView | ||
| 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 broker constrainers 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 | useActiveBrokerConstrainerView | ||
| Description |
Only active brokerConstrainers are returned by methods in this session. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useAnyStatusBrokerConstrainerView | ||
| Description |
All active and inactive brokerConstrainers are returned by methods in this session. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getBrokerConstrainer | ||
| Description |
Gets the In plenary mode, the exact | ||
| Parameters | osid.id.Id | brokerConstrainerId | Id of the BrokerConstrainer |
| Return | osid.provisioning.rules.BrokerConstrainer | the broker constrainer | |
| Errors | NOT_FOUND | brokerConstrainerId not found | |
| NULL_ARGUMENT | brokerConstrainerId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getBrokerConstrainersByIds | ||
| Description |
Gets a In plenary mode, the returned list contains all of the
broker constrainers specified in the | ||
| Parameters | osid.id.IdList | brokerConstrainerIds | the list of Ids to retrieve |
| Return | osid.provisioning.rules.BrokerConstrainerList | the returned BrokerConstrainer list | |
| Errors | NOT_FOUND | an Id was not found | |
| NULL_ARGUMENT | brokerConstrainerIds is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getBrokerConstrainersByGenusType | ||
| Description |
Gets a In plenary mode, the returned list contains all known broker constrainers or an error results. Otherwise, the returned list may contain only those broker constrainers that are accessible through this session. | ||
| Parameters | osid.type.Type | brokerConstrainerGenusType | a broker constrainer genus type |
| Return | osid.provisioning.rules.BrokerConstrainerList | the returned BrokerConstrainer list | |
| Errors | NULL_ARGUMENT | brokerConstrainerGenusType is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getBrokerConstrainersByParentGenusType | ||
| Description |
Gets a In plenary mode, the returned list contains all known broker constrainers or an error results. Otherwise, the returned list may contain only those broker constrainers that are accessible through this session. | ||
| Parameters | osid.type.Type | brokerConstrainerGenusType | a broker constrainer genus type |
| Return | osid.provisioning.rules.BrokerConstrainerList | the returned BrokerConstrainer list | |
| Errors | NULL_ARGUMENT | brokerConstrainerGenusType is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getBrokerConstrainersByRecordType | ||
| Description |
Gets a In plenary mode, the returned list contains all known broker constrainers or an error results. Otherwise, the returned list may contain only those broker constrainers that are accessible through this session. | ||
| Parameters | osid.type.Type | brokerConstrainerRecordType | a broker constrainer record type |
| Return | osid.provisioning.rules.BrokerConstrainerList | the returned BrokerConstrainer list | |
| Errors | NULL_ARGUMENT | brokerConstrainerRecordType is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getBrokerConstrainers | ||
| Description |
Gets all In plenary mode, the returned list contains all known :osid trainers or an error results. Otherwise, the returned list may contain only those broker constrainers that are accessible through this session. | ||
| Return | osid.provisioning.rules.BrokerConstrainerList | a list of BrokerConstrainers | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |