| Interface | osid.provisioning.rules.BrokerProcessorEnablerLookupSession | ||
|---|---|---|---|
| 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 | canLookupBrokerProcessorEnablers | ||
| 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 | useComparativeBrokerProcessorEnablerView | ||
| 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 | usePlenaryBrokerProcessorEnablerView | ||
| 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 processor enablers 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 | useActiveBrokerProcessorEnablerView | ||
| Description |
Only active brokerProcessorEnablers are returned by methods in this session. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useAnyStatusBrokerProcessorEnablerView | ||
| Description |
All active and inactive brokerProcessorEnablers are returned by methods in this session. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getBrokerProcessorEnabler | ||
| Description |
Gets the In plenary mode, the exact | ||
| Parameters | osid.id.Id | brokerProcessorEnablerId | Id of the BrokerProcessorEnabler |
| Return | osid.provisioning.rules.BrokerProcessorEnabler | the broker processor enabler | |
| Errors | NOT_FOUND | brokerProcessorEnablerId not found | |
| NULL_ARGUMENT | brokerProcessorEnablerId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getBrokerProcessorEnablersByIds | ||
| Description |
Gets a In plenary mode, the returned list contains all of the
broker processor enablers specified in the | ||
| Parameters | osid.id.IdList | brokerProcessorEnablerIds | the list of Ids to retrieve |
| Return | osid.provisioning.rules.BrokerProcessorEnablerList | the returned BrokerProcessorEnabler list | |
| Errors | NOT_FOUND | an Id was not found | |
| NULL_ARGUMENT | brokerProcessorEnablerIds is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getBrokerProcessorEnablersByGenusType | ||
| Description |
Gets a In plenary mode, the returned list contains all known broker processor enablers or an error results. Otherwise, the returned list may contain only those broker processor enablers that are accessible through this session. | ||
| Parameters | osid.type.Type | brokerProcessorEnablerGenusType | a broker processor enabler genus type |
| Return | osid.provisioning.rules.BrokerProcessorEnablerList | the returned BrokerProcessorEnabler list | |
| Errors | NULL_ARGUMENT | brokerProcessorEnablerGenusType is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getBrokerProcessorEnablersByParentGenusType | ||
| Description |
Gets a In plenary mode, the returned list contains all known broker processor enablers or an error results. Otherwise, the returned list may contain only those broker processor enablers that are accessible through this session. | ||
| Parameters | osid.type.Type | brokerProcessorEnablerGenusType | a broker processor genus type |
| Return | osid.provisioning.rules.BrokerProcessorEnablerList | the returned BrokerProcessorEnabler list | |
| Errors | NULL_ARGUMENT | brokerProcessorEnablerGenusType is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getBrokerProcessorEnablersByRecordType | ||
| Description |
Gets a In plenary mode, the returned list contains all known broker processor enablers or an error results. Otherwise, the returned list may contain only those broker processor enablers that are accessible through this session. | ||
| Parameters | osid.type.Type | brokerProcessorEnablerRecordType | a broker processor enabler record type |
| Return | osid.provisioning.rules.BrokerProcessorEnablerList | the returned BrokerProcessorEnabler list | |
| Errors | NULL_ARGUMENT | brokerProcessorEnablerRecordType is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getBrokerProcessorEnablersOnDate | ||
| Description |
Gets a In plenary mode, the returned list contains all known brokerProcessorEnablers or an error results. Otherwise, the returned list may contain only those brokerProcessorEnablers that are accessible through this session. In active mode, brokerProcessorEnablers are returned that are currently active in addition to being effective during the given date range. In any status mode, active and inactive brokerProcessorEnablers are returned. | ||
| Parameters | osid.calendaring.DateTime | from | a start date |
osid.calendaring.DateTime | to | an end date | |
| Return | osid.provisioning.rules.BrokerProcessorEnablerList | the returned BrokerProcessorEnabler 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 | getBrokerProcessorEnablersOnDateWithAgent | ||
| Description |
Gets a In plenary mode, the returned list contains all known brokerProcessorEnablers or an error results. Otherwise, the returned list may contain only those brokerProcessorEnablers that are accessible through this session. In active mode, brokerProcessorEnablers are returned that are currently active in addition to being effective during the given date range. In any status mode, active and inactive brokerProcessorEnablers 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.provisioning.rules.BrokerProcessorEnablerList | the returned BrokerProcessorEnabler 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 | getBrokerProcessorEnablers | ||
| Description |
Gets all In plenary mode, the returned list contains all known broker processor enablers or an error results. Otherwise, the returned list may contain only those broker processor enablers that are accessible through this session. | ||
| Return | osid.provisioning.rules.BrokerProcessorEnablerList | a list of BrokerProcessorEnablers | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |