OSID Logo
OSID Specifications
topology path package
Version 3.1.0
Interfaceosid.topology.path.PathSmartGraphSession
Implementsosid.OsidSession
Used Byosid.topology.path.TopologyPathManager
osid.topology.path.TopologyPathProxyManager
Description

This session manages queries and sequencing to create "smart" dynamic catalogs. A PathQuery can be retrieved from this session and mapped to this Graph to create a virtual collection of Paths. The paths may be sequenced using the PathSearchOrder from this session.

This Graph has a default query that matches any path and a default search order that specifies no sequencing. The queries may be examined using a PathQueryInspector. The query may be modified by converting the inspector back to a PathQuery.

MethodgetGraphId
Description

Gets the Graph Id associated with this session.

Returnosid.id.Id the Graph Id associated with this session
Compliancemandatory This method must be implemented.
MethodgetGraph
Description

Gets the Graph associated with this session.

Returnosid.topology.Graph the graph
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodcanManageSmartGraphs
Description

Tests if this user can manage smart graphs. A return of true does not guarantee successful authorization. A return of false indicates that it is known methods in this session will result in a PERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer operations to unauthorized users.

Returnboolean false if smart graph management is not authorized, true otherwise
Compliancemandatory This method must be implemented.
MethodgetPathQuery
Description

Gets a path query.

Returnosid.topology.path.PathQuery the path query
Compliancemandatory This method must be implemented.
MethodgetPathSearchOrder
Description

Gets a path search order.

Returnosid.topology.path.PathSearchOrder the path search order
Compliancemandatory This method must be implemented.
MethodapplyPathQuery
Description

Applies a path query to this graph.

Parametersosid.topology.path.PathQuerypathQuery the path query
ErrorsNULL_ARGUMENT pathQuery is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
UNSUPPORTED pathQuery not of this service
Compliancemandatory This method must be implemented.
MethodinspectPathQuery
Description

Gets a path query inspector for this graph.

Returnosid.topology.path.PathQueryInspector the path query inspector
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
Compliancemandatory This method must be implemented.
MethodapplyPathSequencing
Description

Applies a path search order to this graph.

Parametersosid.topology.path.PathSearchOrderpathSearchOrder the path search order
ErrorsNULL_ARGUMENT pathSearchOrder is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
UNSUPPORTED pathSearchOrder not of this service
Compliancemandatory This method must be implemented.
MethodgetPathQueryFromInspector
Description

Gets a path query from an inspector.

Parametersosid.topology.path.PathQueryInspectorpathQueryInspector a path query inspector
Returnosid.topology.path.PathQuery the path query
ErrorsNULL_ARGUMENT pathQueryInspector is null
UNSUPPORTED pathQueryInspector is not of this service
Compliancemandatory This method must be implemented.