| Interface | osid.journaling.batch.BranchBatchAdminSession | ||
|---|---|---|---|
| Implements | osid.journaling.BranchAdminSession | ||
| 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 | getBranchFormsForCreate | ||
| Description |
Gets the branch forms for creating a bunch of new branches. A form is returned for each supplued journal entry. | ||
| Parameters | osid.id.IdList | journalEntryIds | a list of journal entry Ids |
osid.type.Type[] | branchRecordTypes | array of branch record types to be included in each create operation or an empty list if none | |
| Return | osid.journaling.batch.BranchBatchFormList | the branch forms | |
| Errors | NOT_FOUND | a journalEntryId is not found | |
| NULL_ARGUMENT | journalEntryIds or branchRecordTypes 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 | createBranches | ||
| Description |
Creates a new set of | ||
| Parameters | osid.journaling.batch.BranchBatchFormList | branchForms | the branch forms |
| Return | osid.transaction.batch.CreateResponseList | the create responses | |
| Errors | NULL_ARGUMENT | branchForms is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getBranchFormsForUpdate | ||
| Description |
Gets the branch forms for updating an existing set of branches. A new branch form should be requested for each update transaction. | ||
| Parameters | osid.id.IdList | branchIds | the Ids of the Branch |
| Return | osid.journaling.batch.BranchBatchFormList | the branch form | |
| Errors | NOT_FOUND | a branchId is not found | |
| NULL_ARGUMENT | branchIds is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | updateBranches | ||
| Description |
Updates existing branches. This method returns an error
if the entire operation fails. Otherwise, the status of an
individual update operation is indicated in the | ||
| Parameters | osid.journaling.batch.BranchBatchFormList | branchForms | the form containing the elements to be updated |
| Return | osid.transaction.batch.UpdateResponseList | the update responses | |
| Errors | NULL_ARGUMENT | branchForms is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | deleteAllBranches | ||
| 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 | deleteBranches | ||
| Description |
Deletes branches for the given | ||
| Parameters | osid.id.IdList | branchIds | the Ids of the branches to delete |
| Return | osid.transaction.batch.DeleteResponseList | the delete responses | |
| Errors | NULL_ARGUMENT | branchIds is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | deleteIneffectiveBranchesByDate | ||
| Description |
Deletes branches expired before the given date. | ||
| Parameters | osid.calendaring.DateTime | date | a date |
| Return | osid.transaction.batch.DeleteResponseList | the delete responses | |
| Errors | NULL_ARGUMENT | date is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | aliasBranches | ||
| 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. | |