Interface | osid.mapping.path.SpeedZoneSearchOrder | ||
---|---|---|---|
Implements | osid.OsidRuleSearchOrder | ||
Description |
An interface for specifying the ordering of search results. | ||
Method | orderByPath | ||
Description |
Orders the results by path. | ||
Parameters | osid.SearchOrderStyle | style | search order style |
Errors | NULL_ARGUMENT | style is null | |
Compliance | mandatory | This method must be implemented. | |
Method | supportsPathSearchOrder | ||
Description |
Tests if a path search order is available. | ||
Return | boolean | true if a path search order is available, false
otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | getPathSearchOrder | ||
Description |
Gets a path search order. | ||
Return | osid.mapping.path.PathSearchOrder | the path search order | |
Errors | UNIMPLEMENTED | supportsPathSearchOrder() is false | |
Compliance | optional | This method must be implemented if supportsPathSearchOrder()
is true. | |
Method | orderByLength | ||
Description |
Orders the results by the length of the zone. | ||
Parameters | osid.SearchOrderStyle | style | search order style |
Errors | NULL_ARGUMENT | style is null | |
Compliance | mandatory | This method must be implemented. | |
Method | orderBySpeedLimit | ||
Description |
Specifies a preference for ordering the results by speed limit. | ||
Parameters | osid.SearchOrderStyle | style | search order style |
Errors | NULL_ARGUMENT | style is null | |
Compliance | mandatory | This method must be implemented. | |
Method | getSpeedZoneSearchOrderRecord | ||
Description |
Gets the speed zone search order record corresponding
to the given speed zone record | ||
Parameters | osid.type.Type | speedZoneRecordType | a speed zone record type |
Return | osid.mapping.path.records.SpeedZoneSearchOrderRecord | the speed zone search order record | |
Errors | NULL_ARGUMENT | speedZoneRecordType is null | |
OPERATION_FAILED | unable to complete request | ||
UNSUPPORTED | hasRecordType(speedZoneRecordType) is false | ||
Compliance | mandatory | This method must be implemented. |