Interface | osid.topology.EdgeQuerySession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session provides methods for searching among This session defines views that offer differing behaviors for searching.
Edges may have a query record indicated by their
respective record types. The query record is accessed via the
| ||
Method | getGraphId | ||
Description |
Gets the | ||
Return | osid.id.Id | the Graph Id associated with this session | |
Compliance | mandatory | This method must be implemented. | |
Method | getGraph | ||
Description |
Gets the | ||
Return | osid.topology.Graph | the graph | |
Errors | OPERATION_FAILED | unable to complete request | |
PERMISSION_DENIED | authorization failure | ||
Compliance | mandatory | This method must be implemented. | |
Method | canSearchEdges | ||
Description |
Tests if this user can perform | ||
Return | boolean | false if search methods are not authorized, true
otherwise | |
Compliance | mandatory | This method must be implemented. | |
Method | useFederatedGraphView | ||
Description |
Federates the view for methods in this session. A federated view will include edges in graphs which are children of this graph in the graph hierarchy. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | useIsolatedGraphView | ||
Description |
Isolates the view for methods in this session. An isolated view restricts lookups to this graph only. | ||
Compliance | mandatory | This method is must be implemented. | |
Method | getEdgeQuery | ||
Description |
Gets an edge query. | ||
Return | osid.topology.EdgeQuery | the edge query | |
Compliance | mandatory | This method must be implemented. | |
Method | getEdgesByQuery | ||
Description |
Gets a list of | ||
Parameters | osid.topology.EdgeQuery | edgeQuery | the edge query |
Return | osid.topology.EdgeList | the returned EdgeList | |
Errors | NULL_ARGUMENT | edgeQuery is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
UNSUPPORTED | edgeQuery is not of this service | ||
Compliance | mandatory | This method must be implemented. |