| Interface | osid.mapping.LocationQuerySession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description | 
                 This session provides methods for searching among  This session defines views that offer differing behaviors for searching. 
  Locations may have a query record indicated by their 
                respective record types. The query record is accessed via the 
                  | ||
| Method | getMapId | ||
| Description | 
                     Gets the   | ||
| Return | osid.id.Id | the  Map Id  associated with this session  | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getMap | ||
| Description | 
                     Gets the   | ||
| Return | osid.mapping.Map | the map | |
| Errors | OPERATION_FAILED | unable to complete request | |
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | canSearchLocations | ||
| 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 | useFederatedMapView | ||
| Description | 
                     Federates the view for methods in this session. A federated view will include locations in maps which are children of this map in the map hierarchy.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | useIsolatedMapView | ||
| Description | 
                     Isolates the view for methods in this session. An isolated view restricts lookups to this map only.  | ||
| Compliance | mandatory | This method is must be implemented. | |
| Method | getLocationQuery | ||
| Description | 
                     Gets a location query.  | ||
| Return | osid.mapping.LocationQuery | the location query | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getLocationsByQuery | ||
| Description | 
                     Gets a list of   | ||
| Parameters | osid.mapping.LocationQuery | locationQuery | the location query | 
| Return | osid.mapping.LocationList | the returned  LocationList   | |
| Errors | NULL_ARGUMENT |  locationQuery  is  null   |                 |
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| UNSUPPORTED |  locationQuery  is not of this service  |                 ||
| Compliance | mandatory | This method must be implemented. | |