public interface OffsetEventSearchOrder extends OsidRuleSearchOrder
An interface for specifying the ordering of search results.
Modifier and Type | Method and Description |
---|---|
EventSearchOrder |
getEndReferenceEventSearchOrder()
Gets the search order for an event.
|
LocationSearchOrder |
getLocationSearchOrder()
Gets the search order for a location.
|
OffsetEventSearchOrderRecord |
getOffsetEventSearchOrderRecord(Type offsetEventRecordType)
Gets the offset event search order record corresponding to the given
offset event record
Type. |
EventSearchOrder |
getStartReferenceEventSearchOrder()
Gets the search order for an event.
|
void |
orderByEndReferenceEvent(SearchOrderStyle style)
Specified a preference for ordering results by the ending reference
event.
|
void |
orderByFixedDuration(SearchOrderStyle style)
Specified a preference for ordering results by the fixed duration.
|
void |
orderByFixedEndOffset(SearchOrderStyle style)
Specified a preference for ordering results by the fixed offset.
|
void |
orderByFixedStartOffset(SearchOrderStyle style)
Specified a preference for ordering results by the fixed offset.
|
void |
orderByFixedStartTime(SearchOrderStyle style)
Specified a preference for ordering results by the fixed start time.
|
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 |
orderByRelativeEndWeekday(SearchOrderStyle style)
Specified a preference for ordering results by the relative weekday.
|
void |
orderByRelativeStartWeekday(SearchOrderStyle style)
Specified a preference for ordering results by the relative weekday.
|
void |
orderByRelativeWeekdayEndOffset(SearchOrderStyle style)
Specified a preference for ordering results by the relative weekday
offset.
|
void |
orderByRelativeWeekdayStartOffset(SearchOrderStyle style)
Specified a preference for ordering results by the relative weekday
offset.
|
void |
orderByStartReferenceEvent(SearchOrderStyle style)
Specified a preference for ordering results by the starting reference
event.
|
boolean |
supportsEndReferenceEventSearchOrder()
Tests if an
EventSearchOrder is available. |
boolean |
supportsLocationSearchOrder()
Tests if a
LocationSearchOrder is available. |
boolean |
supportsStartReferenceEventSearchOrder()
Tests if an
EventSearchOrder is available. |
getRuleSearchOrder, orderByRule, supportsRuleSearchOrder
orderByCreateTime, orderByCumulativeRating, orderByDescription, orderByDisplayName, orderByGenusType, orderByLastModifiedTime, orderByState, orderByStatistic
orderById
getRecordTypes, hasRecordType
orderByActive, orderByDisabled, orderByEnabled, orderByOperational
void orderByFixedStartTime(SearchOrderStyle style)
style
- a search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. void orderByStartReferenceEvent(SearchOrderStyle style)
style
- a search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. boolean supportsStartReferenceEventSearchOrder()
EventSearchOrder
is available. true
if an event search order is available,
false
otherwisemandatory
- This method must be implemented. EventSearchOrder getStartReferenceEventSearchOrder()
UnimplementedException
-
supportsStartReferenceEventSearchOrder()
is
false
optional
- This method must be implemented if
supportsStartReferenceEventSearchOrder()
is
true.
void orderByFixedStartOffset(SearchOrderStyle style)
style
- a search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. void orderByRelativeWeekdayStartOffset(SearchOrderStyle style)
style
- a search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. void orderByRelativeStartWeekday(SearchOrderStyle style)
style
- a search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. void orderByFixedDuration(SearchOrderStyle style)
style
- a search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. void orderByEndReferenceEvent(SearchOrderStyle style)
style
- a search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. boolean supportsEndReferenceEventSearchOrder()
EventSearchOrder
is available. true
if an event search order is available,
false
otherwisemandatory
- This method must be implemented. EventSearchOrder getEndReferenceEventSearchOrder()
UnimplementedException
-
supportsEndReferenceEventSearchOrder()
is false
optional
- This method must be implemented if
supportsEndReferenceEventSearchOrder()
is
true.
void orderByFixedEndOffset(SearchOrderStyle style)
style
- a search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. void orderByRelativeWeekdayEndOffset(SearchOrderStyle style)
style
- a search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. void orderByRelativeEndWeekday(SearchOrderStyle style)
style
- a search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. 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.
OffsetEventSearchOrderRecord getOffsetEventSearchOrderRecord(Type offsetEventRecordType) throws OperationFailedException
Type.
Multiple retrievals return
the same underlying object.offsetEventRecordType
- an offset event record typeNullArgumentException
- offsetEventRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(offsetEventRecordType)
is false
mandatory
- This method must be implemented.