OSID Logo
OSID Specifications
mapping path package
Version 3.0.0
Release Candidate Preview
Interfaceosid.mapping.path.SpeedZoneSearchSession
Implementsosid.mapping.path.SpeedZoneQuerySession
Description

This session provides methods for searching among SpeedZone objects. The search query is constructed using the SpeedZoneQuery.

getSpeedZonesByQuery() is the basic search method and returns a list of SpeedZones. A more advanced search may be performed with getSpeedZonesBySearch(). It accepts a SpeedZoneSearch in addition to the query for the purpose of specifying additional options affecting the entire search, such as ordering. getSpeedZonesBySearch() returns a SpeedZoneSearchResults that can be used to access the resulting SpeedZoneList or be used to perform a search within the result set through SpeedZoneSearch.

This session defines views that offer differing behaviors for searching.

  • federated map view: searches include speed zones in maps of which this map is an ancestor in the map hierarchy
  • isolated map view: searches are restricted to speed zones in this map

SpeedZones may have a query record indicated by their respective record types. The query record is accessed via the SpeedZoneQuery.

MethodgetSpeedZoneSearch
Description

Gets a speed zone search.

Returnosid.mapping.path.SpeedZoneSearchthe speed zone search
CompliancemandatoryThis method must be implemented.
MethodgetSpeedZoneSearchOrder
Description

Gets a speed zone search order. The SpeedZoneSearchOrder is supplied to a SpeedZoneSearch to specify the ordering of results.

Returnosid.mapping.path.SpeedZoneSearchOrderthe speed zone search order
CompliancemandatoryThis method must be implemented.
MethodgetSpeedZonesBySearch
Description

Gets the search results matching the given search query using the given search.

Parametersosid.mapping.path.SpeedZoneQueryspeedZoneQuerythe speed zone query
osid.mapping.path.SpeedZoneSearchspeedZoneSearchthe speed zone search
Returnosid.mapping.path.SpeedZoneSearchResultsthe returned search results
ErrorsNULL_ARGUMENT speedZoneQuery or speed zoneSearch is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
UNSUPPORTED speedZoneQuery or speed zoneSearch is not of this service
CompliancemandatoryThis method must be implemented.
MethodgetSpeedZoneQueryFromInspector
Description

Gets a speed zone query from an inspector. The inspector is available from a SpeedZoneSearchResults.

Parametersosid.mapping.path.SpeedZoneQueryInspectorspeedZoneQueryInspectora speed zone query inspector
Returnosid.mapping.path.SpeedZoneQuerythe speed zone query
ErrorsNULL_ARGUMENT speedZoneQueryInspector is null
UNSUPPORTED speedZoneQueryInspector is not of this service
CompliancemandatoryThis method must be implemented.