Interface | osid.subscription.batch.DispatchBatchAdminSession | ||
---|---|---|---|
Implements | osid.subscription.DispatchAdminSession | ||
Description |
This session creates, updates, and deletes Create and update operations differ in their usage. To
create a The Once a batch of For updates, Once a batch of The delete operations delete | ||
Method | getDispatchFormsForCreate | ||
Description |
Gets the dispatch forms for creating a bunch of new dispatches. | ||
Parameters | cardinal | number | the number of forms to retrieve |
osid.type.Type[] | dispatchRecordTypes | array of dispatch record types to be included in each create operation or an empty list if none | |
Return | osid.subscription.batch.DispatchBatchFormList | the dispatch forms | |
Errors | NULL_ARGUMENT | dispatchRecordTypes is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
UNSUPPORTED | unable to request forms with given record types | ||
Compliance | mandatory | This method must be implemented. | |
Method | createDispatches | ||
Description |
Creates a new set of | ||
Parameters | osid.subscription.batch.DispatchBatchFormList | dispatchForms | the dispatch forms |
Return | osid.transaction.batch.CreateResponseList | the create responses | |
Errors | NULL_ARGUMENT | dispatchForms is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getDispatchFormsForUpdate | ||
Description |
Gets the dispatch forms for updating an existing set of dispatches. A new dispatch form should be requested for each update transaction. | ||
Parameters | osid.id.IdList | dispatchIds | the Ids of the Dispatch |
Return | osid.subscription.batch.DispatchBatchFormList | the dispatch form | |
Errors | NOT_FOUND | a dispatchId is not found | |
NULL_ARGUMENT | dispatchIds is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | updateDispatches | ||
Description |
Updates existing dispatches. This method returns an
error if the entire operation fails. Otherwise, the status
of an individual update operation is indicated in the
| ||
Parameters | osid.subscription.batch.DispatchBatchFormList | dispatchForms | the form containing the elements to be updated |
Return | osid.transaction.batch.UpdateResponseList | the update responses | |
Errors | NULL_ARGUMENT | dispatchForms is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | deleteAllDispatches | ||
Description |
Deletes all | ||
Return | osid.transaction.batch.DeleteResponseList | the delete responses | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | deleteDispatches | ||
Description |
Deletes dispatches for the given | ||
Parameters | osid.id.IdList | dispatchIds | the Ids of the dispatches to delete |
Return | osid.transaction.batch.DeleteResponseList | the delete responses | |
Errors | NULL_ARGUMENT | dispatchIds is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | aliasDispatches | ||
Description |
Adds an | ||
Parameters | osid.transaction.batch.AliasRequestList | aliasRequests | the alias requests |
Return | osid.transaction.batch.AliasResponseList | the alias responses | |
Errors | NULL_ARGUMENT | aliasRequests is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. |