| Interface | osid.subscription.rules.DispatchProcessorEnablerAdminSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Used By | osid.subscription.rules.SubscriptionRulesManager | ||
osid.subscription.rules.SubscriptionRulesProxyManager | |||
| Description |
This session creates, updates, and deletes
Create and update operations differ in their usage. To
create a For updates, The delete operations delete
This session includes an | ||
| 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 | canCreateDispatchProcessorEnablers | ||
| Description |
Tests if this user can create
| ||
| Return | boolean | false if DispatchProcessorEnabler creation is not
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | canCreateDispatchProcessorEnablerWithRecordTypes | ||
| Description |
Tests if this user can create a single
| ||
| Parameters | osid.type.Type[] | dispatchProcessorEnablerRecordTypes | array of dispatch processor enabler record types |
| Return | boolean | true if DispatchProcessorEnabler creation using
the specified record Types is supported, false
otherwise | |
| Errors | NULL_ARGUMENT | dispatchProcessorEnablerRecordTypes is null | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getDispatchProcessorEnablerFormForCreate | ||
| Description |
Gets the dispatch processor enabler form for creating new dispatch processor enablers. A new form should be requested for each create transaction. | ||
| Parameters | osid.type.Type[] | dispatchProcessorEnablerRecordTypes | array of dispatch processor enabler record types |
| Return | osid.subscription.rules.DispatchProcessorEnablerForm | the dispatch processor enabler form | |
| Errors | NULL_ARGUMENT | dispatchProcessorEnablerRecordTypes is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | unable to get form for requested record types | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | createDispatchProcessorEnabler | ||
| Description |
Creates a new | ||
| Parameters | osid.subscription.rules.DispatchProcessorEnablerForm | dispatchProcessorEnablerForm | the form for this DispatchProcessorEnabler |
| Return | osid.subscription.rules.DispatchProcessorEnabler | the new DispatchProcessorEnabler | |
| Errors | ILLEGAL_STATE | dispatchProcessorEnablerForm already used in a create
transaction | |
| INVALID_ARGUMENT | one or more of the form elements is invalid | ||
| NULL_ARGUMENT | dispatchProcessorEnablerForm is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | dispatchProcessorEnablerForm did not originate from
getDispatchProcessorEnablerFormForCreate() | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canUpdateDispatchProcessorEnablers | ||
| Description |
Tests if this user can update
| ||
| Return | boolean | false if DispatchProcessorEnabler modification is
not authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getDispatchProcessorEnablerFormForUpdate | ||
| Description |
Gets the dispatch processor enabler form for updating an existing dispatch processor enabler. A new dispatch processor enabler form should be requested for each update transaction. | ||
| Parameters | osid.id.Id | dispatchProcessorEnablerId | the Id of the DispatchProcessorEnabler |
| Return | osid.subscription.rules.DispatchProcessorEnablerForm | the dispatch processor enabler form | |
| Errors | NOT_FOUND | dispatchProcessorEnablerId is not found | |
| NULL_ARGUMENT | dispatchProcessorEnablerId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | updateDispatchProcessorEnabler | ||
| Description |
Updates an existing dispatch processor enabler. | ||
| Parameters | osid.subscription.rules.DispatchProcessorEnablerForm | dispatchProcessorEnablerForm | the form containing the elements to be updated |
| Errors | ILLEGAL_STATE | dispatchProcessorEnablerForm already used in an update
transaction | |
| INVALID_ARGUMENT | the form contains an invalid value | ||
| NULL_ARGUMENT | dispatchProcessorEnablerForm is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | dispatchProcessorEnablerForm did not originate from
getDispatchProcessorEnablerFormForUpdate() | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canDeleteDispatchProcessorEnablers | ||
| Description |
Tests if this user can delete
| ||
| Return | boolean | false if DispatchProcessorEnabler deletion is not
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | deleteDispatchProcessorEnabler | ||
| Description |
Deletes a | ||
| Parameters | osid.id.Id | dispatchProcessorEnablerId | the Id of the DispatchProcessorEnabler to remove |
| Errors | NOT_FOUND | dispatchProcessorEnablerId not found | |
| NULL_ARGUMENT | dispatchProcessorEnablerId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canManageDispatchProcessorEnablerAliases | ||
| Description |
Tests if this user can manage | ||
| Return | boolean | false if DispatchProcessorEnabler aliasing is not
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | aliasDispatchProcessorEnabler | ||
| Description |
Adds an | ||
| Parameters | osid.id.Id | dispatchProcessorEnablerId | the Id of a DispatchProcessorEnabler |
osid.id.Id | aliasId | the alias Id | |
| Errors | ALREADY_EXISTS | aliasId is already assigned | |
| NOT_FOUND | dispatchProcessorEnablerId not found | ||
| NULL_ARGUMENT | dispatchProcessorEnablerId or aliasId is
null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |