OSID Logo
OSID Specifications
calendaring package
Version 3.0.0
Release Candidate Preview
Interfaceosid.calendaring.EventSearchOrder
Implementsosid.OsidObjectSearchOrder
osid.OsidTemporalSearchOrder
osid.OsidContainableSearchOrder
Description

An interface for specifying the ordering of search results.

MethodorderByDuration
Description

Specified a preference for ordering results by the duration. For recurring events, the duration is the duration of a single event.

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

Specified a preference for ordering results by the recurring event.

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

Tests if a RecurringEventSearchOrder is available for recurring events.

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

Gets the search order for a recurring event.

Returnosid.calendaring.RecurringEventSearchOrderthe recurring event search order
ErrorsUNIMPLEMENTED supportsRecurringEventSearchOrder() is false
ComplianceoptionalThis method must be implemented if supportsRecurringEventSearchOrder() is true.
MethodorderBySupersedingEvent
Description

Specified a preference for ordering results by the superseding event.

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

Tests if a SupersedingEventSearchOrder is available for offset events.

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

Gets the search order for a superseding event.

Returnosid.calendaring.SupersedingEventSearchOrderthe superseding event search order
ErrorsUNIMPLEMENTED supportsSupersedingEventSearchOrder() is false
ComplianceoptionalThis method must be implemented if supportsSupersedingEventSearchOrder() is true.
MethodorderByOffsetEvent
Description

Specified a preference for ordering results by the offset event.

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

Tests if an OffsetEventSearchOrder is available for offset events.

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

Gets the search order for an offset event.

Returnosid.calendaring.OffsetEventSearchOrderthe offset event search order
ErrorsUNIMPLEMENTED supportsOffsetEventSearchOrder() is false
ComplianceoptionalThis method must be implemented if supportsOffsetEventSearchOrder() is true.
MethodorderByLocationDescription
Description

Specified a preference for ordering results by the location description.

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

Specified a preference for ordering results by the location.

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

Tests if a LocationSearchOrder is available.

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

Gets the search order for a location.

Returnosid.mapping.LocationSearchOrderthe location search order
ErrorsUNIMPLEMENTED supportsLocationSearchOrder() is false
ComplianceoptionalThis method must be implemented if supportsLocationSearchOrder() is true.
MethodgetEventSearchOrderRecord
Description

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

Parametersosid.type.TypeeventRecordTypean event record type
Returnosid.calendaring.records.EventSearchOrderRecordthe event search order record
ErrorsNULL_ARGUMENT eventRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(eventRecordType) is false
CompliancemandatoryThis method must be implemented.