Interface | osid.course.chronicle.batch.AssessmentEntryBatchAdminSession | ||
---|---|---|---|
Implements | osid.course.chronicle.AssessmentEntryAdminSession | ||
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 | getAssessmentEntryFormsForCreate | ||
Description |
Gets the assessment entry forms for creating a bunch of
new cressmentedential entries. An | ||
Parameters | osid.course.chronicle.batch.AssessmentEntryPeerList | peers | the relationship peers |
osid.type.Type[] | assessmentEntryRecordTypes | array of assessment entry record types to be included in each create operation or an empty list if none | |
Return | osid.course.chronicle.batch.AssessmentEntryBatchFormList | the assessment entry forms | |
Errors | NOT_FOUND | an assessmentId or stuidentId is not found | |
NULL_ARGUMENT | peers or assessmentEntryRecordTypes 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 | createAssessmentEntries | ||
Description |
Creates a new set of | ||
Parameters | osid.course.chronicle.batch.AssessmentEntryBatchFormList | assessmentEntryForms | the assessment entry forms |
Return | osid.transaction.batch.CreateResponseList | the create responses | |
Errors | NULL_ARGUMENT | assessmentEntryForms is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | getAssessmentEntryFormsForUpdate | ||
Description |
Gets the assessment entry forms for updating an existing set of assessment entries. A new assessment entry form should be requested for each update transaction. | ||
Parameters | osid.id.IdList | assessmentEntryIds | the Ids of the AssessmentEntry |
Return | osid.course.chronicle.batch.AssessmentEntryBatchFormList | the assessment entry form | |
Errors | NOT_FOUND | anassessment EntryId is not found | |
NULL_ARGUMENT | assessmentEntryIds is null | ||
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | updateAssessmentEntries | ||
Description |
Updates existing assessment entries. This method
returns an error if the entire operation fails. Otherwise,
the status of an individual update operation is indicated
in the | ||
Parameters | osid.course.chronicle.batch.AssessmentEntryBatchFormList | assessmentEntryForms | the form containing the elements to be updated |
Return | osid.transaction.batch.UpdateResponseList | the update responses | |
Errors | NULL_ARGUMENT | assessmentEntryForms is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | deleteAllAssessmentEntries | ||
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 | deleteAssessmentEntries | ||
Description |
Deletes assessment entries for the given | ||
Parameters | osid.id.IdList | assessmentEntryIds | the Ids of the assessment entries to delete |
Return | osid.transaction.batch.DeleteResponseList | the delete responses | |
Errors | NULL_ARGUMENT | assessmentEntryIds is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | deleteAssessmentEntriesForAssessment | ||
Description |
Deletes all assessment entries 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 | deleteAssessmentEntriesForStudent | ||
Description |
Deletes all assessment entries for the given student. | ||
Parameters | osid.id.Id | resourceId | an Id of a student |
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 | deleteIneffectiveAssessmentEntriesByDate | ||
Description |
Deletes assessment entries 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 | aliasAssessmentEntries | ||
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. |