OSID Logo
OSID Specifications
course package
Version 3.1.0
Interfaceosid.course.ActivitySearchOrder
Implementsosid.OsidRelationshipSearchOrder
osid.OsidSubjugateableSearchOrder
Used Byosid.course.ActivitySearchSession
osid.course.ActivitySmartCourseCatalogSession
osid.course.plan.LessonSearchOrder
osid.course.registration.ActivityRegistrationSearchOrder
Description

An interface for specifying the ordering of search results.

MethodorderByActivityUnit
Description

Specifies a preference for ordering the result set by activity unit.

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

Tests if an activity unit search order is available.

Returnboolean true if an activity unit search order is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetActivityUnitSearchOrder
Description

Gets the activity unit search order.

Returnosid.course.CourseSearchOrder the activity unit search order
ErrorsUNIMPLEMENTED supportsActivityUnitSearchOrder() is false
Complianceoptional This method must be implemented if supportsActivityUnitSearchOrder() is true.
MethodorderByCourseOffering
Description

Specifies a preference for ordering the result set by course offering.

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

Tests if a course offering search is available.

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

Gets the course offering search order.

Returnosid.course.CourseOfferingSearchOrder the course offering search order
ErrorsUNIMPLEMENTED supportsCourseOfferingSearchOrder() is false
Complianceoptional This method must be implemented if supportsActivityUnitSearchOrder() 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 search order is available.

Returnboolean true if a term search 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.
MethodorderByImplicit
Description

Specifies a preference for ordering the result set by the implicit status.

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.
MethodorderByTotalTargetEffort
Description

Specifies a preference for ordering the result set by the total effort.

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

Specifies a preference for ordering the result set by the total contact.

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

Specifies a preference for ordering the result set by total individual effort.

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

Specifies a preference for ordering the result set by weekly recurring.

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

Specifies a preference for ordering the result set by the weekly effort.

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

Specifies a preference for ordering the result set by the weekly contact.

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

Specifies a preference for ordering the result set by weekly individual effort.

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

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

Parametersosid.type.TypeactivityRecordType an activity record type
Returnosid.course.records.ActivitySearchOrderRecord the activity search order record
ErrorsNULL_ARGUMENT activityRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(activityRecordType) is false
Compliancemandatory This method must be implemented.