| Interface | osid.subscription.rules.DispatchProcessorPublisherSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Used By | osid.subscription.rules.SubscriptionRulesManager | ||
osid.subscription.rules.SubscriptionRulesProxyManager | |||
| Description |
This session provides methods to retrieve
This lookup session defines several views:
| ||
| Method | canLookupDispatchProcessorPublisherMappings | ||
| Description |
Tests if this user can perform lookups of dispatch
processor/publisher mappings. A return of true does not
guarantee successful authorization. A return of false
indicates that it is known lookup methods in this session
will result in a | ||
| Return | boolean | false if looking up mappings is not authorized,
true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | useComparativeDispatchProcessorPublisherView | ||
| 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 | usePlenaryDispatchProcessorPublisherView | ||
| Description |
A complete view of the | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getDispatchProcessorIdsByPublisher | ||
| Description |
Gets the list of | ||
| Parameters | osid.id.Id | publisherId | Id of the Publisher |
| Return | osid.id.IdList | list of related dispatch processor Ids | |
| Errors | NOT_FOUND | publisherId is not found | |
| NULL_ARGUMENT | publisherId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getDispatchProcessorsByPublisher | ||
| Description |
Gets the list of | ||
| Parameters | osid.id.Id | publisherId | Id of the Publisher |
| Return | osid.subscription.rules.DispatchProcessorList | list of related dispatch processors | |
| Errors | NOT_FOUND | publisherId is not found | |
| NULL_ARGUMENT | publisherId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getDispatchProcessorIdsByPublishers | ||
| Description |
Gets the list of | ||
| Parameters | osid.id.IdList | publisherIds | list of publisher Ids |
| Return | osid.id.IdList | list of dispatch processor Ids | |
| Errors | NULL_ARGUMENT | publisherIds is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getDispatchProcessorsByPublishers | ||
| Description |
Gets the list of | ||
| Parameters | osid.id.IdList | publisherIds | list of publisher Ids |
| Return | osid.subscription.rules.DispatchProcessorList | list of dispatch processors | |
| Errors | NULL_ARGUMENT | publisherIds is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getPublisherIdsByDispatchProcessor | ||
| Description |
Gets the | ||
| Parameters | osid.id.Id | dispatchProcessorId | Id of a DispatchProcessor |
| Return | osid.id.IdList | list of publisher Ids | |
| Errors | NOT_FOUND | dispatchProcessorId is not found | |
| NULL_ARGUMENT | dispatchProcessorId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getPublishersByDispatchProcessor | ||
| Description |
Gets the | ||
| Parameters | osid.id.Id | dispatchProcessorId | Id of a DispatchProcessor |
| Return | osid.subscription.PublisherList | list of publishers | |
| Errors | NOT_FOUND | dispatchProcessorId is not found | |
| NULL_ARGUMENT | dispatchProcessorId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |