public interface EventSearchOrder extends OsidObjectSearchOrder, OsidTemporalSearchOrder, OsidContainableSearchOrder
An interface for specifying the ordering of search results.
| Modifier and Type | Method and Description |
|---|---|
EventSearchOrderRecord |
getEventSearchOrderRecord(Type eventRecordType)
Gets the event search order record corresponding to the given event
record
Type. |
LocationSearchOrder |
getLocationSearchOrder()
Gets the search order for a location.
|
OffsetEventSearchOrder |
getOffsetEventSearchOrder()
Gets the search order for an offset event.
|
RecurringEventSearchOrder |
getRecurringEventSearchOrder()
Gets the search order for a recurring event.
|
SupersedingEventSearchOrder |
getSupersedingEventSearchOrder()
Gets the search order for a superseding event.
|
void |
orderByDuration(SearchOrderStyle style)
Specified a preference for ordering results by the duration.
|
void |
orderByLocation(SearchOrderStyle style)
Specified a preference for ordering results by the location.
|
void |
orderByLocationDescription(SearchOrderStyle style)
Specified a preference for ordering results by the location
description.
|
void |
orderByOffsetEvent(SearchOrderStyle style)
Specified a preference for ordering results by the offset event.
|
void |
orderByRecurringEvent(SearchOrderStyle style)
Specified a preference for ordering results by the recurring event.
|
void |
orderBySupersedingEvent(SearchOrderStyle style)
Specified a preference for ordering results by the superseding event.
|
boolean |
supportsLocationSearchOrder()
Tests if a
LocationSearchOrder is available. |
boolean |
supportsOffsetEventSearchOrder()
Tests if an
OffsetEventSearchOrder is available for
offset events. |
boolean |
supportsRecurringEventSearchOrder()
Tests if a
RecurringEventSearchOrder is available for
recurring events. |
boolean |
supportsSupersedingEventSearchOrder()
Tests if a
SupersedingEventSearchOrder is available for
offset events. |
orderByCreateTime, orderByCumulativeRating, orderByDescription, orderByDisplayName, orderByGenusType, orderByLastModifiedTime, orderByState, orderByStatisticorderByIdgetRecordTypes, hasRecordTypeorderByEffective, orderByEndDate, orderByStartDateorderBySequesteredvoid orderByDuration(SearchOrderStyle style)
style - a search order styleNullArgumentException - style is
null mandatory - This method must be implemented. void orderByRecurringEvent(SearchOrderStyle style)
style - a search order styleNullArgumentException - style is
null mandatory - This method must be implemented. boolean supportsRecurringEventSearchOrder()
RecurringEventSearchOrder is available for
recurring events. true if a recurring event search order is
available, false otherwisemandatory - This method must be implemented. RecurringEventSearchOrder getRecurringEventSearchOrder()
UnimplementedException -
supportsRecurringEventSearchOrder() is false
optional - This method must be implemented if
supportsRecurringEventSearchOrder() is
true. void orderBySupersedingEvent(SearchOrderStyle style)
style - a search order styleNullArgumentException - style is
null mandatory - This method must be implemented. boolean supportsSupersedingEventSearchOrder()
SupersedingEventSearchOrder is available for
offset events. true if a superseding event search order is
available, false otherwisemandatory - This method must be implemented. SupersedingEventSearchOrder getSupersedingEventSearchOrder()
UnimplementedException -
supportsSupersedingEventSearchOrder() is false
optional - This method must be implemented if
supportsSupersedingEventSearchOrder() is
true. void orderByOffsetEvent(SearchOrderStyle style)
style - a search order styleNullArgumentException - style is
null mandatory - This method must be implemented. boolean supportsOffsetEventSearchOrder()
OffsetEventSearchOrder is available for
offset events. true if an offset event search order is
available, false otherwisemandatory - This method must be implemented. OffsetEventSearchOrder getOffsetEventSearchOrder()
UnimplementedException -
supportsOffsetEventSearchOrder() is false
optional - This method must be implemented if
supportsOffsetEventSearchOrder() is true.
void orderByLocationDescription(SearchOrderStyle style)
style - a search order styleNullArgumentException - style is
null mandatory - This method must be implemented. void orderByLocation(SearchOrderStyle style)
style - a search order styleNullArgumentException - style is
null mandatory - This method must be implemented. boolean supportsLocationSearchOrder()
LocationSearchOrder is available. true if a location search order is available,
false otherwisemandatory - This method must be implemented. LocationSearchOrder getLocationSearchOrder()
UnimplementedException -
supportsLocationSearchOrder() is false optional - This method must be implemented if
supportsLocationSearchOrder() is true.
EventSearchOrderRecord getEventSearchOrderRecord(Type eventRecordType) throws OperationFailedException
Type. Multiple retrievals return the same
underlying object.eventRecordType - an event record typeNullArgumentException - eventRecordType
is null OperationFailedException - unable to complete requestUnsupportedException -
hasRecordType(eventRecordType) is false mandatory - This method must be implemented.