| Interface | osid.topology.rules.EdgeEnablerLookupSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description | 
                 This session provides methods for retrieving  This session defines views that offer differing behaviors when retrieving multiple objects. 
  Generally, the comparative view should be used for most 
                applications as it permits operation even if there is data 
                that cannot be accessed. The methods   | ||
| 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 | canLookupEdgeEnablers | ||
| 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 | useComparativeEdgeEnablerView | ||
| 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 | usePlenaryEdgeEnablerView | ||
| 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 edge enablers in ontologies 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 | useActiveEdgeEnablerView | ||
| Description | 
                     Only active edge enablers are current are returned by methods in this session.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useAnyStatusEdgeEnablerView | ||
| Description | 
                     All active and inactive edge enablers are returned by methods in this session.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getEdgeEnabler | ||
| Description | 
                     Gets the    In active mode, edge enablers are returned that are currently active. In any status mode, active and inactive edge enablers are returned.  | ||
| Parameters | osid.id.Id | edgeEnablerId |  Id  of the  EdgeEnabler   | 
| Return | osid.topology.rules.EdgeEnabler | the edge enabler | |
| Errors | NOT_FOUND |  edgeEnablerId  not found  |                 |
| NULL_ARGUMENT |  edgeEnablerId  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getEdgeEnablersByIds | ||
| Description | 
                     Gets an    In active mode, edge enablers are returned that are currently active. In any status mode, active and inactive edge enablers are returned.  | ||
| Parameters | osid.id.IdList | edgeEnablerIds | the list of  Ids  to retrieve  | 
| Return | osid.topology.rules.EdgeEnablerList | the returned  EdgeEnabler  list  | |
| Errors | NOT_FOUND | an  Id was  not found  |                 |
| NULL_ARGUMENT |  edgeEnablerIds  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getEdgeEnablersByGenusType | ||
| Description | 
                     Gets an    In active mode, edge enablers are returned that are currently active. In any status mode, active and inactive edge enablers are returned.  | ||
| Parameters | osid.type.Type | edgeEnablerGenusType | an edge enabler genus type | 
| Return | osid.topology.rules.EdgeEnablerList | the returned  EdgeEnabler  list  | |
| Errors | NULL_ARGUMENT |  edgeEnablerGenusType  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getEdgeEnablersByParentGenusType | ||
| Description | 
                     Gets an    In active mode, edge enablers are returned that are currently active. In any status mode, active and inactive edge enablers are returned.  | ||
| Parameters | osid.type.Type | edgeEnablerGenusType | an edge enabler genus type | 
| Return | osid.topology.rules.EdgeEnablerList | the returned  EdgeEnabler  list  | |
| Errors | NULL_ARGUMENT |  edgeEnablerGenusType  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getEdgeEnablersByRecordType | ||
| Description | 
                     Gets an    In active mode, edge enablers are returned that are currently active. In any status mode, active and inactive edge enablers are returned.  | ||
| Parameters | osid.type.Type | edgeEnablerRecordType | an edge enabler record type | 
| Return | osid.topology.rules.EdgeEnablerList | the returned  EdgeEnabler  list  | |
| Errors | NULL_ARGUMENT |  edgeEnablerRecordType  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getEdgeEnablersOnDate | ||
| Description | 
                     Gets an    In active mode, edge enablers are returned that are currently active. In any status mode, active and inactive edge enablers are returned.  | ||
| Parameters | osid.calendaring.DateTime | from | a start date | 
osid.calendaring.DateTime | to | an end date | |
| Return | osid.topology.rules.EdgeEnablerList | the returned  EdgeEnabler  list  | |
| Errors | INVALID_ARGUMENT |  from  is greater than  to   |                 |
| NULL_ARGUMENT |  from  or  to  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getEdgeEnablersOnDateWithAgent | ||
| Description | 
                     Gets an    In active mode, edge enablers are returned that are currently active. In any status mode, active and inactive edge enablers are returned.  | ||
| Parameters | osid.id.Id | agentId | an agent  Id   | 
osid.calendaring.DateTime | from | a start date | |
osid.calendaring.DateTime | to | an end date | |
| Return | osid.topology.rules.EdgeEnablerList | the returned  EdgeEnabler  list  | |
| Errors | INVALID_ARGUMENT |  from  is greater than  to   |                 |
| NULL_ARGUMENT |  agentId, from,  or  to  is  null   |                 ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getEdgeEnablers | ||
| Description | 
                     Gets all  In plenary mode, the returned list contains all known edge enablers or an error results. Otherwise, the returned list may contain only those edge enablers that are accessible through this session. In active mode, edge enablers are returned that are currently active. In any status mode, active and inactive edge enablers are returned.  | ||
| Return | osid.topology.rules.EdgeEnablerList | the returned  EdgeEnabler  list  | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |