Interface TopologyPathManager
- All Superinterfaces:
AutoCloseable, Closeable, OsidManager, OsidManager, OsidProfile, Sourceable, TopologyPathProfile
The topology manager provides access to topology path sessions and provides interoperability tests for various aspects of this service. The sessions included in this manager are:
-
PathLookupSession: a session to retrieve paths -
PathQuerySession: a session to query for paths -
PathSearchSession: a session to search for paths -
PathAdminSession: a session to create and delete paths -
PathNotificationSession: a session to receive notifications pertaining to path changes -
PathMapSession: a session to looking locations of paths to maps -
PathMapAssignmentSession: a session to manage path to graph mappings -
PathMapAssignmentSession: a session to manage dynamic graphs of paths
TopologyPathManager may be accessed by multiple processing
threads.-
Method Summary
Modifier and TypeMethodDescriptionGets theOsidSessionassociated with the path administration service.getPathAdminSessionForGraph(Id graphId) Gets theOsidSessionassociated with the path administration service for the given graph.Gets theOsidSessionassociated with assigning paths to graphs.Gets theOsidSessionto lookup path/graph locations.Gets theOsidSessionassociated with the path lookup service.getPathLookupSessionForGraph(Id graphId) Gets theOsidSessionassociated with the path lookup service for the given graph.getPathNotificationSession(PathReceiver pathReceiver) Gets theOsidSessionassociated with the path notification service.getPathNotificationSessionForGraph(PathReceiver pathReceiver, Id graphId) Gets theOsidSessionassociated with the path notification service for the given graph.Gets theOsidSessionassociated with the path query service.getPathQuerySessionForGraph(Id graphId) Gets theOsidSessionassociated with the path query service for the given graph.Gets theOsidSessionassociated with the path search service.getPathSearchSessionForGraph(Id graphId) Gets theOsidSessionassociated with the path search service for the given graph.getPathSmartGraphSession(Id graphId) Gets theOsidSessionto manage path smart graphs.Methods inherited from interface OsidManager
closeMethods inherited from interface OsidManager
changeBranch, initialize, rollbackServiceMethods inherited from interface OsidProfile
getBranch, getBranchId, getDescription, getDisplayName, getId, getLocales, getReleaseDate, getVersion, supportsJournalBranching, supportsJournalRollback, supportsOSIDVersionMethods inherited from interface Sourceable
getBranding, getBrandingIds, getLicense, getProvider, getProviderIdMethods inherited from interface TopologyPathProfile
getPathRecordTypes, getPathSearchRecordTypes, supportsPathAdmin, supportsPathGraph, supportsPathGraphAssignment, supportsPathLookup, supportsPathNotification, supportsPathQuery, supportsPathRecordType, supportsPathSearch, supportsPathSearchRecordType, supportsPathSmartGraph, supportsVisibleFederation
-
Method Details
-
getPathLookupSession
Gets theOsidSessionassociated with the path lookup service.- Returns:
- a
PathLookupSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsPathLookup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsPathLookup()} is {@code true}.
-
getPathLookupSessionForGraph
PathLookupSession getPathLookupSessionForGraph(Id graphId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the path lookup service for the given graph.- Parameters:
graphId- theIdof theGraph- Returns:
- a
PathLookupSession - Throws:
NotFoundException- noGraphfound by the givenIdNullArgumentException-graphIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsPathLookup()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsPathLookup()} and {@code supportsVisibleFederation()} are {@code true}
-
getPathQuerySession
Gets theOsidSessionassociated with the path query service.- Returns:
- a
PathQuerySession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsPathQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsPathQuery()} is {@code true}.
-
getPathQuerySessionForGraph
PathQuerySession getPathQuerySessionForGraph(Id graphId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the path query service for the given graph.- Parameters:
graphId- theIdof theGraph- Returns:
- a
PathQuerySession - Throws:
NotFoundException- no graph found by the givenIdNullArgumentException-graphIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsPathQuery()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsPathQuery()} and {@code supportsVisibleFederation()} are {@code true}
-
getPathSearchSession
Gets theOsidSessionassociated with the path search service.- Returns:
- a
PathSearchSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsPathSearch()isfalse- Compliance:
optional- This method must be implemented if {@code supportsPathSearch()} is {@code true}.
-
getPathSearchSessionForGraph
PathSearchSession getPathSearchSessionForGraph(Id graphId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the path search service for the given graph.- Parameters:
graphId- theIdof theGraph- Returns:
- a
PathSearchSession - Throws:
NotFoundException- no graph found by the givenIdNullArgumentException-graphIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsPathSearch()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsPathSearch()} and {@code supportsVisibleFederation()} are {@code true}
-
getPathAdminSession
Gets theOsidSessionassociated with the path administration service.- Returns:
- a
PathAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsPathAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsPathAdmin()} is {@code true}.
-
getPathAdminSessionForGraph
PathAdminSession getPathAdminSessionForGraph(Id graphId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the path administration service for the given graph.- Parameters:
graphId- theIdof thegraph- Returns:
- a
PathAdminSession - Throws:
NotFoundException- no graph found by the givenIdNullArgumentException-graphIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsPathAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsPathAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getPathNotificationSession
PathNotificationSession getPathNotificationSession(PathReceiver pathReceiver) throws OperationFailedException Gets theOsidSessionassociated with the path notification service.- Parameters:
pathReceiver- the notification callback- Returns:
- a
PathNotificationSession - Throws:
NullArgumentException-pathReceiverisnullOperationFailedException- unable to complete requestUnimplementedException-supportsPathNotification()isfalse- Compliance:
optional- This method must be implemented if {@code supportsPathNotification()} is {@code true}.
-
getPathNotificationSessionForGraph
PathNotificationSession getPathNotificationSessionForGraph(PathReceiver pathReceiver, Id graphId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the path notification service for the given graph.- Parameters:
pathReceiver- the notification callbackgraphId- theIdof theGraph- Returns:
- a
PathNotificationSession - Throws:
NotFoundException- no graph found by the givenIdNullArgumentException-pathReceiverorgraphIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsPathNotification()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsPathNotification()} and {@code supportsVisibleFederation()} are {@code true}
-
getPathGraphSession
Gets theOsidSessionto lookup path/graph locations.- Returns:
- a
PathGraphSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsPathGraph()isfalse- Compliance:
optional- This method must be implemented if {@code supportsPathGraph()} is {@code true}.
-
getPathGraphAssignmentSession
Gets theOsidSessionassociated with assigning paths to graphs.- Returns:
- a
PathGraphAssignmentSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsPathGraphAssignment()isfalse- Compliance:
optional- This method must be implemented if {@code supportsPathGraphAssignment()} is {@code true}.
-
getPathSmartGraphSession
PathSmartGraphSession getPathSmartGraphSession(Id graphId) throws NotFoundException, OperationFailedException Gets theOsidSessionto manage path smart graphs.- Parameters:
graphId- theIdof theGraph- Returns:
- a
PathSmartGraphSession - Throws:
NotFoundException- no graph found by the givenIdNullArgumentException-pathReceiverorgraphIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsPathSmartGraph()isfalse- Compliance:
optional- This method must be implemented if {@code supportsPathSmartGraph()} is {@code true}.
-