public interface SpeedZoneSearchOrder extends OsidRuleSearchOrder
An interface for specifying the ordering of search results.
Modifier and Type | Method and Description |
---|---|
PathSearchOrder |
getPathSearchOrder()
Gets a path search order.
|
SpeedZoneSearchOrderRecord |
getSpeedZoneSearchOrderRecord(Type speedZoneRecordType)
Gets the speed zone search order record corresponding to the given
speed zone record
Type. |
void |
orderByLength(SearchOrderStyle style)
Orders the results by the length of the zone.
|
void |
orderByPath(SearchOrderStyle style)
Orders the results by path.
|
void |
orderBySpeedLimit(SearchOrderStyle style)
Specifies a preference for ordering the results by speed limit.
|
boolean |
supportsPathSearchOrder()
Tests if a path search order is available.
|
getRuleSearchOrder, orderByRule, supportsRuleSearchOrder
orderByCreateTime, orderByCumulativeRating, orderByDescription, orderByDisplayName, orderByGenusType, orderByLastModifiedTime, orderByState, orderByStatistic
orderById
getRecordTypes, hasRecordType
orderByActive, orderByDisabled, orderByEnabled, orderByOperational
void orderByPath(SearchOrderStyle style)
style
- search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. boolean supportsPathSearchOrder()
true
if a path search order is available,
false
otherwisemandatory
- This method must be implemented. PathSearchOrder getPathSearchOrder()
UnimplementedException
-
supportsPathSearchOrder()
is false
optional
- This method must be implemented if
supportsPathSearchOrder()
is true.
void orderByLength(SearchOrderStyle style)
style
- search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. void orderBySpeedLimit(SearchOrderStyle style)
style
- search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. SpeedZoneSearchOrderRecord getSpeedZoneSearchOrderRecord(Type speedZoneRecordType) throws OperationFailedException
Type.
Multiple retrievals return the
same underlying object.speedZoneRecordType
- a speed zone record typeNullArgumentException
- speedZoneRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(speedZoneRecordType)
is false
mandatory
- This method must be implemented.