Interface EventSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
EventSearch defines the interface for specifying event search
options.
-
Method Summary
Modifier and TypeMethodDescriptiongetEventSearchRecord(Type eventSearchRecordType) Gets the event search record corresponding to the given event search recordType.voidorderEventResults(EventSearchOrder eventSearchOrder) Specify an ordering to the search results.voidsearchAmongEvents(IdList eventIds) Execute this search among the given list of events.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
-
searchAmongEvents
Execute this search among the given list of events.- Parameters:
eventIds- list of events- Throws:
NullArgumentException-eventIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderEventResults
Specify an ordering to the search results.- Parameters:
eventSearchOrder- event search order- Throws:
NullArgumentException-eventSearchOrderisnullUnsupportedException-eventSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getEventSearchRecord
Gets the event search record corresponding to the given event search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
eventSearchRecordType- an event search record type- Returns:
- the event search record
- Throws:
NullArgumentException-eventSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(eventSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-