OSID Logo
OSID Specifications
course package
Version 3.0.0
Release Candidate Preview
Interfaceosid.course.ActivityUnitSearchOrder
Implementsosid.OsidObjectSearchOrder
osid.OsidOperableSearchOrder
osid.OsidSubjugateableSearchOrder
Description

An interface for specifying the ordering of search results.

MethodorderByCourse
Description

Specifies a preference for ordering the result set by course.

Parametersosid.SearchOrderStylestylea search order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodsupportsCourseSearchOrder
Description

Tests if a course order is available.

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

Gets the course order.

Returnosid.course.CourseSearchOrderthe course search order
ErrorsUNIMPLEMENTED supportsCourseSearchOrder() is false
ComplianceoptionalThis method must be implemented if supportsCourseSearchOrder() is true.
MethodorderByTotalTargetEffort
Description

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

Parametersosid.SearchOrderStylestylea search order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodorderByTotalTargetContactTime
Description

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

Parametersosid.SearchOrderStylestylea search order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodorderByTotalTargetIndividualEffort
Description

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

Parametersosid.SearchOrderStylestylea search order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodorderByRecurringWeekly
Description

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

Parametersosid.SearchOrderStylestylea search order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodorderByWeeklyEffort
Description

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

Parametersosid.SearchOrderStylestylea search order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodorderByWeeklyContactTime
Description

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

Parametersosid.SearchOrderStylestylea search order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodorderByWeeklyIndividualEffort
Description

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

Parametersosid.SearchOrderStylestylea search order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
MethodgetActivityUnitSearchOrderRecord
Description

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

Parametersosid.type.TypeactivityUnitRecordTypean activity unit record type
Returnosid.course.records.ActivityUnitSearchOrderRecordthe activity unit search order record
ErrorsNULL_ARGUMENT activityUnitRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(activityUnitRecordType) is false
CompliancemandatoryThis method must be implemented.