OSID Logo
OSID Specifications
osid package
Version 3.0.0
Release Candidate Preview
Interfaceosid.OsidEnablerSearchOrder
Implementsosid.OsidRuleSearchOrder
osid.OsidTemporalSearchOrder
Description

An interface for specifying the ordering of search results.

MethodorderBySchedule
Description

Specifies a preference for ordering the results by the associated schedule.

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

Tests if a ScheduleSearchOrder is available.

Returnboolean true if a schedule search order is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetScheduleSearchOrder
Description

Gets the search order for a schedule.

Returnosid.calendaring.ScheduleSearchOrderthe schedule search order
ErrorsUNIMPLEMENTED supportsScheduleSearchOrder() is false
ComplianceoptionalThis method must be implemented if supportsScheduleSearchOrder() is true.
MethodorderByEvent
Description

Specifies a preference for ordering the results by the associated event.

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

Tests if an EventSearchOrder is available.

Returnboolean true if an event search order is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetEventSearchOrder
Description

Gets the search order for an event.

Returnosid.calendaring.EventSearchOrderthe event search order
ErrorsUNIMPLEMENTED supportsEventSearchOrder() is false
ComplianceoptionalThis method must be implemented if supportsEventSearchOrder() is true.
MethodorderByCyclicEvent
Description

Orders the results by cyclic event.

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

Tests if a cyclic event search order is available.

Returnboolean true if a cyclic event search order is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetCyclicEventSearchOrder
Description

Gets the cyclic event search order.

Returnosid.calendaring.cycle.CyclicEventSearchOrderthe cyclic event search order
ErrorsILLEGAL_STATE supportsCyclicEventSearchOrder() is false
CompliancemandatoryThis method must be implemented.
MethodorderByDemographic
Description

Specifies a preference for ordering the results by the associated demographic resource.

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

Tests if a ResourceSearchOrder is available.

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

Gets the search order for a demographic resource.

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