OSID Logo
OSID Specifications
topology path package
Version 3.0.0
Release Candidate Preview
Interfaceosid.topology.path.TopologyPathManager
Implementsosid.OsidManager
osid.topology.path.TopologyPathProfile
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.PathLookupSessiona PathLookupSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsPathLookup() is false
ComplianceoptionalThis 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.IdgraphIdthe Id of the Graph
Returnosid.topology.path.PathLookupSessiona PathLookupSession
ErrorsNOT_FOUNDno Graph found by the given Id
NULL_ARGUMENT graphId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsPathLookup() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsPathLookup() and supportsVisibleFederation() are true
MethodgetPathQuerySession
Description

Gets the OsidSession associated with the path query service.

Returnosid.topology.path.PathQuerySessiona PathQuerySession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsPathQuery() is false
ComplianceoptionalThis 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.IdgraphIdthe Id of the Graph
Returnosid.topology.path.PathQuerySessiona PathQuerySession
ErrorsNOT_FOUNDno graph found by the given Id
NULL_ARGUMENT graphId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsPathQuery() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsPathQuery() and supportsVisibleFederation() are true
MethodgetPathSearchSession
Description

Gets the OsidSession associated with the path search service.

Returnosid.topology.path.PathSearchSessiona PathSearchSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsPathSearch() is false
ComplianceoptionalThis 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.IdgraphIdthe Id of the Graph
Returnosid.topology.path.PathSearchSessiona PathSearchSession
ErrorsNOT_FOUNDno graph found by the given Id
NULL_ARGUMENT graphId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsPathSearch() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsPathSearch() and supportsVisibleFederation() are true
MethodgetPathAdminSession
Description

Gets the OsidSession associated with the path administration service.

Returnosid.topology.path.PathAdminSessiona PathAdminSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsPathAdmin() is false
ComplianceoptionalThis 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.IdgraphIdthe Id of the graph
Returnosid.topology.path.PathAdminSessiona PathAdminSession
ErrorsNOT_FOUNDno graph found by the given Id
NULL_ARGUMENT graphId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsPathAdmin() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsPathAdmin() and supportsVisibleFederation() are true
MethodgetPathNotificationSession
Description

Gets the OsidSession associated with the path notification service.

Parametersosid.topology.path.PathReceiverpathReceiverthe notification callback
Returnosid.topology.path.PathNotificationSessiona PathNotificationSession
ErrorsNULL_ARGUMENT pathReceiver is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsPathNotification() is false
ComplianceoptionalThis 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.PathReceiverpathReceiverthe notification callback
osid.id.IdgraphIdthe Id of the Graph
Returnosid.topology.path.PathNotificationSessiona PathNotificationSession
ErrorsNOT_FOUNDno graph found by the given Id
NULL_ARGUMENT pathReceiver or graphId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsPathNotification() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsPathNotification() and supportsVisibleFederation() are true
MethodgetPathGraphSession
Description

Gets the OsidSession to lookup path/graph locations.

Returnosid.topology.path.PathGraphSessiona PathGraphSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsPathGraph() is false
ComplianceoptionalThis method must be implemented if supportsPathGraph() is true.
MethodgetPathGraphAssignmentSession
Description

Gets the OsidSession associated with assigning paths to graphs.

Returnosid.topology.path.PathGraphAssignmentSessiona PathGraphAssignmentSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsPathGraphAssignment() is false
ComplianceoptionalThis method must be implemented if supportsPathGraphAssignment() is true.
MethodgetPathSmartGraphSession
Description

Gets the OsidSession to manage path smart graphs.

Parametersosid.id.IdgraphIdthe Id of the Graph
Returnosid.topology.path.PathSmartGraphSessiona PathSmartGraphSession
ErrorsNOT_FOUNDno graph found by the given Id
NULL_ARGUMENT pathReceiver or graphId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsPathSmartGraph() is false
ComplianceoptionalThis method must be implemented if supportsPathSmartGraph() is true.