Interface | osid.offering.OfferingForm | ||
---|---|---|---|
Implements | osid.OsidRelationshipForm | ||
Description |
This is the form for creating and updating | ||
Method | getTitleMetadata | ||
Description |
Gets the metadata for a title. | ||
Return | osid.Metadata | metadata for the title | |
Compliance | mandatory | This method must be implemented. | |
Method | setTitle | ||
Description |
Sets the title. | ||
Parameters | string | title | the title |
Errors | INVALID_ARGUMENT | title is invalid | |
NO_ACCESS | Metadata.isReadOnly() is true | ||
NULL_ARGUMENT | title is null | ||
Compliance | mandatory | This method must be implemented. | |
Method | clearTitle | ||
Description |
Clears the title. | ||
Errors | NO_ACCESS | Metadata.isRequired() or Metadata.isReadOnly()
is true | |
Compliance | mandatory | This method must be implemented. | |
Method | getCodeMetadata | ||
Description |
Gets the metadata for a given name. | ||
Return | osid.Metadata | metadata for the given name | |
Compliance | mandatory | This method must be implemented. | |
Method | setCode | ||
Description |
Sets the code. | ||
Parameters | string | code | the code |
Errors | INVALID_ARGUMENT | code is invalid | |
NO_ACCESS | Metadata.isReadOnly() is true | ||
NULL_ARGUMENT | code is null | ||
Compliance | mandatory | This method must be implemented. | |
Method | clearCode | ||
Description |
Clears the code. | ||
Errors | NO_ACCESS | Metadata.isRequired() or Metadata.isReadOnly()
is true | |
Compliance | mandatory | This method must be implemented. | |
Method | getResultOptionsMetadata | ||
Description |
Gets the metadata for the grading options. | ||
Return | osid.Metadata | metadata for the prerequisite information | |
Compliance | mandatory | This method must be implemented. | |
Method | setResultOptions | ||
Description |
Sets the grading options. | ||
Parameters | osid.id.Id[] | gradeSystemIds | the new grading options |
Errors | INVALID_ARGUMENT | gradeSystemIds is invalid | |
NO_ACCESS | Metadata.isReadOnly() is true | ||
NULL_ARGUMENT | gradeSystemIds is null | ||
Compliance | mandatory | This method must be implemented. | |
Method | clearResultOptions | ||
Description |
Removes the grading options. | ||
Errors | NO_ACCESS | Metadata.isRequired() is true or
Metadata.isReadOnly() is true | |
Compliance | mandatory | This method must be implemented. | |
Method | getSponsorsMetadata | ||
Description |
Gets the metadata for the sponsors. | ||
Return | osid.Metadata | metadata for the sponsors | |
Compliance | mandatory | This method must be implemented. | |
Method | setSponsors | ||
Description |
Sets the sponsors. | ||
Parameters | osid.id.Id[] | sponsorIds | the new sponsors |
Errors | INVALID_ARGUMENT | sponsorIds is invalid | |
NO_ACCESS | Metadata.isReadOnly() is true | ||
NULL_ARGUMENT | sponsorIds is null | ||
Compliance | mandatory | This method must be implemented. | |
Method | clearSponsors | ||
Description |
Removes the sponsors. | ||
Errors | NO_ACCESS | Metadata.isRequired() is true or
Metadata.isReadOnly() is true | |
Compliance | mandatory | This method must be implemented. | |
Method | getOfferingFormRecord | ||
Description |
Gets the | ||
Parameters | osid.type.Type | offeringRecordType | the offering record type |
Return | osid.offering.records.OfferingFormRecord | the record | |
Errors | NULL_ARGUMENT | offeringRecordType is null | |
OPERATION_FAILED | unable to complete request | ||
UNSUPPORTED | hasRecordType(offeringRecordType) is false | ||
Compliance | mandatory | This method must be implemented. |