OSID Logo
OSID Specifications
recognition package
Version 3.1.0
Interfaceosid.recognition.ConvocationSearchOrder
Implementsosid.OsidGovernatorSearchOrder
Used Byosid.recognition.ConferralSearchOrder
osid.recognition.ConvocationSearchSession
osid.recognition.ConvocationSmartAcademySession
Description

An interface for specifying the ordering of search results.

MethodorderByDate
Description

Specifies a preference for ordering the result set by the date.

Parametersosid.SearchOrderStylestyle search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This method must be implemented.
MethodorderByTimePeriod
Description

Specifies a preference for ordering the result set by the time period.

Parametersosid.SearchOrderStylestyle search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This method must be implemented.
MethodsupportsTimePeriodSearchOrder
Description

Tests if a time period order is available.

Returnboolean true if a time period order is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetTimePeriodSearchOrder
Description

Gets the time period order.

Returnosid.calendaring.TimePeriodSearchOrder the time period search order
ErrorsUNIMPLEMENTED supportsTimePeriodSearchOrder() is false
Complianceoptional This method must be implemented if supportsTimePeriodSearchOrder() is true.
MethodgetConvocationSearchOrderRecord
Description

Gets the convocation search order record corresponding to the given convocation record Type. Multiple retrievals return the same underlying object.

Parametersosid.type.TypeconvocationRecordType a convocation record type
Returnosid.recognition.records.ConvocationSearchOrderRecord the convocation search order record
ErrorsNULL_ARGUMENT convocationRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(convocationRecordType) is false
Compliancemandatory This method must be implemented.