OSID Logo
OSID Specifications
calendaring package
Version 3.0.0
Release Candidate Preview
Interfaceosid.calendaring.SupersedingEventSearchOrder
Implementsosid.OsidRuleSearchOrder
Description

An interface for specifying the ordering of search results.

MethodorderBySupersededEvent
Description

Specified a preference for ordering results by the superseded event.

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

Tests if an EventSearchOrder is available.

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

Gets the search order for the superseded event.

Returnosid.calendaring.EventSearchOrderthe event search order
ErrorsUNIMPLEMENTED supportsSupersededEventSearchOrder() is false
ComplianceoptionalThis method must be implemented if supportsSupersededEventSearchOrder() 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 an EventSearchOrder is available.

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

Gets the search order for the superseding event.

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

Specified a preference for ordering results by the superseded date.

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

Specified a preference for ordering results by the superseded event position.

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

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

Parametersosid.type.TypesupersedingEventRecordTypea superseding event record type
Returnosid.calendaring.records.SupersedingEventSearchOrderRecordthe superseding event search order record
ErrorsNULL_ARGUMENT supersedingEventRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(supersedingEventRecordType) is false
CompliancemandatoryThis method must be implemented.