| Interface | osid.topology.NodeLookupSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description | This session defines methods for retrieving nodes. This lookup session defines several views: 
  The methods   Nodes may have an additional records indicated by their 
                respective record types. The record may not be accessed 
                through a cast of 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 | canLookupNodes | ||
| Description | Tests if this user can perform  | ||
| Return | boolean |  false if lookup methods are not authorized, true 
otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | useComparativeNodeView | ||
| Description | The returns from the lookup methods may omit or translate elements based on this session, such as authorization, and not result in an error. This view is used when greater interoperability is desired at the expense of precision. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | usePlenaryNodeView | ||
| Description | A complete view of the  | ||
| Compliance | mandatory | This method is 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 retrievals to this graph only. | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getNode | ||
| Description | Gets the  | ||
| Parameters | osid.id.Id | nodeId | the  Id of the Node to retrieve | 
| Return | osid.topology.Node | the returned  Node  | |
| Errors | NOT_FOUND | no  Node found with the given Id  | |
| NULL_ARGUMENT |  nodeId is null  | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getNodesByIds | ||
| Description | Gets a  | ||
| Parameters | osid.id.IdList | nodeIds | the list of  Ids to retrieve | 
| Return | osid.topology.NodeList | the returned  Node list | |
| Errors | NOT_FOUND | an  Id was not found | |
| NULL_ARGUMENT |  nodeIds is null  | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getNodesByGenusType | ||
| Description | Gets a  | ||
| Parameters | osid.type.Type | nodeGenusType | a node genus type | 
| Return | osid.topology.NodeList | the returned  Node list | |
| Errors | NULL_ARGUMENT |  nodeGenusType is null  | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getNodesByParentGenusType | ||
| Description | Gets a  | ||
| Parameters | osid.type.Type | nodeGenusType | a node genus type | 
| Return | osid.topology.NodeList | the returned  Node list | |
| Errors | NULL_ARGUMENT |  nodeGenusType is null  | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getNodesByRecordType | ||
| Description | Gets a  | ||
| Parameters | osid.type.Type | nodeRecordType | a node record type | 
| Return | osid.topology.NodeList | the returned  Node list | |
| Errors | NULL_ARGUMENT |  nodeRecordType is null  | |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getNodes | ||
| Description | Gets all  | ||
| Return | osid.topology.NodeList | a list of  Nodes  | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |