| Interface | osid.course.syllabus.SyllabusAdminSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description |
This session creates, updates, and deletes Create and update operations differ in their usage. To
create a 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 | canCreateSyllabi | ||
| Description |
Tests if this user can create syllabi. A return of true
does not guarantee successful authorization. A return of
false indicates that it is known creating a | ||
| Return | boolean | false if Syllabus creation is not authorized,
true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | canCreateSyllabusWithRecordTypes | ||
| Description |
Tests if this user can create a single | ||
| Parameters | osid.type.Type[] | syllabusRecordTypes | array of syllabus record types |
| Return | boolean | true if Syllabus creation using the specified
record Types is supported, false otherwise | |
| Errors | NULL_ARGUMENT | syllabusRecordTypes is null | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getSyllabusFormForCreate | ||
| Description |
Gets the syllabus form for creating new syllabi. A new form should be requested for each create transaction. | ||
| Parameters | osid.id.Id | courseId | the Id for the course |
osid.type.Type[] | syllabusRecordTypes | array of syllabus record types | |
| Return | osid.course.syllabus.SyllabusForm | the syllabus form | |
| Errors | NOT_FOUND | courseId is not found | |
| NULL_ARGUMENT | courseId or syllabusRecordTypes 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 | createSyllabus | ||
| Description |
Creates a new | ||
| Parameters | osid.course.syllabus.SyllabusForm | syllabusForm | the form for this Syllabus |
| Return | osid.course.syllabus.Syllabus | the new Syllabus | |
| Errors | ILLEGAL_STATE | syllabusForm already used in a create transaction | |
| INVALID_ARGUMENT | one or more of the form elements is invalid | ||
| NOT_FOUND | courseId is not found | ||
| NULL_ARGUMENT | syllabusForm is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | syllabusForm did not originate from
getSyllabusFormForCreate() | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canUpdateSyllabi | ||
| Description |
Tests if this user can update syllabi. A return of true
does not guarantee successful authorization. A return of
false indicates that it is known updating a | ||
| Return | boolean | false if Syllabus modification is not
authorized, true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getSyllabusFormForUpdate | ||
| Description |
Gets the syllabus form for updating an existing syllabus. A new syllabus form should be requested for each update transaction. | ||
| Parameters | osid.id.Id | syllabusId | the Id of the Syllabus |
| Return | osid.course.syllabus.SyllabusForm | the syllabus form | |
| Errors | NOT_FOUND | syllabusId is not found | |
| NULL_ARGUMENT | syllabusId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | updateSyllabus | ||
| Description |
Updates an existing syllabus. | ||
| Parameters | osid.course.syllabus.SyllabusForm | syllabusForm | the form containing the elements to be updated |
| Errors | ILLEGAL_STATE | syllabusForm already used in an update transaction | |
| INVALID_ARGUMENT | the form contains an invalid value | ||
| NULL_ARGUMENT | syllabusForm is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED | syllabusForm did not originate from
getSyllabusFormForUpdate() | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canDeleteSyllabi | ||
| Description |
Tests if this user can delete syllabi. A return of true
does not guarantee successful authorization. A return of
false indicates that it is known deleting an | ||
| Return | boolean | false if Syllabus deletion is not authorized,
true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | deleteSyllabus | ||
| Description |
Deletes a | ||
| Parameters | osid.id.Id | syllabusId | the Id of the Syllabus to remove |
| Errors | NOT_FOUND | syllabusId not found | |
| NULL_ARGUMENT | syllabusId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canManageSyllabusAliases | ||
| Description |
Tests if this user can manage | ||
| Return | boolean | false if Syllabus aliasing is not authorized,
true otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | aliasSyllabus | ||
| Description |
Adds an | ||
| Parameters | osid.id.Id | syllabusId | the Id of a Syllabus |
osid.id.Id | aliasId | the alias Id | |
| Errors | ALREADY_EXISTS | aliasId is already assigned | |
| NOT_FOUND | syllabusId not found | ||
| NULL_ARGUMENT | syllabusId or aliasId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |