OSID Logo
OSID Specifications
offering package
Version 3.1.0
Interfaceosid.offering.ParticipantForm
Implementsosid.OsidRelationshipForm
Implemented Byosid.offering.batch.ParticipantBatchForm
Used Byosid.offering.ParticipantAdminSession
Description

This is the form for creating and updating Participants. Like all OsidForms, various data elements may be set here for use in the create and update methods in the ParticipantAdminSession . For each data element that may be set, metadata may be examined to provide display hints or data constraints.

MethodgetTimePeriodMetadata
Description

Gets the metadata for a time period.

Returnosid.Metadata metadata for the time period
Compliancemandatory This method must be implemented.
MethodsetTimePeriod
Description

Sets the time period.

Parametersosid.id.IdtimePeriodId the time period
ErrorsINVALID_ARGUMENT timePeriodId is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT timePeriodId is null
Compliancemandatory This method must be implemented.
MethodclearTimePeriod
Description

Clears the time period.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetResultOptionsMetadata
Description

Gets the metadata for the grading options.

Returnosid.Metadata metadata for the prerequisite information
Compliancemandatory This method must be implemented.
MethodsetResultOptions
Description

Sets the grading options.

Parametersosid.id.Id[]gradeSystemIds the new grading options
ErrorsINVALID_ARGUMENT gradeSystemIds is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT gradeSystemIds is null
Compliancemandatory This method must be implemented.
MethodclearResultOptions
Description

Removes the grading options.

ErrorsNO_ACCESS Metadata.isRequired() is true or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetParticipantFormRecord
Description

Gets the ParticipantFormRecord interface corresponding to the given participant record Type.

Parametersosid.type.TypeparticipantRecordType the participant record type
Returnosid.offering.records.ParticipantFormRecord the record
ErrorsNULL_ARGUMENT participantRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(participantRecordType) is false
Compliancemandatory This method must be implemented.