OSID Logo
OSID Specifications
course program package
Version 3.1.0
Interfaceosid.course.program.ProgramOfferingSearchOrder
Implementsosid.OsidRelationshipSearchOrder
Used Byosid.course.program.EnrollmentSearchOrder
osid.course.program.ProgramOfferingSearchOrder
osid.course.program.ProgramOfferingSearchSession
osid.course.program.ProgramOfferingSmartCourseCatalogSession
Description

An interface for specifying the ordering of search results.

MethodorderByProgram
Description

Specifies a preference for ordering the result set by program.

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

Tests if a program order is available.

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

Gets the program order.

Returnosid.course.program.ProgramSearchOrder the program search order
ErrorsUNIMPLEMENTED supportsProgramSearchOrder() is false
Complianceoptional This method must be implemented if supportsProgramSearchOrder() is true.
MethodorderByTerm
Description

Specifies a preference for ordering the result set by term.

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

Tests if a term order is available.

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

Gets the term order.

Returnosid.course.TermSearchOrder the term search order
ErrorsUNIMPLEMENTED supportsTermSearchOrder() is false
Complianceoptional This method must be implemented if supportsTermSearchOrder() is true.
MethodorderByTitle
Description

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

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

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

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

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

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

Tests if a parent program offering search order is available.

Returnboolean true if a program offering search order is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetParentProgramOfferingSearchOrder
Description

Gets the parent program offering search order.

Returnosid.course.program.ProgramOfferingSearchOrder the program offering search order
ErrorsUNIMPLEMENTED supportsParentProgramOfferingSearchOrder() is false
Complianceoptional This method must be implemented if supportsParentProgramOfferingSearchOrder() is true.
MethodorderByCompletionRequirementsInfo
Description

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

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

Specifies a preference for ordering the result set by program offerings requiring registration.

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

Specifies a preference for ordering the result set by the minimum seats.

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

Specifies a preference for ordering the result set by the maximum seats.

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

Specifies a preference for ordering the result set by url.

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

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

Parametersosid.type.TypeprogramOfferingRecordType a program offering record type
Returnosid.course.program.records.ProgramOfferingSearchOrderRecord the program offering search order record
ErrorsNULL_ARGUMENT programOfferingRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(programOfferingRecordType) is false
Compliancemandatory This method must be implemented.