Interface | osid.mapping.LocationSearchSession | ||
---|---|---|---|
Implements | osid.mapping.LocationQuerySession | ||
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 | getLocationSearch | ||
Description |
Gets a location search. | ||
Return | osid.mapping.LocationSearch | the location search | |
Compliance | mandatory | This method must be implemented. | |
Method | getLocationSearchOrder | ||
Description |
Gets a location search order. The | ||
Return | osid.mapping.LocationSearchOrder | the location search order | |
Compliance | mandatory | This method must be implemented. | |
Method | getLocationsBySearch | ||
Description |
Gets the search results matching the given search query using the given search. | ||
Parameters | osid.mapping.LocationQuery | locationQuery | the location query |
osid.mapping.LocationSearch | locationSearch | the location search | |
Return | osid.mapping.LocationSearchResults | the returned search results | |
Errors | NULL_ARGUMENT | locationQuery or locationSearch is
null | |
OPERATION_FAILED | unable to complete request | ||
PERMISSION_DENIED | authorization failure | ||
UNSUPPORTED | locationQuery or locationSearch is not of
this service | ||
Compliance | mandatory | This method must be implemented. | |
Method | getLocationQueryFromInspector | ||
Description |
Gets a location query from an inspector. The inspector
is available from a | ||
Parameters | osid.mapping.LocationQueryInspector | locationQueryInspector | a location query inspector |
Return | osid.mapping.LocationQuery | the location query | |
Errors | NULL_ARGUMENT | locationQueryInspector is null | |
UNSUPPORTED | locationQueryInspector is not of this service | ||
Compliance | mandatory | This method must be implemented. |