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
-
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, 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.Methods inherited from interface TopologyPathProfile
getPathRecordTypes, getPathSearchRecordTypes, supportsPathAdmin, supportsPathGraph, supportsPathGraphAssignment, supportsPathLookup, supportsPathNotification, supportsPathQuery, supportsPathRecordType, supportsPathSearch, supportsPathSearchRecordType, supportsPathSmartGraph, supportsVisibleFederationModifier and TypeMethodDescriptionGets the supportedPathrecord types.Gets the supportedPathsearch types.booleanTests if path administrative service is supported.booleanTests if a path graph lookup service is supported.booleanTests if a path graph service is supported.booleanTests if looking up paths is supported.booleanTests if a path notification service is supported.booleanTests if querying paths is supported.booleansupportsPathRecordType(Type pathRecordType) Tests if the givenPathrecord type is supported.booleanTests if searching paths is supported.booleansupportsPathSearchRecordType(Type pathSearchRecordType) Tests if the givenPathsearch type is supported.booleanTests if a path smart graph lookup service is supported.booleanTests if any graph federation is exposed.
-
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} .
-