OSID Logo
OSID Specifications
calendaring package
Version 3.1.0
Interfaceosid.calendaring.ScheduleSlotSearchSession
Implementsosid.calendaring.ScheduleSlotQuerySession
Used Byosid.calendaring.CalendaringManager
osid.calendaring.CalendaringProxyManager
Description

This session provides methods for searching ScheduleSlot objects. The search query is constructed using the ScheduleSlotQuery. The schedule slot record Type also specifies the record for the schedule slot query.

getScheduleSlotsByQuery() is the basic search method and returns a list of ScheduleSlots. A more advanced search may be performed with getScheduleSlotsBySearch().It accepts a ScheduleSlotSearch in addition to the query for the purpose of specifying additional options affecting the entire search, such as ordering. getScheduleSlotsBySearch() returns a ScheduleSlotSearchResults that can be used to access the resulting ScheduleSlotsList or be used to perform a search within the result set through ScheduleSlotSearch.

This session defines views that offer differing behaviors for searching.

  • federated calendar view: searches include schedule slots in calendars of which this calendar is an ancestor in the calendar hierarchy
  • isolated calendar view: searches are restricted to schedule slots in this calendar

Schedule slots may have a query record indicated by their respective record types. The query record is accessed via the ScheduleSlotQuery.

MethodgetScheduleSlotSearch
Description

Gets a schedule slot search.

Returnosid.calendaring.ScheduleSlotSearch the schedule slot search
Compliancemandatory This method must be implemented.
MethodgetScheduleSlotSearchOrder
Description

Gets a schedule slot search order. The ScheduleSlotSearchOrder is supplied to a ScheduleSlotSearch to specify the ordering of results.

Returnosid.calendaring.ScheduleSlotSearchOrder the schedule slot search order
Compliancemandatory This method must be implemented.
MethodgetScheduleSlotsBySearch
Description

Gets the search results matching the given search query using the given search.

Parametersosid.calendaring.ScheduleSlotQueryscheduleSlotQuery the schedule slot query
osid.calendaring.ScheduleSlotSearchscheduleSlotSearch the schedule slot search
Returnosid.calendaring.ScheduleSearchResults the schedule slot search results
ErrorsNULL_ARGUMENT scheduleSlotQuery or scheduleSlotSearch is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
UNSUPPORTED scheduleSlotSearch or scheduleSlotQuery is not of this service
Compliancemandatory This method must be implemented.
MethodgetScheduleSlotQueryFromInspector
Description

Gets a schedule slot query from an inspector. The inspector is available from an ScheduleSlotSearchResults.

Parametersosid.calendaring.ScheduleSlotQueryInspectorscheduleSlotQueryInspector a schedule slot query inspector
Returnosid.calendaring.ScheduleSlotQuery the schedule query
ErrorsNULL_ARGUMENT scheduleSlotQueryInspector is null
UNSUPPORTED scheduleSlotQueryInspector is not of this service
Compliancemandatory This method must be implemented.