Interface MappingRouteManager
- All Superinterfaces:
AutoCloseable, Closeable, MappingRouteProfile, OsidManager, OsidManager, OsidProfile, Sourceable
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
-
Method Summary
Modifier and TypeMethodDescriptionGets theOsidSessionassociated with the my route service.getMyRouteSessionForMap(Id mapId) Gets theOsidSessionassociated with the my route service for the given map.Gets theOsidSessionassociated with the resource route assignment service.Gets theOsidSessionassociated with the resource route assignment service for the given map.getResourceRouteNotificationSession(ResourceRouteReceiver resourceRouteReceiver) Gets theOsidSessionassociated with the resource route notification service.getResourceRouteNotificationSessionForMap(ResourceRouteReceiver resourceRouteReceiver, Id mapId) Gets theOsidSessionassociated with the resource route notification service for the given map.Gets theOsidSessionassociated with the resource route service.getResourceRouteSessionForMap(Id mapId) Gets theOsidSessionassociated with the resource route service for the given map.Gets theOsidSessionassociated with the route administration service.getRouteAdminSessionForMap(Id mapId) Gets theOsidSessionassociated with the route administration service for the given map.Gets theOsidSessionassociated with the route lookup service.getRouteLookupSessionForMap(Id mapId) Gets theOsidSessionassociated with the route lookup service for the given map.Gets theOsidSessionassociated with assigning routes to maps.Gets theOsidSessionto lookup route/map mappings.getRouteNotificationSession(RouteReceiver routeReceiver) Gets theOsidSessionassociated with the route notification service.getRouteNotificationSessionForMap(RouteReceiver routeReceiver, Id mapId) Gets theOsidSessionassociated with the route notification service for the given map.Gets theOsidSessionassociated with the route query service.getRouteQuerySessionForMap(Id mapId) Gets theOsidSessionassociated with the route query service for the given map.Gets theOsidSessionassociated with the route search service.getRouteSearchSessionForMap(Id mapId) Gets theOsidSessionassociated with the route search service for the given map.getRouteSmartMapSession(Id mapId) Gets theOsidSessionto manage route smart maps.Gets theOsidSessionassociated with the location routing service.getRoutingSessionForMap(Id mapId) 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 OsidManager
closeMethods inherited from interface OsidManager
changeBranch, initialize, rollbackServiceModifier and TypeMethodDescriptionvoidchangeBranch(Id branchId) Changes the service branch.voidinitialize(OsidRuntimeManager runtime) Initializes this manager.rollbackService(Date rollbackTime) Rolls back this service to a point in time.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 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.- Returns:
- a
RoutingSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsRouting()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRouting()} is {@code true} .
-
getRoutingSessionForMap
Gets theOsidSessionassociated with the location routing service for the given map.- Parameters:
mapId- theIdof theMap- Returns:
- a
RoutingSession - Throws:
NotFoundException- no map found by the givenIdNullArgumentException-mapIdisnullOperationFailedException- 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.- Returns:
- a
RouteLookupSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsRouteLookup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRouteLookup()} is {@code true} .
-
getRouteLookupSessionForMap
RouteLookupSession getRouteLookupSessionForMap(Id mapId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the route lookup service for the given map.- Parameters:
mapId- theIdof the map- Returns:
- a
RouteLookupSession - Throws:
NotFoundException- noMapfound by the givenIdNullArgumentException-mapIdisnullOperationFailedException- 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.- Returns:
- a
RouteQuerySession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsRouteQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRouteQuery()} is {@code true} .
-
getRouteQuerySessionForMap
RouteQuerySession getRouteQuerySessionForMap(Id mapId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the route query service for the given map.- Parameters:
mapId- theIdof the map- Returns:
- a
RouteQuerySession - Throws:
NotFoundException- noMapfound by the givenIdNullArgumentException-mapIdisnullOperationFailedException- 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.- Returns:
- a
RouteSearchSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsRouteSearch()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRouteSearch()} is {@code true} .
-
getRouteSearchSessionForMap
RouteSearchSession getRouteSearchSessionForMap(Id mapId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the route search service for the given map.- Parameters:
mapId- theIdof theMap- Returns:
- a
RouteSearchSession - Throws:
NotFoundException- no map found by the givenIdNullArgumentException-mapIdisnullOperationFailedException- 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.- Returns:
- a
RouteAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsRouteAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRouteAdmin()} is {@code true} .
-
getRouteAdminSessionForMap
RouteAdminSession getRouteAdminSessionForMap(Id mapId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the route administration service for the given map.- Parameters:
mapId- theIdof theMap- Returns:
- a
RouteAdminSession - Throws:
NotFoundException- no map found by the givenIdNullArgumentException-mapIdisnullOperationFailedException- 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) throws OperationFailedException Gets theOsidSessionassociated with the route notification service.- Parameters:
routeReceiver- the notification callback- Returns:
- a
RouteNotificationSession - Throws:
NullArgumentException-routeReceiverisnullOperationFailedException- 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) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the route notification service for the given map.- Parameters:
routeReceiver- the notification callbackmapId- theIdof theMap- Returns:
- a
RouteNotificationSession - Throws:
NotFoundException- no map found by the givenIdNullArgumentException-routeReceiverormapIdisnullOperationFailedException- 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.- Returns:
- a
RouteMapSession - Throws:
OperationFailedException- 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.- Returns:
- a
LocationMapAssignmentSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsRouteMapAssignment()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRouteMapAssignment()} is {@code true} .
-
getRouteSmartMapSession
RouteSmartMapSession getRouteSmartMapSession(Id mapId) throws NotFoundException, OperationFailedException Gets theOsidSessionto manage route smart maps.- Parameters:
mapId- theIdof theMap- Returns:
- a
RouteSmartMapSession - Throws:
NotFoundException- no map found by the givenIdNullArgumentException-mapIdisnullOperationFailedException- 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.- Returns:
- a
ResourceRouteSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsResourceRoute()isfalse- Compliance:
optional- This method must be implemented if {@code supportsResourceRoute()} is {@code true} .
-
getResourceRouteSessionForMap
ResourceRouteSession getResourceRouteSessionForMap(Id mapId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the resource route service for the given map.- Parameters:
mapId- theIdof theMap- Returns:
- a
ResourceRouteSession - Throws:
NotFoundException- no map found by the givenIdNullArgumentException-mapIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsResourceRoute()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsResourceRoute()} and {@code supportsVisibleFederation()} are {@code true}
-
getResourceRouteAssignmentSession
Gets theOsidSessionassociated with the resource route assignment service.- Returns:
- a
ResourceRouteAssignmentSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsResourceRouteAssignment()isfalse- Compliance:
optional- This method must be implemented if {@code supportsResourceRouteAssignment()} is {@code true} .
-
getResourceRouteAssignmentSessionForMap
ResourceRouteAssignmentSession getResourceRouteAssignmentSessionForMap(Id mapId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the resource route assignment service for the given map.- Parameters:
mapId- theIdof theMap- Returns:
- a
ResourceRouteAssignmentSession - Throws:
NotFoundException- no map found by the givenIdNullArgumentException-mapIdisnullOperationFailedException- 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) throws OperationFailedException Gets theOsidSessionassociated with the resource route notification service.- Parameters:
resourceRouteReceiver- the notification callback- Returns:
- a
ResourceRouteNotificationSession - Throws:
NullArgumentException-resourceRouteReceiverisnullOperationFailedException- 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) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the resource route notification service for the given map.- Parameters:
resourceRouteReceiver- the notification callbackmapId- theIdof theMap- Returns:
- a
ResourceRouteNotificationSession - Throws:
NotFoundException- no map found by the givenIdNullArgumentException-resourceRouteReceiverormapIdisnullOperationFailedException- 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.- Returns:
- a
MyRouteLookupSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsMyRouteLookup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsMyRouteLookup()} is {@code true} .
-
getMyRouteSessionForMap
Gets theOsidSessionassociated with the my route service for the given map.- Parameters:
mapId- theIdof the map- Returns:
- a
MyRouteLookupSession - Throws:
NotFoundException- noMapfound by the givenIdNullArgumentException-mapIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsMyRouteLookup()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsMyRouteLookup()} and {@code supportsVisibleFederation()} are {@code true}
-