OSID Logo
OSID Specifications
course chronicle package
Version 3.0.0
Release Candidate Preview
Interfaceosid.course.chronicle.ProgramEntrySearchOrder
Implementsosid.OsidRelationshipSearchOrder
Description

An interface for specifying the ordering of search results.

MethodorderByStudent
Description

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

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodsupportsStudentSearchOrder
Description

Tests if a resource order is available.

Returnboolean true if a resource order is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetStudentSearchOrder
Description

Gets the resource order.

Returnosid.resource.ResourceSearchOrderthe resource search order
ErrorsUNIMPLEMENTED supportsStudentSearchOrder() is false
ComplianceoptionalThis method must be implemented if supportsStudentSearchOrder() is true.
MethodorderByProgram
Description

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

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodsupportsProgramSearchOrder
Description

Tests if a program order is available.

Returnboolean true if a program order is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetProgramSearchOrder
Description

Gets the program order.

Returnosid.course.program.ProgramSearchOrderthe program search order
ErrorsUNIMPLEMENTED supportsProgramSearchOrder() is false
ComplianceoptionalThis method must be implemented if supportsProgramSearchOrder() is true.
MethodorderByAdmissionDate
Description

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

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodorderByComplete
Description

Specifies a preference for ordering the result set by completed programs.

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodorderByTerm
Description

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

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodsupportsTermSearchOrder
Description

Tests if a term order is available.

Returnboolean true if a term order is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetTermSearchOrder
Description

Gets the term order.

Returnosid.course.TermSearchOrderthe term search order
ErrorsUNIMPLEMENTED supportsTermSearchOrder() is false
ComplianceoptionalThis method must be implemented if supportsTermSearchOrder() is true.
MethodorderByCreditScale
Description

Specifies a preference for ordering the result set by the grade system for credits.

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodsupportsCreditScaleSearchOrder
Description

Tests if a grade system order is available.

Returnboolean true if a grade system order is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetCreditScaleSearchOrder
Description

Gets the grade system order.

Returnosid.grading.GradeSystemSearchOrderthe credit scale search order
ErrorsUNIMPLEMENTED supportsCreditScaleSearchOrder() is false
ComplianceoptionalThis method must be implemented if supportsCreditScaleSearchOrder() is true.
MethodorderByCreditsEarned
Description

Specifies a preference for ordering the result set by the earned credits.

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodorderByGPAScale
Description

Specifies a preference for ordering the result set by the grade system for GPAs.

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodsupportsGPAScaleSearchOrder
Description

Tests if a grade system order is available.

Returnboolean true if a grade system order is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetGPAScaleSearchOrder
Description

Gets the grade system order.

Returnosid.grading.GradeSystemSearchOrderthe GPA scale search order
ErrorsUNIMPLEMENTED supportsGPAScaleSearchOrder() is false
ComplianceoptionalThis method must be implemented if supportsGPAScaleSearchOrder() is true.
MethodorderByGPA
Description

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

Parametersosid.SearchOrderStylestylesearch order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodgetProgramEntrySearchOrderRecord
Description

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

Parametersosid.type.TypeprogramEntryRecordTypea program entry record type
Returnosid.course.chronicle.records.ProgramEntrySearchOrderRecordthe program entry search order record
ErrorsNULL_ARGUMENT programEntryRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(programEntryRecordType) is false
CompliancemandatoryThis method must be implemented.