Interface | osid.topology.NodeQuerySession | ||
---|---|---|---|
Implements | osid.OsidSession | ||
Description |
This session provides methods for searching among This session defines views that offer differing behaviors for searching.
Nodes 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 | canSearchNodes | ||
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 nodes 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 | getNodeQuery | ||
Description |
Gets a node query. | ||
Return | osid.topology.NodeQuery | the node query | |
Compliance | mandatory | This method must be implemented. | |
Method | getNodesByQuery | ||
Description |
Gets a list of | ||
Parameters | osid.topology.NodeQuery | nodeQuery | the node query |
Return | osid.topology.NodeList | the returned NodeList | |
Errors | NULL_ARGUMENT | nodeQuery is null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
UNSUPPORTED | nodeQuery is not of this service | ||
Compliance | mandatory | This method must be implemented. |