Interface CalendarSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The interface for governing calendar searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetCalendarSearchRecord(Type calendarSearchRecordType) Gets the calendar search record corresponding to the given calendar search recordType.voidorderCalendarResults(CalendarSearchOrder calendarSearchOrder) Specify an ordering to the search results.voidsearchAmongCalendars(IdList calendarIds) Execute this search among the given list of calendars.Methods inherited from interface Extensible
getRecordTypes, hasRecordTypeModifier and TypeMethodDescriptionGets the record types available in this object.booleanhasRecordType(Type recordType) Tests if this object supports the given recordType.Methods inherited from interface OsidSearch
limitResultSetModifier and TypeMethodDescriptionvoidlimitResultSet(long start, long end) By default, searches return all matching results.
-
Method Details
-
searchAmongCalendars
Execute this search among the given list of calendars.- Parameters:
calendarIds- list of calendars- Throws:
NullArgumentException-calendarIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderCalendarResults
Specify an ordering to the search results.- Parameters:
calendarSearchOrder- calendar search order- Throws:
NullArgumentException-calendarSearchOrderisnullUnsupportedException-calendarSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getCalendarSearchRecord
CalendarSearchRecord getCalendarSearchRecord(Type calendarSearchRecordType) throws OperationFailedException Gets the calendar search record corresponding to the given calendar search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
calendarSearchRecordType- a calendar search record type- Returns:
- the calendar search interface
- Throws:
NullArgumentException-calendarSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(calendarSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-