| Interface | osid.learning.ActivityForm | ||
|---|---|---|---|
| Implements | osid.OsidObjectForm | ||
osid.OsidSubjugateableForm | |||
| Description |
This is the form for creating and updating | ||
| Method | getAssetsMetadata | ||
| Description |
Gets the metadata for the assets. | ||
| Return | osid.Metadata | metadata for the assets | |
| Compliance | mandatory | This method must be implemented. | |
| Method | setAssets | ||
| Description |
Sets the assets. | ||
| Parameters | osid.id.Id[] | assetIds | the asset Ids |
| Errors | INVALID_ARGUMENT | assetIds is invalid | |
| NULL_ARGUMENT | assetIds is null | ||
| NO_ACCESS | Metadata.isReadOnly() is true | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | clearAssets | ||
| Description |
Clears the assets. | ||
| Errors | NO_ACCESS | Metadata.isRequired() or Metadata.isReadOnly()
is true | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getCoursesMetadata | ||
| Description |
Gets the metadata for the courses. | ||
| Return | osid.Metadata | metadata for the courses | |
| Compliance | mandatory | This method must be implemented. | |
| Method | setCourses | ||
| Description |
Sets the courses. | ||
| Parameters | osid.id.Id[] | courseIds | the course Ids |
| Errors | INVALID_ARGUMENT | courseIds is invalid | |
| NULL_ARGUMENT | courseIds is null | ||
| NO_ACCESS | Metadata.isReadOnly() is true | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | clearCourses | ||
| Description |
Clears the courses. | ||
| Errors | NO_ACCESS | Metadata.isRequired() or Metadata.isReadOnly()
is true | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getAssessmentsMetadata | ||
| Description |
Gets the metadata for the assessments. | ||
| Return | osid.Metadata | metadata for the assessments | |
| Compliance | mandatory | This method must be implemented. | |
| Method | setAssessments | ||
| Description |
Sets the assessments. | ||
| Parameters | osid.id.Id[] | assessmentIds | the assessment Ids |
| Errors | INVALID_ARGUMENT | assessmentIds is invalid | |
| NULL_ARGUMENT | assessmentIds is null | ||
| NO_ACCESS | Metadata.isReadOnly() is true | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | clearAssessments | ||
| Description |
Clears the assessments. | ||
| Errors | NO_ACCESS | Metadata.isRequired() or Metadata.isReadOnly()
is true | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getActivityFormRecord | ||
| Description |
Gets the | ||
| Parameters | osid.type.Type | activityRecordType | the activity record type |
| Return | osid.learning.records.ActivityFormRecord | the activity form record | |
| Errors | NULL_ARGUMENT | activityRecordType is null | |
| OPERATION_FAILED | unable to complete request | ||
| UNSUPPORTED | hasRecordType(activityRecordType) is false | ||
| Compliance | mandatory | This method must be implemented. | |