| Interface | osid.assessment.batch.AssessmentTakenBatchAdminSession | ||
|---|---|---|---|
| Implements | osid.assessment.AssessmentTakenAdminSession | ||
| 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 | getAssessmentTakenFormsForCreate | ||
| Description |
Gets the assessment taken forms for creating a bunch of new assessments taken. A form is returned for each supplied assessment offered and resource pair. | ||
| Parameters | osid.assessment.batch.AssessmentTakenPeerList | peers | a list of assessment taken peers |
osid.type.Type[] | assessmentTakenRecordTypes | array ofassessment taken record types to be included in each create operation or an empty list if none | |
| Return | osid.assessment.batch.AssessmentTakenBatchFormList | the assessment taken forms | |
| Errors | NOT_FOUND | an assessmentOfferedId or resourceId is not
found | |
| NULL_ARGUMENT | peers or assessmentTakenRecordTypes 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 | createAssessmentsTaken | ||
| Description |
Creates a new set of | ||
| Parameters | osid.assessment.batch.AssessmentTakenBatchFormList | assessmentTakenForms | the assessment taken forms |
| Return | osid.transaction.batch.CreateResponseList | the create responses | |
| Errors | NULL_ARGUMENT | assessmentTakenForms is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getAssessmentTakenFormsForUpdate | ||
| Description |
Gets the assessment taken forms for updating an existing set of assessments taken. A newassessment taken form should be requested for each update transaction. | ||
| Parameters | osid.id.IdList | assessmentTakenIds | the Ids of the AssessmentTaken |
| Return | osid.assessment.batch.AssessmentTakenBatchFormList | the assessment taken forms | |
| Errors | NOT_FOUND | an assessmentTakenId is not found | |
| NULL_ARGUMENT | assessmentTakenIds is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | updateAssessmentsTaken | ||
| Description |
Updates existing assessments taken. This method returns
an error if the entire operation fails. Otherwise, the
status of an individual update operation is indicated in
the | ||
| Parameters | osid.assessment.batch.AssessmentTakenBatchFormList | assessmentTakenForms | the form containing the elements to be updated |
| Return | osid.transaction.batch.UpdateResponseList | the update responses | |
| Errors | NULL_ARGUMENT | assessmentTakenForms is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | deleteAllAssessmentsTaken | ||
| 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 | deleteAssessmentsTaken | ||
| Description |
Deletes assessments taken for the given | ||
| Parameters | osid.id.IdList | assessmentTakenIds | the Ids of the assessments taken to delete |
| Return | osid.transaction.batch.DeleteResponseList | the delete responses | |
| Errors | NULL_ARGUMENT | assessmentTakenIds is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | deleteAssessmentsTakenForTaker | ||
| Description |
Deletes assessments taken for the given taker. | ||
| Parameters | osid.id.Id | resourceId | an Id of a resource |
| Return | osid.transaction.batch.DeleteResponseList | the delete responses | |
| Errors | NULL_ARGUMENT | resourceId is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | deleteAssessmentsTakenForAssessmentOffered | ||
| Description |
Deletes assessments taken for the given assessment offered. | ||
| Parameters | osid.id.Id | assessmentOfferedId | an Id of an assessment offered |
| Return | osid.transaction.batch.DeleteResponseList | the delete responses | |
| Errors | NULL_ARGUMENT | assessmentOfferedId is null | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | aliasAssessmentsTaken | ||
| 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. | |