| Interface | osid.subscription.rules.SubscriptionEnablerSmartPublisherSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description |
This session manages queries and sequencing to create
"smart" dynamic publishers. A This | ||
| 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 | canManageSmartPublishers | ||
| Description |
Tests if this user can manage smart publishers. A
return of true does not guarantee successful
authorization. A return of false indicates that it is
known methods in this session will result in a | ||
| Return | boolean | false if smart publisher management is not authorized,
true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getSubscriptionEnablerQuery | ||
| Description |
Gets a subscription enabler query. | ||
| Return | osid.subscription.rules.SubscriptionEnablerQuery | the subscription enabler query | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getSubscriptionEnablerSearchOrder | ||
| Description |
Gets a subscription enabler search order. | ||
| Return | osid.subscription.rules.SubscriptionEnablerSearchOrder | the subscription enabler search order | |
| Compliance | mandatory | This method must be implemented. | |
| Method | applySubscriptionEnablerQuery | ||
| Description |
Applies a subscription enabler query to this publisher. | ||
| Parameters | osid.subscription.rules.SubscriptionEnablerQuery | subscriptionEnablerQuery | the subscription enabler query |
| Errors | NULL_ARGUMENT | subscriptionEnablerQuery is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure occurred | ||
| UNSUPPORTED | subscriptionEnablerQuery not of this service | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | inspectSubscriptionEnablerQuery | ||
| Description |
Gets a subscription enabler query inspector for this publisher. | ||
| Return | osid.subscription.rules.SubscriptionEnablerQueryInspector | the subscription enabler query inspector | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure occurred | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | applySubscriptionEnablerSequencing | ||
| Description |
Applies a subscription enabler search order to this publisher. | ||
| Parameters | osid.subscription.rules.SubscriptionEnablerSearchOrder | subscriptionEnablerSearchOrder | the subscription enabler search order |
| Errors | NULL_ARGUMENT | subscriptionEnablerSearchOrder is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure occurred | ||
| UNSUPPORTED | subscriptionEnablerSearchOrder not of this service | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getSubscriptionEnablerQueryFromInspector | ||
| Description |
Gets a subscription enabler query from an inspector. | ||
| Parameters | osid.subscription.rules.SubscriptionEnablerQueryInspector | subscriptionEnablerQueryInspector | a subscription enabler query inspector |
| Return | osid.subscription.rules.SubscriptionEnablerQuery | the subscription enabler query | |
| Errors | NULL_ARGUMENT | subscriptionEnablerQueryInspector is null | |
| UNSUPPORTED | subscriptionEnablerQueryInspector is not of this service | ||
| Compliance | mandatory | This method must be implemented. | |