OSID Logo
OSID Specifications
topology rules package
Version 3.1.0
Interfaceosid.topology.rules.EdgeEnablerSmartGraphSession
Implementsosid.OsidSession
Used Byosid.topology.rules.TopologyRulesManager
osid.topology.rules.TopologyRulesProxyManager
Description

This session manages queries and sequencing to create "smart" dynamic ontologies. An EdgeEnablerQuery can be retrieved from this session and mapped to this Graph to create a virtual collection of edge enablers. The edge enablers may be sequenced using the EdgeEnablerSearchOrder from this session.

This Graph has a default query that matches any edge enabler and a default search order that specifies no sequencing. The queries may be examined using an EdgeEnablerQueryInspector. The query may be modified by converting the inspector back to an EdgeEnablerQuery.

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.
MethodcanManageSmartOntologies
Description

Tests if this user can manage smart ontologies. 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.
MethodgetEdgeEnablerQuery
Description

Gets an edge enabler query.

Returnosid.topology.rules.EdgeEnablerQuery the edge enabler query
Compliancemandatory This method must be implemented.
MethodgetEdgeEnablerSearchOrder
Description

Gets an edge enabler search order.

Returnosid.topology.rules.EdgeEnablerSearchOrder the edge enabler search order
Compliancemandatory This method must be implemented.
MethodapplyEdgeEnablerQuery
Description

Applies an edge enabler query to this graph.

Parametersosid.topology.rules.EdgeEnablerQueryedgeEnablerQuery the edge enabler query
ErrorsNULL_ARGUMENT edgeEnablerQuery is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
UNSUPPORTED edgeEnablerQuery not of this service
Compliancemandatory This method must be implemented.
MethodinspectEdgeEnablerQuery
Description

Gets an edge enabler query inspector for this graph.

Returnosid.topology.rules.EdgeEnablerQueryInspector the edge enabler query inspector
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
Compliancemandatory This method must be implemented.
MethodapplyEdgeEnablerSequencing
Description

Applies an edge enabler search order to this graph.

Parametersosid.topology.rules.EdgeEnablerSearchOrderedgeEnablerSearchOrder the edge enabler search order
ErrorsNULL_ARGUMENT edgeEnablerSearchOrder is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
UNSUPPORTED edgeEnablerSearchOrder not of this service
Compliancemandatory This method must be implemented.
MethodgetEdgeEnablerQueryFromInspector
Description

Gets an edge enabler query from an inspector.

Parametersosid.topology.rules.EdgeEnablerQueryInspectoredgeEnablerQueryInspector an edge enabler query inspector
Returnosid.topology.rules.EdgeEnablerQuery the edge enabler query
ErrorsNULL_ARGUMENT edgeEnablerQueryInspector is null
UNSUPPORTED edgeEnablerQueryInspector is not of this service
Compliancemandatory This method must be implemented.