OSID Logo
OSID Specifications
topology rules package
Version 3.0.0
Release Candidate Preview
Interfaceosid.topology.rules.EdgeEnablerSmartGraphSession
Implementsosid.OsidSession
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.Idthe Graph Id associated with this session
CompliancemandatoryThis method must be implemented.
MethodgetGraph
Description

Gets the Graph associated with this session.

Returnosid.topology.Graphthe graph
ErrorsOPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis 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
CompliancemandatoryThis method must be implemented.
MethodgetEdgeEnablerQuery
Description

Gets an edge enabler query.

Returnosid.topology.rules.EdgeEnablerQuerythe edge enabler query
CompliancemandatoryThis method must be implemented.
MethodgetEdgeEnablerSearchOrder
Description

Gets an edge enabler search order.

Returnosid.topology.rules.EdgeEnablerSearchOrderthe edge enabler search order
CompliancemandatoryThis method must be implemented.
MethodapplyEdgeEnablerQuery
Description

Applies an edge enabler query to this graph.

Parametersosid.topology.rules.EdgeEnablerQueryedgeEnablerQuerythe edge enabler query
ErrorsNULL_ARGUMENT edgeEnablerQuery is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
UNSUPPORTED edgeEnablerQuery not of this service
CompliancemandatoryThis method must be implemented.
MethodinspectEdgeEnablerQuery
Description

Gets an edge enabler query inspector for this graph.

Returnosid.topology.rules.EdgeEnablerQueryInspectorthe edge enabler query inspector
ErrorsOPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
CompliancemandatoryThis method must be implemented.
MethodapplyEdgeEnablerSequencing
Description

Applies an edge enabler search order to this graph.

Parametersosid.topology.rules.EdgeEnablerSearchOrderedgeEnablerSearchOrderthe edge enabler search order
ErrorsNULL_ARGUMENT edgeEnablerSearchOrder is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
UNSUPPORTED edgeEnablerSearchOrder not of this service
CompliancemandatoryThis method must be implemented.
MethodgetEdgeEnablerQueryFromInspector
Description

Gets an edge enabler query from an inspector.

Parametersosid.topology.rules.EdgeEnablerQueryInspectoredgeEnablerQueryInspectoran edge enabler query inspector
Returnosid.topology.rules.EdgeEnablerQuerythe edge enabler query
ErrorsNULL_ARGUMENT edgeEnablerQueryInspector is null
UNSUPPORTED edgeEnablerQueryInspector is not of this service
CompliancemandatoryThis method must be implemented.