OSID Logo
OSID Specifications
calendaring package
Version 3.0.0
Release Candidate Preview
Interfaceosid.calendaring.ScheduleSearchOrder
Implementsosid.OsidObjectSearchOrder
Description

An interface for specifying the ordering of search results.

MethodorderByScheduleSlot
Description

Specified a preference for ordering results by the schedule slot.

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

Tests if a ScheduleSlotSearchOrder is available.

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

Gets the search order for the schedule slot.

Returnosid.calendaring.ScheduleSlotSearchOrderthe schdeule slot search order
ErrorsUNIMPLEMENTED supportsScheduleSlotSearchOrder() is false
ComplianceoptionalThis method must be implemented if supportsScheduleSlotSearchOrder() is true.
MethodorderByTimePeriod
Description

Specified a preference for ordering results by the time period.

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

Tests if a TimePeriodSearchOrder is available.

Returnboolean true if a time period search order is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetTimePeriodSearchOrder
Description

Gets the search order for the time period.

Returnosid.calendaring.TimePeriodSearchOrderthe time period search order
ErrorsUNIMPLEMENTED supportsTimePeriodSearchOrder() is false
ComplianceoptionalThis method must be implemented if supportsTimePeriodSearchOrder() is true.
MethodorderByScheduleStart
Description

Specified a preference for ordering results by the schedule start.

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

Specified a preference for ordering results by the schedule end.

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

Specified a preference for ordering results by the schedule duration.

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

Specified a preference for ordering results by the occurrence limit.

Parametersosid.SearchOrderStylestylea search order style
ErrorsNULL_ARGUMENT style is null
CompliancemandatoryThis method must be implemented.
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.
MethodgetScheduleSearchOrderRecord
Description

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

Parametersosid.type.TypescheduleRecordTypea schedule record type
Returnosid.calendaring.records.ScheduleSearchOrderRecordthe schedule search order record
ErrorsNULL_ARGUMENT scheduleRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(scheduleRecordType) is false
CompliancemandatoryThis method must be implemented.