public interface EdgeEnablerSmartGraphSession extends OsidSession
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.
Modifier and Type | Method and Description |
---|---|
void |
applyEdgeEnablerQuery(EdgeEnablerQuery edgeEnablerQuery)
Applies an edge enabler query to this graph.
|
void |
applyEdgeEnablerSequencing(EdgeEnablerSearchOrder edgeEnablerSearchOrder)
Applies an edge enabler search order to this graph.
|
boolean |
canManageSmartOntologies()
Tests if this user can manage smart ontologies.
|
EdgeEnablerQuery |
getEdgeEnablerQuery()
Gets an edge enabler query.
|
EdgeEnablerQuery |
getEdgeEnablerQueryFromInspector(EdgeEnablerQueryInspector edgeEnablerQueryInspector)
Gets an edge enabler query from an inspector.
|
EdgeEnablerSearchOrder |
getEdgeEnablerSearchOrder()
Gets an edge enabler search order.
|
Graph |
getGraph()
Gets the
Graph associated with this session. |
Id |
getGraphId()
Gets the
Graph Id associated with this
session. |
EdgeEnablerQueryInspector |
inspectEdgeEnablerQuery()
Gets an edge enabler query inspector for this graph.
|
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactions
close
Id getGraphId()
Graph
Id
associated with this
session. Graph Id
associated with this sessionmandatory
- This method must be implemented. Graph getGraph() throws OperationFailedException, PermissionDeniedException
Graph
associated with this session.OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. boolean canManageSmartOntologies()
PERMISSION_DENIED.
This is intended as a hint to an
application that may opt not to offer operations to unauthorized
users. false
if smart graph management is not
authorized, true
otherwisemandatory
- This method must be implemented. EdgeEnablerQuery getEdgeEnablerQuery()
mandatory
- This method must be implemented. EdgeEnablerSearchOrder getEdgeEnablerSearchOrder()
mandatory
- This method must be implemented. void applyEdgeEnablerQuery(EdgeEnablerQuery edgeEnablerQuery) throws OperationFailedException, PermissionDeniedException
edgeEnablerQuery
- the edge enabler queryNullArgumentException
- edgeEnablerQuery
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure
occurredUnsupportedException
- edgeEnablerQuery
not of this servicemandatory
- This method must be implemented. EdgeEnablerQueryInspector inspectEdgeEnablerQuery() throws OperationFailedException, PermissionDeniedException
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure
occurredmandatory
- This method must be implemented. void applyEdgeEnablerSequencing(EdgeEnablerSearchOrder edgeEnablerSearchOrder) throws OperationFailedException, PermissionDeniedException
edgeEnablerSearchOrder
- the edge enabler search orderNullArgumentException
- edgeEnablerSearchOrder
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure
occurredUnsupportedException
- edgeEnablerSearchOrder
not of this servicemandatory
- This method must be implemented. EdgeEnablerQuery getEdgeEnablerQueryFromInspector(EdgeEnablerQueryInspector edgeEnablerQueryInspector)
edgeEnablerQueryInspector
- an edge enabler query inspectorNullArgumentException
-
edgeEnablerQueryInspector
is null
UnsupportedException
- edgeEnablerQueryInspector
is not of this servicemandatory
- This method must be implemented.