OSID Logo
OSID Specifications
mapping route package
Version 3.1.0
Interfaceosid.mapping.route.RouteSearchOrder
Implementsosid.OsidRelationshipSearchOrder
osid.OsidAggregateableSearchOrder
Used Byosid.mapping.route.RouteSearchSession
osid.mapping.route.RouteSegmentSearchOrder
osid.mapping.route.RouteSmartMapSession
Description

An interface for specifying the ordering of search results.

MethodorderByDistance
Description

Specifies a preference for ordering the result set by the route distance.

Parametersosid.SearchOrderStylestyle search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This method must be implemented.
MethodorderByETA
Description

Specifies a preference for ordering the result set by the route travel time.

Parametersosid.SearchOrderStylestyle search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This method must be implemented.
MethodgetRouteSearchOrderRecord
Description

Gets the route order record corresponding to the given route record Type. Multiple retrievals return the same underlying object.

Parametersosid.type.TyperouteRecordType a route record type
Returnosid.mapping.route.records.RouteSearchOrderRecord the route search order record
ErrorsNULL_ARGUMENT routeRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(routeRecordType) is false
Compliancemandatory This method must be implemented.