Interface MappingRouteProxyManager
- All Superinterfaces:
AutoCloseable, Closeable, MappingRouteProfile, OsidProfile, OsidProxyManager, OsidProxyManager, Sourceable
The mapping proxy manager provides access to routing sessions and
provides interoperability tests for various aspects of this service.
Methods in this manager pass a Proxy for passing information from
server environments. 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
-
Method Summary
Modifier and TypeMethodDescriptiongetMyRouteSession(Proxy proxy) Gets theOsidSessionassociated with the my route service.getMyRouteSessionForMap(Id mapId, Proxy proxy) Gets theOsidSessionassociated with the my route service for the given map.Gets theOsidSessionassociated with the resource route assignment service.getResourceRouteAssignmentSessionForMap(Id mapId, Proxy proxy) Gets theOsidSessionassociated with the resource route assignment service for the given map.getResourceRouteNotificationSession(ResourceRouteReceiver resourceRouteReceiver, Proxy proxy) Gets theOsidSessionassociated with the resource route notification service.getResourceRouteNotificationSessionForMap(ResourceRouteReceiver resourceRouteReceiver, Id mapId, Proxy proxy) Gets theOsidSessionassociated with the resource route notification service for the given map.getResourceRouteSession(Proxy proxy) Gets theOsidSessionassociated with the resource route service.getResourceRouteSessionForMap(Id mapId, Proxy proxy) Gets theOsidSessionassociated with the resource route service for the given map.getRouteAdminSession(Proxy proxy) Gets theOsidSessionassociated with the route administration service.getRouteAdminSessionForMap(Id mapId, Proxy proxy) Gets theOsidSessionassociated with the route administration service for the given map.getRouteLookupSession(Proxy proxy) Gets theOsidSessionassociated with the route lookup service.getRouteLookupSessionForMap(Id mapId, Proxy proxy) Gets theOsidSessionassociated with the route lookup service for the given map.Gets theOsidSessionassociated with assigning routes to maps.getRouteMapSession(Proxy proxy) Gets theOsidSessionto lookup route/map mappings.getRouteNotificationSession(RouteReceiver routeReceiver, Proxy proxy) Gets theOsidSessionassociated with the route notification service.getRouteNotificationSessionForMap(RouteReceiver routeReceiver, Id mapId, Proxy proxy) Gets theOsidSessionassociated with the route notification service for the given map.getRouteQuerySession(Proxy proxy) Gets theOsidSessionassociated with the route query service.getRouteQuerySessionForMap(Id mapId, Proxy proxy) Gets theOsidSessionassociated with the route query service for the given map.getRouteSearchSession(Proxy proxy) Gets theOsidSessionassociated with the route search service.getRouteSearchSessionForMap(Id mapId, Proxy proxy) Gets theOsidSessionassociated with the route search service for the given map.getRouteSmartMapSession(Id mapId, Proxy proxy) Gets theOsidSessionto manage route smart maps.getRoutingSession(Proxy proxy) Gets theOsidSessionassociated with the location routing service.getRoutingSessionForMap(Id mapId, Proxy proxy) Gets theOsidSessionassociated with the location routing service for the given map.Methods inherited from interface MappingRouteProfile
getRouteProgressRecordTypes, getRouteRecordTypes, getRouteSearchRecordTypes, getRouteSegmentRecordTypes, supportsLocationRouting, supportsMyLocation, supportsMyRoute, supportsResourceRoute, supportsResourceRouteAssignment, supportsResourceRouteNotification, supportsRouteAdmin, supportsRouteLookup, supportsRouteMap, supportsRouteMapAssignment, supportsRouteNotification, supportsRouteProgressRecordType, supportsRouteQuery, supportsRouteRecordType, supportsRouteSearch, supportsRouteSearchRecordType, supportsRouteSegmentRecordType, supportsRouteSmartMap, supportsVisibleFederationModifier and TypeMethodDescriptionGets the supportedRouteProgresstrecord types.Gets the supportedRouterecord types.Gets the supportedRoutesearch record types.Gets the supportedRouteSegmentrecord types.booleanTests if a location routing service is supported.booleanTests if a location service is supported for the current agent.booleanTests if a route service is supported for the current agent.booleanTests if a resource route service is supported.booleanTests if a resource route update service is supported.booleanTests if a resource route notification service is supported.booleanTests if a route administrative service is supported.booleanTests if looking up routes is supported.booleanTests if a route map lookup service is supported.booleanTests if a route map service is supported.booleanTests if a route notification service is supported.booleansupportsRouteProgressRecordType(Type routeProgressRecordType) Tests if the givenRouteProgressrecord type is supported.booleanTests if querying routes is supported.booleansupportsRouteRecordType(Type routeRecordType) Tests if the givenRouterecord type is supported.booleanTests if searching routes is supported.booleansupportsRouteSearchRecordType(Type routeSearchRecordType) Tests if the givenRoutesearch record type is supported.booleansupportsRouteSegmentRecordType(Type routeSegmentRecordType) Tests if the givenRouteSegmentrecord type is supported.booleanTests if a route smart map service is supported.booleanTests if any map federation is exposed.Methods inherited from interface OsidProfile
getBranch, getBranchId, getDescription, getDisplayName, getId, getLocales, getProxyRecordTypes, getReleaseDate, getVersion, supportsJournalBranching, supportsJournalRollback, supportsOSIDVersion, supportsProxyRecordTypeModifier and TypeMethodDescriptionGets this service branch.Gets theBranch Idrepresenting this service branch.Gets a description of this service implementation.Gets a display name for this service implementation.getId()Gets an identifier for this service implementation.Gets the locales supported in this service.Gets the proxy recordTypessupported in this service.Gets the date this service implementation was released.Gets the version of this service implementation.booleanTest for support of a journal branching service.booleanTest for support of a journaling rollback service.booleansupportsOSIDVersion(Version version) Test for support of an OSID specification version.booleansupportsProxyRecordType(Type proxyRecordType) Test for support of a proxy type.Methods inherited from interface OsidProxyManager
closeMethods inherited from interface OsidProxyManager
changeBranch, initialize, rollbackServiceModifier and TypeMethodDescriptionvoidchangeBranch(Id branchId, Proxy proxy) Changes the service branch.voidinitialize(OsidRuntimeManager runtime) Initializes this manager.rollbackService(Date rollbackTime, Proxy proxy) Rolls back this service to a point in time.Methods inherited from interface Sourceable
getBranding, getBrandingIds, getLicense, getProvider, getProviderIdModifier and TypeMethodDescriptionGets a branding, such as an image or logo, expressed using theAssetinterface.Gets the branding assetIds.Gets the terms of usage.Gets theResourcerepresenting the provider.Gets theIdof the provider.
-
Method Details
-
getRoutingSession
Gets theOsidSessionassociated with the location routing service.- Parameters:
proxy- a proxy- Returns:
- a
RoutingSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRouting()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRouting()} is {@code true} .
-
getRoutingSessionForMap
RoutingSession getRoutingSessionForMap(Id mapId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the location routing service for the given map.- Parameters:
mapId- theIdof theMapproxy- a proxy- Returns:
- a
RoutingSession - Throws:
NotFoundException- no map found by the givenIdNullArgumentException-mapIdorproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRouting()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRouting()} and {@code supportsVisibleFederation()} are {@code true}
-
getRouteLookupSession
Gets theOsidSessionassociated with the route lookup service.- Parameters:
proxy- a proxy- Returns:
- a
RouteLookupSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRouteLookup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRouteLookup()} is {@code true} .
-
getRouteLookupSessionForMap
RouteLookupSession getRouteLookupSessionForMap(Id mapId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the route lookup service for the given map.- Parameters:
mapId- theIdof the mapproxy- a proxy- Returns:
- a
RouteLookupSession - Throws:
NotFoundException- noMapfound by the givenIdNullArgumentException-mapIdorproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRouteLookup()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRouteLookup()} and {@code supportsVisibleFederation()} are {@code true}
-
getRouteQuerySession
Gets theOsidSessionassociated with the route query service.- Parameters:
proxy- a proxy- Returns:
- a
RouteQuerySession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRouteQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRouteQuery()} is {@code true} .
-
getRouteQuerySessionForMap
RouteQuerySession getRouteQuerySessionForMap(Id mapId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the route query service for the given map.- Parameters:
mapId- theIdof the mapproxy- a proxy- Returns:
- a
RouteQuerySession - Throws:
NotFoundException- noMapfound by the givenIdNullArgumentException-mapIdorproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRouteQuery()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRouteQuery()} and {@code supportsVisibleFederation()} are {@code true}
-
getRouteSearchSession
Gets theOsidSessionassociated with the route search service.- Parameters:
proxy- a proxy- Returns:
- a
RouteSearchSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRouteSearch()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRouteSearch()} is {@code true} .
-
getRouteSearchSessionForMap
RouteSearchSession getRouteSearchSessionForMap(Id mapId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the route search service for the given map.- Parameters:
mapId- theIdof theMapproxy- a proxy- Returns:
- a
RouteSearchSession - Throws:
NotFoundException- no map found by the givenIdNullArgumentException-mapIdorproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRouteSearch()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRouteSearch()} and {@code supportsVisibleFederation()} are {@code true}
-
getRouteAdminSession
Gets theOsidSessionassociated with the route administration service.- Parameters:
proxy- a proxy- Returns:
- a
RouteAdminSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRouteAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRouteAdmin()} is {@code true} .
-
getRouteAdminSessionForMap
RouteAdminSession getRouteAdminSessionForMap(Id mapId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the route administration service for the given map.- Parameters:
mapId- theIdof theMapproxy- a proxy- Returns:
- a
RouteAdminSession - Throws:
NotFoundException- no map found by the givenIdNullArgumentException-mapIdorproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRouteAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRouteAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getRouteNotificationSession
RouteNotificationSession getRouteNotificationSession(RouteReceiver routeReceiver, Proxy proxy) throws OperationFailedException Gets theOsidSessionassociated with the route notification service.- Parameters:
routeReceiver- the notification callbackproxy- a proxy- Returns:
- a
RouteNotificationSession - Throws:
NullArgumentException-routeReceiverorproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRouteNotification()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRouteNotification()} is {@code true} .
-
getRouteNotificationSessionForMap
RouteNotificationSession getRouteNotificationSessionForMap(RouteReceiver routeReceiver, Id mapId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the route notification service for the given map.- Parameters:
routeReceiver- the notification callbackmapId- theIdof theMapproxy- a proxy- Returns:
- a
RouteNotificationSession - Throws:
NotFoundException- no map found by the givenIdNullArgumentException-routeReceiver, mapIdorproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRouteNotification()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRouteNotification()} and {@code supportsVisibleFederation()} are {@code true}
-
getRouteMapSession
Gets theOsidSessionto lookup route/map mappings.- Parameters:
proxy- a proxy- Returns:
- a
RouteMapSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRouteMap()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRouteMap()} is {@code true} .
-
getRouteMapAssignmentSession
Gets theOsidSessionassociated with assigning routes to maps.- Parameters:
proxy- a proxy- Returns:
- a
LocationMapAssignmentSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRouteMapAssignment()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRouteMapAssignment()} is {@code true} .
-
getRouteSmartMapSession
RouteSmartMapSession getRouteSmartMapSession(Id mapId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionto manage route smart maps.- Parameters:
mapId- theIdof theMapproxy- a proxy- Returns:
- a
RouteSmartMapSession - Throws:
NotFoundException- no map found by the givenIdNullArgumentException-mapIdorproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsRouteSmartMap()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRouteSmartMap()} is {@code true} .
-
getResourceRouteSession
Gets theOsidSessionassociated with the resource route service.- Parameters:
proxy- a proxy- Returns:
- a
ResourceRouteSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsResourceRoute()isfalse- Compliance:
optional- This method must be implemented if {@code supportsResourceRoute()} is {@code true} .
-
getResourceRouteSessionForMap
ResourceRouteSession getResourceRouteSessionForMap(Id mapId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the resource route service for the given map.- Parameters:
mapId- theIdof theMapproxy- a proxy- Returns:
- a
ResourceRouteSession - Throws:
NotFoundException- no map found by the givenIdNullArgumentException-mapIdorproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsResourceRoute()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsResourceRoute()} and {@code supportsVisibleFederation()} are {@code true}
-
getResourceRouteAssignmentSession
ResourceRouteAssignmentSession getResourceRouteAssignmentSession(Proxy proxy) throws OperationFailedException Gets theOsidSessionassociated with the resource route assignment service.- Parameters:
proxy- a proxy- Returns:
- a
ResourceRouteAssignmentSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsResourceRouteAssignment()isfalse- Compliance:
optional- This method must be implemented if {@code supportsResourceRouteAssignment()} is {@code true} .
-
getResourceRouteAssignmentSessionForMap
ResourceRouteAssignmentSession getResourceRouteAssignmentSessionForMap(Id mapId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the resource route assignment service for the given map.- Parameters:
mapId- theIdof theMapproxy- a proxy- Returns:
- a
ResourceRouteAssignmentSession - Throws:
NotFoundException- no map found by the givenIdNullArgumentException-mapIdorproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsResourceRouteAssignment()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsResourceRouteAssignment()} and {@code supportsVisibleFederation()} are {@code true}
-
getResourceRouteNotificationSession
ResourceRouteNotificationSession getResourceRouteNotificationSession(ResourceRouteReceiver resourceRouteReceiver, Proxy proxy) throws OperationFailedException Gets theOsidSessionassociated with the resource route notification service.- Parameters:
resourceRouteReceiver- the notification callbackproxy- a proxy- Returns:
- a
ResourceRouteNotificationSession - Throws:
NullArgumentException-resourceRouteReceiverorproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsResourceRouteNotification()isfalse- Compliance:
optional- This method must be implemented if {@code supportsResourceRouteNotification()} is {@code true} .
-
getResourceRouteNotificationSessionForMap
ResourceRouteNotificationSession getResourceRouteNotificationSessionForMap(ResourceRouteReceiver resourceRouteReceiver, Id mapId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the resource route notification service for the given map.- Parameters:
resourceRouteReceiver- the notification callbackmapId- theIdof theMapproxy- a proxy- Returns:
- a
ResourceRouteNotificationSession - Throws:
NotFoundException- no map found by the givenIdNullArgumentException-resourceRouteReceiver, mapIdorproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsResourceRouteNotification()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsResourceRouteNotification()} and {@code supportsVisibleFederation()} are {@code true}
-
getMyRouteSession
Gets theOsidSessionassociated with the my route service.- Parameters:
proxy- a proxy- Returns:
- a
MyRouteLookupSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsMyRouteLookup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsMyRouteLookup()} is {@code true} .
-
getMyRouteSessionForMap
MyRouteSession getMyRouteSessionForMap(Id mapId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the my route service for the given map.- Parameters:
mapId- theIdof the mapproxy- a proxy- Returns:
- a
MyRouteLookupSession - Throws:
NotFoundException- noMapfound by the givenIdNullArgumentException-mapIdorproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsMyRouteLookup()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsMyRouteLookup()} and {@code supportsVisibleFederation()} are {@code true}
-