OSID Logo
OSID Specifications
recognition package
Version 3.0.0
Release Candidate Preview
Interfaceosid.recognition.Convocation
Implementsosid.OsidGovernator
Description

A Convocation is a set of Awards to be conferred.

MethodgetAwardIds
Description

Gets the Ids of the awards.

Returnosid.id.IdListthe award Ids
CompliancemandatoryThis method must be implemented.
MethodgetAwards
Description

Gets the awards.

Returnosid.recognition.AwardListthe awards
ErrorsOPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.
MethodhasTimePeriod
Description

Tests if the convocation confers awards for a period of time.

Returnboolean true if a time period exists, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetTimePeriodId
Description

Gets the Id of the time period.

Returnosid.id.Idthe time period Id
ErrorsILLEGAL_STATE hasTimePeriod() is false
CompliancemandatoryThis method must be implemented.
MethodgetTimePeriod
Description

.Gets the time period.

Returnosid.calendaring.TimePeriodthe time period
ErrorsILLEGAL_STATE hasTimePeriod() is false
OPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.
MethodgetDate
Description

Gets the date the awards in this convocation are to be conferred.

Returnosid.calendaring.DateTimethe awards date
ErrorsILLEGAL_STATE hasTimePeriod() is true
CompliancemandatoryThis method must be implemented.
MethodgetConvocationRecord
Description

Gets the convocation record corresponding to the given Convocation record Type. This method is used to retrieve an object implementing the requested record. The convocationRecordType may be the Type returned in getRecordTypes() or any of its parents in a Type hierarchy where hasRecordType(convocationRecordType) is true .

Parametersosid.type.TypeconvocationRecordTypethe type of convocation record to retrieve
Returnosid.recognition.records.ConvocationRecordthe convocation record
ErrorsNULL_ARGUMENT convocationRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(convocationRecordType) is false
CompliancemandatoryThis method must be implemented.