| Interface | osid.subscription.rules.DispatchProcessorLookupSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Used By | osid.subscription.rules.SubscriptionRulesManager | ||
osid.subscription.rules.SubscriptionRulesProxyManager | |||
| 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 | getPublisherId | ||
| Description |
Gets the | ||
| Return | osid.id.Id | the Publisher Id associated with this session | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getPublisher | ||
| Description |
Gets the | ||
| Return | osid.subscription.Publisher | the publisher | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canLookupDispatchProcessors | ||
| 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 | useComparativeDispatchProcessorView | ||
| 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 | usePlenaryDispatchProcessorView | ||
| Description |
A complete view of the | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useFederatedPublisherView | ||
| Description |
Federates the view for methods in this session. A federated view will include dispatch processors in publishers which are children of this publisher in the publisher hierarchy. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useIsolatedPublisherView | ||
| Description |
Isolates the view for methods in this session. An isolated view restricts lookups to this publisher only. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getDispatchProcessor | ||
| Description |
Gets the In plenary mode, the exact | ||
| Parameters | osid.id.Id | dispatchProcessorId | Id of the DispatchProcessor |
| Return | osid.subscription.rules.DispatchProcessor | the dispatch processor | |
| Errors | NOT_FOUND | dispatchProcessorId not found | |
| NULL_ARGUMENT | dispatchProcessorId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getDispatchProcessorsByIds | ||
| Description |
Gets a In plenary mode, the returned list contains all of the
dispatch processors specified in the | ||
| Parameters | osid.id.IdList | dispatchProcessorIds | the list of Ids to retrieve |
| Return | osid.subscription.rules.DispatchProcessorList | the returned DispatchProcessor list | |
| Errors | NOT_FOUND | an Id was not found | |
| NULL_ARGUMENT | dispatchProcessorIds is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getDispatchProcessorsByGenusType | ||
| Description |
Gets a In plenary mode, the returned list contains all known dispatch processors or an error results. Otherwise, the returned list may contain only those dispatch processors that are accessible through this session. | ||
| Parameters | osid.type.Type | dispatchProcessorGenusType | a dispatch processor genus type |
| Return | osid.subscription.rules.DispatchProcessorList | the returned DispatchProcessor list | |
| Errors | NULL_ARGUMENT | dispatchProcessorGenusType is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getDispatchProcessorsByParentGenusType | ||
| Description |
Gets a In plenary mode, the returned list contains all known dispatch processors or an error results. Otherwise, the returned list may contain only those dispatch processors that are accessible through this session. | ||
| Parameters | osid.type.Type | dispatchProcessorGenusType | a dispatch processor genus type |
| Return | osid.subscription.rules.DispatchProcessorList | the returned DispatchProcessor list | |
| Errors | NULL_ARGUMENT | dispatchProcessorGenusType is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getDispatchProcessorsByRecordType | ||
| Description |
Gets a In plenary mode, the returned list contains all known dispatch processors or an error results. Otherwise, the returned list may contain only those dispatch processors that are accessible through this session. | ||
| Parameters | osid.type.Type | dispatchProcessorRecordType | a dispatch processor record type |
| Return | osid.subscription.rules.DispatchProcessorList | the returned DispatchProcessor list | |
| Errors | NULL_ARGUMENT | dispatchProcessorRecordType is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getDispatchProcessors | ||
| Description |
Gets all In plenary mode, the returned list contains all known dispatch processors or an error results. Otherwise, the returned list may contain only those dispatch processors that are accessible through this session. | ||
| Return | osid.subscription.rules.DispatchProcessorList | a list of DispatchProcessors | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |