| Interface | osid.course.chronicle.AssessmentEntryAdminSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description | This session creates, updates, and deletes   Create and update operations differ in their usage. To 
                create an   For updates,   The delete operations delete   This session includes an  | ||
| Method | getCourseCatalogId | ||
| Description | Gets the  | ||
| Return | osid.id.Id | the  CourseCatalog Id associated with this session | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getCourseCatalog | ||
| Description | Gets the  | ||
| Return | osid.course.CourseCatalog | the course catalog | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canCreateAssessmentEntries | ||
| Description | Tests if this user can create  | ||
| Return | boolean |  false if AssessmentEntry creation is not 
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | canCreateAssessmentEntryWithRecordTypes | ||
| Description | Tests if this user can create a single  | ||
| Parameters | osid.type.Type[] | assessmentEntryRecordTypes | array of assessment entry record types | 
| Return | boolean |  true if AssessmentEntry creation using the 
specified record Types is supported, false otherwise | |
| Errors | NULL_ARGUMENT |  assessmentEntryRecordTypes is null  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getAssessmentEntryFormForCreate | ||
| Description | Gets the assessment entry form for creating new assessment entries. A new form should be requested for each create transaction. | ||
| Parameters | osid.id.Id | assessmentId | an assessment  Id  | 
| osid.id.Id | resourceId | a student  Id  | |
| osid.type.Type[] | assessmentEntryRecordTypes | array of assessment entry record types | |
| Return | osid.course.chronicle.AssessmentEntryForm | the assessment entry form | |
| Errors | NOT_FOUND |  assessmentId or resourceId is not found | |
| NULL_ARGUMENT |  assessmentId, resourceId, or 
assessmentEntryRecordTypes is null  | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | unable to get form for requested record types | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | createAssessmentEntry | ||
| Description | Creates a new  | ||
| Parameters | osid.course.chronicle.AssessmentEntryForm | assessmentEntryForm | the form for this  AssessmentEntry  | 
| Return | osid.course.chronicle.AssessmentEntry | the new  AssessmentEntry  | |
| Errors | ILLEGAL_STATE |  assessmentEntryForm already used in a create transaction | |
| INVALID_ARGUMENT | one or more of the form elements is invalid | ||
| NULL_ARGUMENT |  assessmentEntryForm is null  | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED |  assessmentEntryForm did not originate from 
getAssessmentEntryFormForCreate()  | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canUpdateAssessmentEntries | ||
| Description | Tests if this user can update  | ||
| Return | boolean |  false if AssessmentEntry modification is not 
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getAssessmentEntryFormForUpdate | ||
| Description | Gets the assessment entry form for updating an existing assessment entry. A new assessment entry form should be requested for each update transaction. | ||
| Parameters | osid.id.Id | assessmentEntryId | the  Id of the AssessmentEntry  | 
| Return | osid.course.chronicle.AssessmentEntryForm | the assessment entry form | |
| Errors | NOT_FOUND |  assessmentEntryId is not found | |
| NULL_ARGUMENT |  assessmentEntryId is null  | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | updateAssessmentEntry | ||
| Description | Updates an existing assessment entry. | ||
| Parameters | osid.course.chronicle.AssessmentEntryForm | assessmentEntryForm | the form containing the elements to be updated | 
| Errors | ILLEGAL_STATE |  assessmentEntryForm already used in an update transaction | |
| INVALID_ARGUMENT | the form contains an invalid value | ||
| NULL_ARGUMENT |  assessmentEntryForm is null  | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED |  assessmentEntryForm did not originate from 
getAssessmentEntryFormForUpdate()  | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canDeleteAssessmentEntries | ||
| Description | Tests if this user can delete  | ||
| Return | boolean |  false if AssessmentEntry deletion is not 
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | canDeleteAssessmentEntry | ||
| Description | Tests if this user can delete a specified  | ||
| Parameters | osid.id.Id | assessmentEntryId | the  Id of the AssessmentEntry  | 
| Return | boolean |  false if deletion of this AssessmentEntry is 
not authorized, true otherwise | |
| Errors | NULL_ARGUMENT |  assessmentEntryId is null  | |
| Compliance | mandatory | This method must be implemented. | |
| Provider Notes | If the  | ||
| Method | deleteAssessmentEntry | ||
| Description | Deletes an  | ||
| Parameters | osid.id.Id | assessmentEntryId | the  Id of the AssessmentEntry to remove | 
| Errors | NOT_FOUND |  assessmentEntryId not found | |
| NULL_ARGUMENT |  assessmentEntryId is null  | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canManageAssessmentEntryAliases | ||
| Description | Tests if this user can manage  | ||
| Return | boolean |  false if AssessmentEntry aliasing is not 
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | aliasAssessmentEntry | ||
| Description | Adds an  | ||
| Parameters | osid.id.Id | assessmentEntryId | the  Id of an AssessmentEntry  | 
| osid.id.Id | aliasId | the alias  Id  | |
| Errors | ALREADY_EXISTS |  aliasId is in use as a primary Id  | |
| NOT_FOUND |  assessmentEntryId not found | ||
| NULL_ARGUMENT |  assessmentEntryId or aliasId is null 
 | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |