| Interface | osid.assessment.batch.AssessmentOfferedBatchAdminSession | ||
|---|---|---|---|
| Implements | osid.assessment.AssessmentOfferedAdminSession | ||
| 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 | getAssessmentOfferedFormsForCreate | ||
| Description | 
                     Gets the assessment offered forms for creating a bunch of new assessments offered. An AssessmentOfferedForm is returned for each supplied assessment.  | ||
| Parameters | osid.id.IdList | assessmentIds | a list of assessment  Ids   | 
osid.type.Type[] | assessmentOfferedRecordTypes | array of assessment offered record types to be included in each create operation or an empty list if none | |
| Return | osid.assessment.batch.AssessmentOfferedBatchFormList | the assessment offered forms | |
| Errors | NOT_FOUND | an  assessmentId  is not found  |                 |
| NULL_ARGUMENT |  assessmentids  or  assessmentOfferedRecordTypes  
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 | createAssessmentsOffered | ||
| Description | 
                     Creates a new set of   | ||
| Parameters | osid.assessment.batch.AssessmentOfferedBatchFormList | assessmentOfferedForms | the assessment offered forms | 
| Return | osid.transaction.batch.CreateResponseList | the create responses | |
| Errors | NULL_ARGUMENT |  assessmentOfferedForms  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getAssessmentOfferedFormsForUpdate | ||
| Description | 
                     Gets the assessment offered forms for updating an existing set of assessments offered. A new assessment offeredform should be requested for each update transaction.  | ||
| Parameters | osid.id.IdList | assessmentOfferedIds | the  Ids  of the  AssessmentOffered   | 
| Return | osid.assessment.batch.AssessmentOfferedBatchFormList | the assessment offered form | |
| Errors | NOT_FOUND | an  assessmentOfferedId  is not found  |                 |
| NULL_ARGUMENT |  assessmentOfferedIds  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | updateAssessmentsOffered | ||
| Description | 
                     Updates existing assessments offered. 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.AssessmentOfferedBatchFormList | assessmentOfferedForms | the form containing the elements to be updated | 
| Return | osid.transaction.batch.UpdateResponseList | the update responses | |
| Errors | NULL_ARGUMENT |  assessmentOfferedForms  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | deleteAllAssessmentsOffered | ||
| 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 | deleteAssessmentsOffered | ||
| Description | 
                     Deletes assessments offered for the given   | ||
| Parameters | osid.id.IdList | assessmentOfferedIds | the  Ids  of the assessments offered to delete  | 
| Return | osid.transaction.batch.DeleteResponseList | the delete responses | |
| Errors | NULL_ARGUMENT |  assessmentOfferedIds  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | deleteAssessmentsOfferedForAssessment | ||
| Description | 
                     Deletes all assessments offered for the given assessment,  | ||
| Parameters | osid.id.Id | assessmentId | an  Id  of an assessment  | 
| Return | osid.transaction.batch.DeleteResponseList | the delete responses | |
| Errors | NULL_ARGUMENT |  assessmentId  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | deleteIneffectiveAssessmentsOfferedByDate | ||
| Description | 
                     Deletes assessments offeredexpired 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 | aliasAssessmentsOffered | ||
| 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. | |