Interface TopologyPathProxyManager
- All Superinterfaces:
AutoCloseable, Closeable, OsidProfile, OsidProxyManager, OsidProxyManager, Sourceable, TopologyPathProfile
The topology manager provides access to topology path sessions and
provides interoperability tests for various aspects of this service.
Methods in this manager include a Proxy for passing information
from server environments.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 TypeMethodDescriptiongetPathAdminSession(Proxy proxy) Gets theOsidSessionassociated with the path administration service.getPathAdminSessionForGraph(Id graphId, Proxy proxy) Gets theOsidSessionassociated with the path administration service for the given graph.Gets theOsidSessionassociated with assigning paths to maps.getPathGraphSession(Proxy proxy) Gets theOsidSessionto lookup path/graph mappings.getPathLookupSession(Proxy proxy) Gets theOsidSessionassociated with the path lookup service.getPathLookupSessionForGraph(Id graphId, Proxy proxy) Gets theOsidSessionassociated with the path lookup service for the given graph.getPathNotificationSession(PathReceiver pathReceiver, Proxy proxy) Gets theOsidSessionassociated with the path notification service.getPathNotificationSessionForGraph(PathReceiver pathReceiver, Id graphId, Proxy proxy) Gets theOsidSessionassociated with the path notification service for the given graph.getPathQuerySession(Proxy proxy) Gets theOsidSessionassociated with the path query service.getPathQuerySessionForGraph(Id graphId, Proxy proxy) Gets theOsidSessionassociated with the path query service for the given graph.getPathSearchSession(Proxy proxy) Gets theOsidSessionassociated with the path search service.getPathSearchSessionForGraph(Id graphId, Proxy proxy) Gets theOsidSessionassociated with the path search service for the given graph.getPathSmartGraphSession(Id graphId, Proxy proxy) Gets theOsidSessionto manage path smart graphs.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.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.- Parameters:
proxy- a proxy- Returns:
- a
PathLookupSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsPathLookup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsPathLookup()} is {@code true} .
-
getPathLookupSessionForGraph
PathLookupSession getPathLookupSessionForGraph(Id graphId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the path lookup service for the given graph.- Parameters:
graphId- theIdof theGraphproxy- a proxy- Returns:
- a
PathLookupSession - Throws:
NotFoundException- no graph found by the given IdNullArgumentException-graphIdorproxyisnullOperationFailedException- 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.- Parameters:
proxy- a proxy- Returns:
- a
PathQuerySession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsPathQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsPathQuery()} is {@code true} .
-
getPathQuerySessionForGraph
PathQuerySession getPathQuerySessionForGraph(Id graphId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the path query service for the given graph.- Parameters:
graphId- theIdof theGraphproxy- a proxy- Returns:
- a
PathQuerySession - Throws:
NotFoundException- no graph found by the given IdNullArgumentException-graphIdorproxyisnullOperationFailedException- 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.- Parameters:
proxy- a proxy- Returns:
- a
PathSearchSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsPathSearch()isfalse- Compliance:
optional- This method must be implemented if {@code supportsPathSearch()} is {@code true} .
-
getPathSearchSessionForGraph
PathSearchSession getPathSearchSessionForGraph(Id graphId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the path search service for the given graph.- Parameters:
graphId- theIdof theGraphproxy- a proxy- Returns:
- a
PathSearchSession - Throws:
NotFoundException- no graph found by the given IdNullArgumentException-graphIdorproxyisnullOperationFailedException- 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.- Parameters:
proxy- a proxy- Returns:
- a
PathAdminSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsPathAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsPathAdmin()} is {@code true} .
-
getPathAdminSessionForGraph
PathAdminSession getPathAdminSessionForGraph(Id graphId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the path administration service for the given graph.- Parameters:
graphId- theIdof theGraphproxy- a proxy- Returns:
- a
PathAdminSession - Throws:
NotFoundException- no graph found by the givenIdNullArgumentException-graphIdorproxyisnullOperationFailedException- 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, Proxy proxy) throws OperationFailedException Gets theOsidSessionassociated with the path notification service.- Parameters:
pathReceiver- the notification callbackproxy- a proxy- Returns:
- a
PathNotificationSession - Throws:
NullArgumentException-pathReceiverorproxyisnullOperationFailedException- 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, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the path notification service for the given graph.- Parameters:
pathReceiver- the notification callbackgraphId- theIdof theGraphproxy- a proxy- Returns:
- a
PathNotificationSession - Throws:
NotFoundException- no graph found by the givenIdNullArgumentException-pathReceiver, graphIdorproxyisnullOperationFailedException- 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 mappings.- Parameters:
proxy- a proxy- Returns:
- a
PathGraphSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsPathGraph()isfalse- Compliance:
optional- This method must be implemented if {@code supportsPathGraph()} is {@code true} .
-
getPathGraphAssignmentSession
PathGraphAssignmentSession getPathGraphAssignmentSession(Proxy proxy) throws OperationFailedException Gets theOsidSessionassociated with assigning paths to maps.- Parameters:
proxy- a proxy- Returns:
- a
PathGraphAssignmentSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsPathGraphAssignment()isfalse- Compliance:
optional- This method must be implemented if {@code supportsPathGraphAssignment()} is {@code true} .
-
getPathSmartGraphSession
PathSmartGraphSession getPathSmartGraphSession(Id graphId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionto manage path smart graphs.- Parameters:
graphId- theIdof theGraphproxy- a proxy- Returns:
- a
PathSmartMGraphSession - Throws:
NotFoundException- no graph found by the givenIdNullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsPathSmartGraph()isfalse- Compliance:
optional- This method must be implemented if {@code supportsPathSmartGraph()} is {@code true} .
-