OSID Logo
OSID Specifications
mapping route package
Version 3.1.0
Interfaceosid.mapping.route.RouteSmartMapSession
Implementsosid.OsidSession
Used Byosid.mapping.route.MappingRouteManager
osid.mapping.route.MappingRouteProxyManager
Description

This session manages queries and sequencing to create "smart" dynamic catalogs. A RouteQuery can be retrieved from this session and mapped to this Map to create a virtual collection of Routes. The routes may be sequenced using the RouteSearchOrder from this session.

This Map has a default query that matches any route and a default search order that specifies no sequencing. The queries may be examined using a RouteQueryInspector. The query may be modified by converting the inspector back to a RouteQuery.

MethodgetMapId
Description

Gets the Map Id associated with this session.

Returnosid.id.Id the Map Id associated with this session
Compliancemandatory This method must be implemented.
MethodgetMap
Description

Gets the Map associated with this session.

Returnosid.mapping.Map the map
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodcanManageSmartMaps
Description

Tests if this user can manage smart maps. A return of true does not guarantee successful authorization. A return of false indicates that it is known methods in this session will result in a PERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer operations to unauthorized users.

Returnboolean false if smart map management is not authorized, true otherwise
Compliancemandatory This method must be implemented.
MethodgetRouteQuery
Description

Gets a route query.

Returnosid.mapping.route.RouteQuery the route query
Compliancemandatory This method must be implemented.
MethodgetRouteSearchOrder
Description

Gets a route search order.

Returnosid.mapping.route.RouteSearchOrder the route search order
Compliancemandatory This method must be implemented.
MethodapplyRouteQuery
Description

Applies a route query to this map.

Parametersosid.mapping.route.RouteQueryrouteQuery the route query
ErrorsNULL_ARGUMENT routeQuery is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
UNSUPPORTED routeQuery not of this service
Compliancemandatory This method must be implemented.
MethodinspectRouteQuery
Description

Gets a route query inspector for this map.

Returnosid.mapping.route.RouteQueryInspector the route query inspector
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
Compliancemandatory This method must be implemented.
MethodapplyRouteSequencing
Description

Applies a route search order to this map.

Parametersosid.mapping.route.RouteSearchOrderrouteSearchOrder the route search order
ErrorsNULL_ARGUMENT routeSearchOrder is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
UNSUPPORTED routeSearchOrder not of this service
Compliancemandatory This method must be implemented.
MethodgetRouteQueryFromInspector
Description

Gets a route query from an inspector.

Parametersosid.mapping.route.RouteQueryInspectorrouteQueryInspector a route query inspector
Returnosid.mapping.route.RouteQuery the route query
ErrorsNULL_ARGUMENT routeQueryInspector is null
UNSUPPORTED routeQueryInspector is not of this service
Compliancemandatory This method must be implemented.