Interface | osid.subscription.rules.SubscriptionEnablerPublisherSession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session provides methods to retrieve This lookup session defines several views:
| ||
Method | canLookupSubscriptionEnablerPublishertMappings | ||
Description |
Tests if this user can perform lookups of subscription
enabler/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 | useComparativeSubscriptionEnablerPublisherView | ||
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 | usePlenarySubscriptionEnablerPublisherView | ||
Description |
A complete view of the | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getSubscriptionEnablerIdsByPublisher | ||
Description |
Gets the list of | ||
Parameters | osid.id.Id | publisherId | Id of the Publisher |
Return | osid.id.IdList | list of related subscription enabler 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 | getSubscriptionEnablersByPublisher | ||
Description |
Gets the list of subscription enablers associated with
a | ||
Parameters | osid.id.Id | publisherId | Id of the Publisher |
Return | osid.subscription.rules.SubscriptionEnablerList | list of related subscription enablers | |
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 | getSubscriptionEnablerIdsByPublishers | ||
Description |
Gets the list of | ||
Parameters | osid.id.IdList | publisherIds | list of publisher Ids |
Return | osid.id.IdList | list of subscription enabler Ids | |
Errors | NULL_ARGUMENT | familtIds is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getSubscriptionEnablersByPublishers | ||
Description |
Gets the list of subscription enablers corresponding to
a list of | ||
Parameters | osid.id.IdList | publisherIds | list of publisher Ids |
Return | osid.subscription.rules.SubscriptionEnablerList | list of subscription enablers | |
Errors | NULL_ARGUMENT | publisherIds is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getPublisherIdsBySubscriptionEnabler | ||
Description |
Gets the | ||
Parameters | osid.id.Id | subscriptionEnablerId | Id of a SubscriptionEnabler |
Return | osid.id.IdList | list of publisher Ids | |
Errors | NOT_FOUND | subscriptionEnablerId is not found | |
NULL_ARGUMENT | subscriptionEnablerId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getSubscriptionsBySubscriptionEnabler | ||
Description |
Gets the publishers mapped to a | ||
Parameters | osid.id.Id | subscriptionEnablerId | Id of a SubscriptionEnabler |
Return | osid.subscription.PublisherList | list of publishers | |
Errors | NOT_FOUND | subscriptionEnablerId is not found | |
NULL_ARGUMENT | subscriptionEnablerId is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |