Interface | osid.inquiry.batch.AuditBatchAdminSession | ||
---|---|---|---|
Implements | osid.inquiry.AuditAdminSession | ||
Description |
This session creates and deletes To create an The Once a batch of | ||
Method | getAuditFormsForCreate | ||
Description |
Gets the audit forms for creating a bunch of new audtits. | ||
Parameters | cardinal | n | number of forms to retrieve |
osid.type.Type[] | auditRecordTypes | array of audtit record types to be included in each create operation or an empty list if none | |
Return | osid.inquiry.batch.AuditBatchFormList | the audit forms | |
Errors | NULL_ARGUMENT | auditRecordTypes 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 | createAudits | ||
Description |
Creates a new set of | ||
Parameters | osid.inquiry.batch.AuditBatchFormList | auditForms | the audit forms |
Return | osid.transaction.batch.CreateResponseList | the create responses | |
Errors | NULL_ARGUMENT | auditForms is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getAuditFormsForUpdate | ||
Description |
Gets the audit forms for updating an existing set of audits. A new audit form should be requested for each update transaction. | ||
Parameters | osid.id.IdList | auditIds | the Ids of the Audits |
Return | osid.inquiry.batch.AuditBatchFormList | the audit forms | |
Errors | NOT_FOUND | an auditId is not found | |
NULL_ARGUMENT | auditIds is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | updateAudits | ||
Description |
Updates existing auditis. This method returns an error
if the entire operation fails. Otherwise, the status of an
individual update operation is indicated in the | ||
Parameters | osid.inquiry.batch.AuditBatchFormList | auditForms | the form containing the elements to be updated |
Return | osid.transaction.batch.UpdateResponseList | the update responses | |
Errors | NULL_ARGUMENT | auditForms is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | deleteAllAudits | ||
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 | aliasAudits | ||
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. |