Interface | osid.authorization.batch.VaultBatchAdminSession | ||
---|---|---|---|
Implements | osid.authorization.VaultAdminSession | ||
Description |
This session creates, updates, and deletes Create and update operations differ in their usage. To
create an The Once a batch of For updates, Once a batch of The delete operations delete | ||
Method | getVaultFormsForCreate | ||
Description |
Gets the vault forms for creating a bunch of new vaults. | ||
Parameters | cardinal | number | the number of forms to retrieve |
osid.type.Type[] | vaultRecordTypes | array of vault record types to be included in each create operation or an empty list if none | |
Return | osid.authorization.batch.VaultBatchFormList | the vault forms | |
Errors | NULL_ARGUMENT | vaultRecordTypes 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 | createVaults | ||
Description |
Creates a new set of | ||
Parameters | osid.authorization.batch.VaultBatchFormList | vaultForms | the vault forms |
Return | osid.transaction.batch.CreateResponseList | the create responses | |
Errors | NULL_ARGUMENT | vaultForms is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getVaultFormsForUpdate | ||
Description |
Gets the vault forms for updating an existing set of vaults. A new vault form should be requested for each update transaction. | ||
Parameters | osid.id.IdList | vaultIds | the Ids of the Vault |
Return | osid.authorization.batch.VaultBatchFormList | the vault form | |
Errors | NOT_FOUND | an vaultId is not found | |
NULL_ARGUMENT | vaultIds is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | updateVaults | ||
Description |
Updates existing vaults. This method returns an error
if the entire operation fails. Otherwise, the status of an
individual update operation is indicated in the | ||
Parameters | osid.authorization.batch.VaultBatchFormList | vaultForms | the form containing the elements to be updated |
Return | osid.transaction.batch.UpdateResponseList | the update responses | |
Errors | NULL_ARGUMENT | vaultForms is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | deleteAllVaults | ||
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 | deleteVaults | ||
Description |
Deletes vaults for the given | ||
Parameters | osid.id.IdList | vaultIds | the Ids of the vaults to delete |
Return | osid.transaction.batch.DeleteResponseList | the delete responses | |
Errors | NULL_ARGUMENT | vaultIds is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | aliasVaults | ||
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. |