OSID Logo
OSID Specifications
mapping route package
Version 3.0.0
Release Candidate Preview
Interfaceosid.mapping.route.MappingRouteManager
Implementsosid.OsidManager
osid.mapping.route.MappingRouteProfile
Description

The mapping route manager provides access to routing sessions and provides interoperability tests for various aspects of this service. The sessions included in this manager are:

  • RoutingSession: a session to access routes to locations
  • RouteLookupSession: a session to retrieve routes
  • RouteQuerySession: a session to query for routes
  • RouteSearchSession: a session to search for routes
  • RouteAdminSession: a session to create and delete routes
  • RouteNotificationSession: a session to receive notifications pertaining to route changes
  • RouteMapSession: a session to looking locations of routes to maps
  • RouteMapAssignmentSession: a session to manage route to map mappings
  • RouteSmartMapSession: a session to manage dynamic maps of routes
  • ResourceRouteSession: a session to find resources on routes
  • ResourceRouteAssignmentSession: a session to manage resources on routes
  • ResourceRouteNotificationSession: a session to subscribe to notifications of resources moving on routes
  • MyRouteSession: a session to manage the route of the current user agent
MethodgetRoutingSession
Description

Gets the OsidSession associated with the location routing service.

Returnosid.mapping.route.RoutingSessiona RoutingSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsRouting() is false
ComplianceoptionalThis method must be implemented if supportsRouting() is true.
MethodgetRoutingSessionForMap
Description

Gets the OsidSession associated with the location routing service for the given map.

Parametersosid.id.IdmapIdthe Id of the Map
Returnosid.mapping.route.RoutingSessiona RoutingSession
ErrorsNOT_FOUNDno map found by the given Id
NULL_ARGUMENT mapId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsRouting() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsRouting() and supportsVisibleFederation() are true
MethodgetRouteLookupSession
Description

Gets the OsidSession associated with the route lookup service.

Returnosid.mapping.route.RouteLookupSessiona RouteLookupSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsRouteLookup() is false
ComplianceoptionalThis method must be implemented if supportsRouteLookup() is true.
MethodgetRouteLookupSessionForMap
Description

Gets the OsidSession associated with the route lookup service for the given map.

Parametersosid.id.IdmapIdthe Id of the map
Returnosid.mapping.route.RouteLookupSessiona RouteLookupSession
ErrorsNOT_FOUNDno Map found by the given Id
NULL_ARGUMENT mapId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsRouteLookup() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsRouteLookup() and supportsVisibleFederation() are true
MethodgetRouteQuerySession
Description

Gets the OsidSession associated with the route query service.

Returnosid.mapping.route.RouteQuerySessiona RouteQuerySession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsRouteQuery() is false
ComplianceoptionalThis method must be implemented if supportsRouteQuery() is true.
MethodgetRouteQuerySessionForMap
Description

Gets the OsidSession associated with the route query service for the given map.

Parametersosid.id.IdmapIdthe Id of the map
Returnosid.mapping.route.RouteQuerySessiona RouteQuerySession
ErrorsNOT_FOUNDno Map found by the given Id
NULL_ARGUMENT mapId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsRouteQuery() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsRouteQuery() and supportsVisibleFederation() are true
MethodgetRouteSearchSession
Description

Gets the OsidSession associated with the route search service.

Returnosid.mapping.route.RouteSearchSessiona RouteSearchSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsRouteSearch() is false
ComplianceoptionalThis method must be implemented if supportsRouteSearch() is true.
MethodgetRouteSearchSessionForMap
Description

Gets the OsidSession associated with the route search service for the given map.

Parametersosid.id.IdmapIdthe Id of the Map
Returnosid.mapping.route.RouteSearchSessiona RouteSearchSession
ErrorsNOT_FOUNDno map found by the given Id
NULL_ARGUMENT mapId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsRouteSearch() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsRouteSearch() and supportsVisibleFederation() are true
MethodgetRouteAdminSession
Description

Gets the OsidSession associated with the route administration service.

Returnosid.mapping.route.RouteAdminSessiona RouteAdminSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsRouteAdmin() is false
ComplianceoptionalThis method must be implemented if supportsRouteAdmin() is true.
MethodgetRouteAdminSessionForMap
Description

Gets the OsidSession associated with the route administration service for the given map.

Parametersosid.id.IdmapIdthe Id of the Map
Returnosid.mapping.route.RouteAdminSessiona RouteAdminSession
ErrorsNOT_FOUNDno map found by the given Id
NULL_ARGUMENT mapId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsRouteAdmin() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsRouteAdmin() and supportsVisibleFederation() are true
MethodgetRouteNotificationSession
Description

Gets the OsidSession associated with the route notification service.

Parametersosid.mapping.route.RouteReceiverrouteReceiverthe notification callback
Returnosid.mapping.route.RouteNotificationSessiona RouteNotificationSession
ErrorsNULL_ARGUMENT routeReceiver is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsRouteNotification() is false
ComplianceoptionalThis method must be implemented if supportsRouteNotification() is true.
MethodgetRouteNotificationSessionForMap
Description

Gets the OsidSession associated with the route notification service for the given map.

Parametersosid.mapping.route.RouteReceiverrouteReceiverthe notification callback
osid.id.IdmapIdthe Id of the Map
Returnosid.mapping.route.RouteNotificationSessiona RouteNotificationSession
ErrorsNOT_FOUNDno map found by the given Id
NULL_ARGUMENT routeReceiver or mapId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsRouteNotification() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsRouteNotification() and supportsVisibleFederation() are true
MethodgetRouteMapSession
Description

Gets the OsidSession to lookup route/map mappings.

Returnosid.mapping.route.RouteMapSessiona RouteMapSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsRouteMap() is false
ComplianceoptionalThis method must be implemented if supportsRouteMap() is true.
MethodgetRouteMapAssignmentSession
Description

Gets the OsidSession associated with assigning routes to maps.

Returnosid.mapping.route.RouteMapAssignmentSessiona LocationMapAssignmentSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsRouteMapAssignment() is false
ComplianceoptionalThis method must be implemented if supportsRouteMapAssignment() is true.
MethodgetRouteSmartMapSession
Description

Gets the OsidSession to manage route smart maps.

Parametersosid.id.IdmapIdthe Id of the Map
Returnosid.mapping.route.RouteSmartMapSessiona RouteSmartMapSession
ErrorsNOT_FOUNDno map found by the given Id
NULL_ARGUMENT mapId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsRouteSmartMap() is false
ComplianceoptionalThis method must be implemented if supportsRouteSmartMap() is true.
MethodgetResourceRouteSession
Description

Gets the OsidSession associated with the resource route service.

Returnosid.mapping.route.ResourceRouteSessiona ResourceRouteSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsResourceRoute() is false
ComplianceoptionalThis method must be implemented if supportsResourceRoute() is true.
MethodgetResourceRouteSessionForMap
Description

Gets the OsidSession associated with the resource route service for the given map.

Parametersosid.id.IdmapIdthe Id of the Map
Returnosid.mapping.route.ResourceRouteSessiona ResourceRouteSession
ErrorsNOT_FOUNDno map found by the given Id
NULL_ARGUMENT mapId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsResourceRoute() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsResourceRoute() and supportsVisibleFederation() are true
MethodgetResourceRouteAssignmentSession
Description

Gets the OsidSession associated with the resource route assignment service.

Returnosid.mapping.route.ResourceRouteAssignmentSessiona ResourceRouteAssignmentSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsResourceRouteAssignment() is false
ComplianceoptionalThis method must be implemented if supportsResourceRouteAssignment() is true.
MethodgetResourceRouteAssignmentSessionForMap
Description

Gets the OsidSession associated with the resource route assignment service for the given map.

Parametersosid.id.IdmapIdthe Id of the Map
Returnosid.mapping.route.ResourceRouteAssignmentSessiona ResourceRouteAssignmentSession
ErrorsNOT_FOUNDno map found by the given Id
NULL_ARGUMENT mapId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsResourceRouteAssignment() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsResourceRouteAssignment() and supportsVisibleFederation() are true
MethodgetResourceRouteNotificationSession
Description

Gets the OsidSession associated with the resource route notification service.

Parametersosid.mapping.route.ResourceRouteReceiverresourceRouteReceiverthe notification callback
Returnosid.mapping.route.ResourceRouteNotificationSessiona ResourceRouteNotificationSession
ErrorsNULL_ARGUMENT resourceRouteReceiver is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsResourceRouteNotification() is false
ComplianceoptionalThis method must be implemented if supportsResourceRouteNotification() is true.
MethodgetResourceRouteNotificationSessionForMap
Description

Gets the OsidSession associated with the resource route notification service for the given map.

Parametersosid.mapping.route.ResourceRouteReceiverresourceRouteReceiverthe notification callback
osid.id.IdmapIdthe Id of the Map
Returnosid.mapping.route.ResourceRouteNotificationSessiona ResourceRouteNotificationSession
ErrorsNOT_FOUNDno map found by the given Id
NULL_ARGUMENT resourceRouteReceiver or mapId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsResourceRouteNotification() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsResourceRouteNotification() and supportsVisibleFederation() are true
MethodgetMyRouteSession
Description

Gets the OsidSession associated with the my route service.

Returnosid.mapping.route.MyRouteSessiona MyRouteLookupSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsMyRouteLookup() is false
ComplianceoptionalThis method must be implemented if supportsMyRouteLookup() is true.
MethodgetMyRouteSessionForMap
Description

Gets the OsidSession associated with the my route service for the given map.

Parametersosid.id.IdmapIdthe Id of the map
Returnosid.mapping.route.MyRouteSessiona MyRouteLookupSession
ErrorsNOT_FOUNDno Map found by the given Id
NULL_ARGUMENT mapId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsMyRouteLookup() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsMyRouteLookup() and supportsVisibleFederation() are true