OSID Logo
OSID Specifications
topology package
Version 3.0.0
Release Candidate Preview
Interfaceosid.topology.TopologyManager
Implementsosid.OsidManager
osid.topology.TopologyProfile
Description

The topology manager provides access to topology sessions and provides interoperability tests for various aspects of this service. The sessions included in this manager are:

  • TopologyTraversalSession: a session to traverse topologies
  • TopologyRoutingSession: a session get routes through topologies
  • NodeLookupSession: a session to retrieve nodes
  • NodeQuerySession: a session to query nodes
  • NodeSearchSession: a session to search for nodes
  • NodeAdminSession: a session to create and delete nodes
  • NodeNotificationSession: a session to receive notifications pertaining to node changes
  • NodeGraphSession: a session to look up node to graph mappings
  • NodeGraphAssignmentSession: a session to manage node to graph mappings
  • NodeSmartGraphSession: a session to manage smart graphs of nodes
  • EdgeLookupSession: a session to retrieve edges
  • EdgeQuerySession: a session to query edges
  • EdgeSearchSession: a session to search for edges
  • EdgeAdminSession: a session to create and delete edges
  • EdgeNotificationSession: a session to receive notifications pertaining to edge changes
  • EdgeGraphSession: a session to looking mappings of edges to graphs
  • EdgeGraphAssignmentSession: a session to manage edge to graph mappings
  • EdgeSmartGraphSession: a session to manage smart graphs of edges
  • GraphLookupSession: a session to retrieve graphs
  • GraphQuerySession: a session to query for graphs
  • GraphSearchSession: a session to search for graphs
  • GraphAdminSession: a session to create and delete graphs
  • GraphNotificationSession: a session to receive notifications pertaining to graph changes
  • GraphHierarchySession: a session to traverse a hierarchy of graph
  • GraphHierarchyDesignSession: a session to manage a graph hierarchy
MethodgetTopologyTraversalSession
Description

Gets the OsidSession associated with the topology traversal service.

Returnosid.topology.TopologyTraversalSessiona TopologyTraversalSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsTopologyTraversal() is false
ComplianceoptionalThis method must be implemented if supportsTopologyTraversal() is true.
MethodgetTopologyTraversalForGraph
Description

Gets the OsidSession associated with the topology traversal service for the given graph.

Parametersosid.id.IdgraphIdthe Id of the graph
Returnosid.topology.TopologyTraversalSessiona TopologyTraversalSession
ErrorsNOT_FOUNDno Graph found by the given Id
NULL_ARGUMENT graphId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsTopologyTraversal() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsTopologyTraversal() and supportsVisibleFederation() are true
MethodgetTopologyRoutingSession
Description

Gets the OsidSession associated with the topology routing service.

Returnosid.topology.TopologyRoutingSessiona TopologyRoutingSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsTopologyRouting() is false
ComplianceoptionalThis method must be implemented if supportsTopologyRouting() is true.
MethodgetTopologyRoutingForGraph
Description

Gets the OsidSession associated with the topology routing service for the given graph.

Parametersosid.id.IdgraphIdthe Id of the graph
Returnosid.topology.TopologyRoutingSessiona TopologyRoutingSession
ErrorsNOT_FOUNDno Graph found by the given Id
NULL_ARGUMENT graphId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsTopologyRouting() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsTopologyRouting() and supportsVisibleFederation() are true
MethodgetNodeLookupSession
Description

Gets the OsidSession associated with the node lookup service.

Returnosid.topology.NodeLookupSessiona NodeLookupSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsNodeLookup() is false
ComplianceoptionalThis method must be implemented if supportsNodeLookup() is true.
MethodgetNodeLookupSessionForGraph
Description

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

Parametersosid.id.IdgraphIdthe Id of the graph
Returnosid.topology.NodeLookupSessiona NodeLookupSession
ErrorsNOT_FOUNDno Graph found by the given Id
NULL_ARGUMENT graphId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsNodeLookup() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsNodeLookup() and supportsVisibleFederation() are true
MethodgetNodeQuerySession
Description

Gets the OsidSession associated with the node query service.

Returnosid.topology.NodeQuerySessiona NodeQuerySession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsNodeQuery() is false
ComplianceoptionalThis method must be implemented if supportsNodeQuery() is true.
MethodgetNodeQuerySessionForGraph
Description

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

Parametersosid.id.IdgraphIdthe Id of the graph
Returnosid.topology.NodeQuerySessiona NodeQuerySession
ErrorsNOT_FOUNDno Graph found by the given Id
NULL_ARGUMENT graphId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsNodeQuery() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsNodeQuery() and supportsVisibleFederation() are true
MethodgetNodeSearchSession
Description

Gets the OsidSession associated with the node search service.

Returnosid.topology.NodeSearchSessiona NodeSearchSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsNodeSearch() is false
ComplianceoptionalThis method must be implemented if supportsNodeSearch() is true.
MethodgetNodeSearchSessionForGraph
Description

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

Parametersosid.id.IdgraphIdthe Id of the Graph
Returnosid.topology.NodeSearchSessiona NodeSearchSession
ErrorsNOT_FOUNDno graph found by the given Id
NULL_ARGUMENT graphId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsNodeSearch() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsNodeSearch() and supportsVisibleFederation() are true
MethodgetNodeAdminSession
Description

Gets the OsidSession associated with the node administration service.

Returnosid.topology.NodeAdminSessiona NodeAdminSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsNodeAdmin() is false
ComplianceoptionalThis method must be implemented if supportsNodeAdmin() is true.
MethodgetNodeAdminSessionForGraph
Description

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

Parametersosid.id.IdgraphIdthe Id of the Graph
Returnosid.topology.NodeAdminSessiona NodeAdminSession
ErrorsNOT_FOUNDno graph found by the given Id
NULL_ARGUMENT graphId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsNodeAdmin() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsNodeAdmin() and supportsVisibleFederation() are true
MethodgetNodeNotificationSession
Description

Gets the OsidSession associated with the node notification service.

Parametersosid.topology.NodeReceivernodeReceiverthe notification callback
Returnosid.topology.NodeNotificationSessiona NodeNotificationSession
ErrorsNULL_ARGUMENT nodeReceiver is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsNodeNotification() is false
ComplianceoptionalThis method must be implemented if supportsNodeNotification() is true.
MethodgetNodeNotificationSessionForGraph
Description

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

Parametersosid.topology.NodeReceivernodeReceiverthe notification callback
osid.id.IdgraphIdthe Id of the Graph
Returnosid.topology.NodeNotificationSessiona NodeNotificationSession
ErrorsNOT_FOUNDno graph found by the given Id
NULL_ARGUMENT nodeReceiver or graphId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsNodeNotification() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsNodeNotification() and supportsVisibleFederation() are true
MethodgetNodeGraphSession
Description

Gets the OsidSession to lookup node/graph mappings.

Returnosid.topology.NodeGraphSessiona NodeGraphSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsNodeGraph() is false
ComplianceoptionalThis method must be implemented if supportsNodeGraph() is true.
MethodgetNodeGraphAssignmentSession
Description

Gets the OsidSession associated with assigning nodes to graphs.

Returnosid.topology.NodeGraphAssignmentSessiona NodeGraphAssignmentSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsNodeGraphAssignment() is false
ComplianceoptionalThis method must be implemented if supportsNodeGraphAssignment() is true.
MethodgetNodeSmartGraphSession
Description

Gets the OsidSession to manage dynamic graphs of retlationships.

Parametersosid.id.IdgraphIdthe Id of the Graph
Returnosid.topology.NodeSmartGraphSessiona NodeSmartGraphSession
ErrorsNOT_FOUNDno graph found by the given Id
NULL_ARGUMENT graphId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsNodeSmartGraph() is false
ComplianceoptionalThis method must be implemented if supportsNodeSmartGraph() is true.
MethodgetEdgeLookupSession
Description

Gets the OsidSession associated with the edge lookup service.

Returnosid.topology.EdgeLookupSessionan EdgeLookupSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsEdgeLookup() is false
ComplianceoptionalThis method must be implemented if supportsEdgeLookup() is true.
MethodgetEdgeLookupSessionForGraph
Description

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

Parametersosid.id.IdgraphIdthe Id of the Graph
Returnosid.topology.EdgeLookupSessionan EdgeLookupSession
ErrorsNOT_FOUNDno Graph found by the given Id
NULL_ARGUMENT graphId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsEdgeLookup() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsEdgeLookup() and supportsVisibleFederation() are true
MethodgetEdgeQuerySession
Description

Gets the OsidSession associated with the edge query service.

Returnosid.topology.EdgeQuerySessionan EdgeQuerySession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsEdgeQuery() is false
ComplianceoptionalThis method must be implemented if supportsEdgeQuery() is true.
MethodgetEdgeQuerySessionForGraph
Description

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

Parametersosid.id.IdgraphIdthe Id of the graph
Returnosid.topology.EdgeQuerySessionan EdgeQuerySession
ErrorsNOT_FOUNDno Graph found by the given Id
NULL_ARGUMENT graphId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsEdgeQuery() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsEdgeQuery() and supportsVisibleFederation() are true
MethodgetEdgeSearchSession
Description

Gets the OsidSession associated with the edge search service.

Returnosid.topology.EdgeSearchSessionan EdgeSearchSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsEdgeSearch() is false
ComplianceoptionalThis method must be implemented if supportsEdgeSearch() is true.
MethodgetEdgeSearchSessionForGraph
Description

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

Parametersosid.id.IdgraphIdthe Id of the Graph
Returnosid.topology.EdgeSearchSessionan EdgeSearchSession
ErrorsNOT_FOUNDno graph found by the given Id
NULL_ARGUMENT graphId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsEdgeSearch() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsEdgeSearch() and supportsVisibleFederation() are true
MethodgetEdgeAdminSession
Description

Gets the OsidSession associated with the edge administration service.

Returnosid.topology.EdgeAdminSessionan EdgeAdminSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsEdgeAdmin() is false
ComplianceoptionalThis method must be implemented if supportsEdgeAdmin() is true.
MethodgetEdgeAdminSessionForGraph
Description

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

Parametersosid.id.IdgraphIdthe Id of the Graph
Returnosid.topology.EdgeAdminSessionan EdgeAdminSession
ErrorsNOT_FOUNDno graph found by the given Id
NULL_ARGUMENT graphId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsEdgeAdmin() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsEdgeAdmin() and supportsVisibleFederation() are true
MethodgetEdgeNotificationSession
Description

Gets the OsidSession associated with the edge notification service.

Parametersosid.topology.EdgeReceiveredgeReceiverthe notification callback
Returnosid.topology.EdgeNotificationSessionan EdgeNotificationSession
ErrorsNULL_ARGUMENT edgeReceiver is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsEdgeNotification() is false
ComplianceoptionalThis method must be implemented if supportsEdgeNotification() is true.
MethodgetEdgeNotificationSessionForGraph
Description

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

Parametersosid.topology.EdgeReceiveredgeReceiverthe notification callback
osid.id.IdgraphIdthe Id of the Graph
Returnosid.topology.EdgeNotificationSessionan EdgeNotificationSession
ErrorsNOT_FOUNDno graph found by the given Id
NULL_ARGUMENT edgeReceiver or graphId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsEdgeNotification() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsEdgeNotification() and supportsVisibleFederation() are true
MethodgetEdgeGraphSession
Description

Gets the OsidSession to lookup edge/graph mappings.

Returnosid.topology.EdgeGraphSessionan EdgeGraphSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsEdgeGraph() is false
ComplianceoptionalThis method must be implemented if supportsEdgeGraph() is true.
MethodgetEdgeGraphAssignmentSession
Description

Gets the OsidSession associated with assigning edges to graphs.

Returnosid.topology.EdgeGraphAssignmentSessionan EdgeGraphAssignmentSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsEdgeGraphAssignment() is false
ComplianceoptionalThis method must be implemented if supportsEdgeGraphAssignment() is true.
MethodgetEdgeSmartGraphSession
Description

Gets the OsidSession to manage dynamic graphs of retlationships.

Parametersosid.id.IdgraphIdthe Id of the Graph
Returnosid.topology.EdgeSmartGraphSessionan EdgeSmartGraphSession
ErrorsNOT_FOUNDno graph found by the given Id
NULL_ARGUMENT graphId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsEdgeSmartGraph() is false
ComplianceoptionalThis method must be implemented if supportsEdgeSmartGraph() is true.
MethodgetGraphLookupSession
Description

Gets the OsidSession associated with the graph lookup service.

Returnosid.topology.GraphLookupSessiona GraphLookupSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsGraphLookup() is false
ComplianceoptionalThis method must be implemented if supportsGraphLookup() is true.
MethodgetGraphQuerySession
Description

Gets the OsidSession associated with the graph query service.

Returnosid.topology.GraphQuerySessiona GraphQuerySession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsGraphQuery() is false
ComplianceoptionalThis method must be implemented if supportsGraphQuery() is true.
MethodgetGraphSearchSession
Description

Gets the OsidSession associated with the graph search service.

Returnosid.topology.GraphSearchSessiona GraphSearchSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsGraphSearch() is false
ComplianceoptionalThis method must be implemented if supportsGraphSearch() is true.
MethodgetGraphAdminSession
Description

Gets the OsidSession associated with the graph administrative service.

Returnosid.topology.GraphAdminSessiona GraphAdminSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsGraphAdmin() is false
ComplianceoptionalThis method must be implemented if supportsGraphAdmin() is true.
MethodgetGraphNotificationSession
Description

Gets the OsidSession associated with the graph notification service.

Parametersosid.topology.GraphReceivergraphReceiverthe notification callback
Returnosid.topology.GraphNotificationSessiona GraphNotificationSession
ErrorsNULL_ARGUMENT graphReceiver is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsGraphNotification() is false
ComplianceoptionalThis method must be implemented if supportsGraphNotification() is true.
MethodgetGraphHierarchySession
Description

Gets the OsidSession associated with the graph hierarchy service.

Returnosid.topology.GraphHierarchySessiona GraphHierarchySession for graphs
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsGraphHierarchy() is false
ComplianceoptionalThis method must be implemented if supportsGraphHierarchy() is true.
MethodgetGraphHierarchyDesignSession
Description

Gets the OsidSession associated with the graph hierarchy design service.

Returnosid.topology.GraphHierarchyDesignSessiona HierarchyDesignSession for graphs
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsGraphHierarchyDesign() is false
ComplianceoptionalThis method must be implemented if supportsGraphHierarchyDesign() is true.
MethodgetTopologyBatchManager
Description

Gets a TopologyBatchManager.

Returnosid.topology.batch.TopologyBatchManagera TopologyBatchManager
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsTopologyBatch() is false
ComplianceoptionalThis method must be implemented if supportsTopologyBatch() is true.
MethodgetTopologyPathManager
Description

Gets a TopologyPathManager.

Returnosid.topology.path.TopologyPathManagera TopologyPathManager
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsTopologyPath() is false
ComplianceoptionalThis method must be implemented if supportsTopologyPath() is true.
MethodgetTopologyRulesManager
Description

Gets a TopologyRulesManager.

Returnosid.topology.rules.TopologyRulesManagera TopologyRulesManager
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsTopologyRules() is false
ComplianceoptionalThis method must be implemented if supportsTopologyRules() is true.