OSID Logo
OSID Specifications
topology path package
Version 3.1.0
Interfaceosid.topology.path.TopologyPathManager
Implementsosid.OsidManager
osid.topology.path.TopologyPathProfile
Used Byosid.topology.TopologyManager
Description

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
MethodgetPathLookupSession
Description

Gets the OsidSession associated with the path lookup service.

Returnosid.topology.path.PathLookupSession a PathLookupSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsPathLookup() is false
Complianceoptional This method must be implemented if supportsPathLookup() is true.
MethodgetPathLookupSessionForGraph
Description

Gets the OsidSession associated with the path lookup service for the given graph.

Parametersosid.id.IdgraphId the Id of the Graph
Returnosid.topology.path.PathLookupSession a PathLookupSession
ErrorsNOT_FOUND no Graph found by the given Id
NULL_ARGUMENT graphId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsPathLookup() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsPathLookup() and supportsVisibleFederation() are true
MethodgetPathQuerySession
Description

Gets the OsidSession associated with the path query service.

Returnosid.topology.path.PathQuerySession a PathQuerySession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsPathQuery() is false
Complianceoptional This method must be implemented if supportsPathQuery() is true.
MethodgetPathQuerySessionForGraph
Description

Gets the OsidSession associated with the path query service for the given graph.

Parametersosid.id.IdgraphId the Id of the Graph
Returnosid.topology.path.PathQuerySession a PathQuerySession
ErrorsNOT_FOUND no graph found by the given Id
NULL_ARGUMENT graphId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsPathQuery() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsPathQuery() and supportsVisibleFederation() are true
MethodgetPathSearchSession
Description

Gets the OsidSession associated with the path search service.

Returnosid.topology.path.PathSearchSession a PathSearchSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsPathSearch() is false
Complianceoptional This method must be implemented if supportsPathSearch() is true.
MethodgetPathSearchSessionForGraph
Description

Gets the OsidSession associated with the path search service for the given graph.

Parametersosid.id.IdgraphId the Id of the Graph
Returnosid.topology.path.PathSearchSession a PathSearchSession
ErrorsNOT_FOUND no graph found by the given Id
NULL_ARGUMENT graphId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsPathSearch() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsPathSearch() and supportsVisibleFederation() are true
MethodgetPathAdminSession
Description

Gets the OsidSession associated with the path administration service.

Returnosid.topology.path.PathAdminSession a PathAdminSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsPathAdmin() is false
Complianceoptional This method must be implemented if supportsPathAdmin() is true.
MethodgetPathAdminSessionForGraph
Description

Gets the OsidSession associated with the path administration service for the given graph.

Parametersosid.id.IdgraphId the Id of the graph
Returnosid.topology.path.PathAdminSession a PathAdminSession
ErrorsNOT_FOUND no graph found by the given Id
NULL_ARGUMENT graphId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsPathAdmin() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsPathAdmin() and supportsVisibleFederation() are true
MethodgetPathNotificationSession
Description

Gets the OsidSession associated with the path notification service.

Parametersosid.topology.path.PathReceiverpathReceiver the notification callback
Returnosid.topology.path.PathNotificationSession a PathNotificationSession
ErrorsNULL_ARGUMENT pathReceiver is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsPathNotification() is false
Complianceoptional This method must be implemented if supportsPathNotification() is true.
MethodgetPathNotificationSessionForGraph
Description

Gets the OsidSession associated with the path notification service for the given graph.

Parametersosid.topology.path.PathReceiverpathReceiver the notification callback
osid.id.IdgraphId the Id of the Graph
Returnosid.topology.path.PathNotificationSession a PathNotificationSession
ErrorsNOT_FOUND no graph found by the given Id
NULL_ARGUMENT pathReceiver or graphId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsPathNotification() or supportsVisibleFederation() is false
Complianceoptional This method must be implemented if supportsPathNotification() and supportsVisibleFederation() are true
MethodgetPathGraphSession
Description

Gets the OsidSession to lookup path/graph locations.

Returnosid.topology.path.PathGraphSession a PathGraphSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsPathGraph() is false
Complianceoptional This method must be implemented if supportsPathGraph() is true.
MethodgetPathGraphAssignmentSession
Description

Gets the OsidSession associated with assigning paths to graphs.

Returnosid.topology.path.PathGraphAssignmentSession a PathGraphAssignmentSession
ErrorsOPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsPathGraphAssignment() is false
Complianceoptional This method must be implemented if supportsPathGraphAssignment() is true.
MethodgetPathSmartGraphSession
Description

Gets the OsidSession to manage path smart graphs.

Parametersosid.id.IdgraphId the Id of the Graph
Returnosid.topology.path.PathSmartGraphSession a PathSmartGraphSession
ErrorsNOT_FOUND no graph found by the given Id
NULL_ARGUMENT pathReceiver or graphId is null
OPERATION_FAILED unable to complete request
UNIMPLEMENTED supportsPathSmartGraph() is false
Complianceoptional This method must be implemented if supportsPathSmartGraph() is true.