public interface OsidRelationshipSearchOrder extends OsidObjectSearchOrder, OsidTemporalSearchOrder
An interface for specifying the ordering of search results.
Modifier and Type | Method and Description |
---|---|
StateSearchOrder |
getEndReasonSearchOrder()
Gets the search order for a state.
|
void |
orderByEndReason(SearchOrderStyle style)
Specifies a preference for ordering the results by the end reason
state.
|
boolean |
supportsEndReasonSearchOrder()
Tests if a
StateSearchOrder is available. |
orderByCreateTime, orderByCumulativeRating, orderByDescription, orderByDisplayName, orderByGenusType, orderByLastModifiedTime, orderByState, orderByStatistic
orderById
getRecordTypes, hasRecordType
orderByEffective, orderByEndDate, orderByStartDate
void orderByEndReason(SearchOrderStyle style)
style
- search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. boolean supportsEndReasonSearchOrder()
StateSearchOrder
is available. true
if a state search order is available,
false
otherwisemandatory
- This method must be implemented. StateSearchOrder getEndReasonSearchOrder()
UnimplementedException
-
supportsEndReasonSearchOrder()
is false
optional
- This method must be implemented if
supportsEndReasonSearchOrder()
is true.