| Interface | osid.subscription.rules.DispatchConstrainerEnablerRuleLookupSession | ||
|---|---|---|---|
| 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 | 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 | canLookupDispatchConstrainerEnablerRules | ||
| Description |
Tests if this user can perform lookups of dispatch
constrainer enabler/dispatch constrainer 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 | useComparativeDispatchConstrainerEnablerRuleView | ||
| 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 | usePlenaryDispatchConstrainerEnablerRuleView | ||
| 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 constrainer enablers 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 | getDispatchConstrainerEnablerIdsForDispatch | ||
| Description |
Gets the | ||
| Parameters | osid.id.Id | dispatchConstrainerId | Id of the DispatchConstrainer |
| Return | osid.id.IdList | the dispatch constrainer enabler Ids | |
| Errors | NOT_FOUND | dispatchConstrainerId is not found | |
| NULL_ARGUMENT | dispatchConstrainerId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getDispatchConstrainerEnablersForDispatchConstrainer | ||
| Description |
Gets the | ||
| Parameters | osid.id.Id | dispatchConstrainerId | Id of the DispatchConstrainer |
| Return | osid.subscription.rules.DispatchConstrainerEnablerList | the dispatch constrainer enablers | |
| Errors | NOT_FOUND | dispatchConstrainerId is not found | |
| NULL_ARGUMENT | dispatchConstrainerId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getDispatchConstrainerIdsForDispatchConstrainerEnabler | ||
| Description |
Gets the | ||
| Parameters | osid.id.Id | dispatchConstrainerEnablerId | Id of a DispatchConstrainerEnabler |
| Return | osid.id.IdList | list of dispatch Ids | |
| Errors | NOT_FOUND | dispatchConstrainerEnablerId is not found | |
| NULL_ARGUMENT | dispatchConstrainerEnablerId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getDispatchConstrainersForDispatchConstrainerEnabler | ||
| Description |
Gets the | ||
| Parameters | osid.id.Id | dispatchConstrainerEnablerId | Id of a DispatchConstrainerEnabler |
| Return | osid.subscription.rules.DispatchConstrainerList | list of dispatch constrainers | |
| Errors | NOT_FOUND | dispatchConstrainerEnablerId is not found | |
| NULL_ARGUMENT | dispatchConstrainerEnablerId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |