OSID Logo
OSID Specifications
mapping path package
Version 3.1.0
Interfaceosid.mapping.path.SignalSearchSession
Implementsosid.mapping.path.SignalQuerySession
Used Byosid.mapping.path.MappingPathManager
osid.mapping.path.MappingPathProxyManager
Description

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

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

This session defines views that offer differing behaviors for searching.

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

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

MethodgetSignalSearch
Description

Gets a signal search.

Returnosid.mapping.path.SignalSearch the signal search
Compliancemandatory This method must be implemented.
MethodgetSignalSearchOrder
Description

Gets a signal search order. The SignalSearchOrder is supplied to a SignalSearch to specify the ordering of results.

Returnosid.mapping.path.SignalSearchOrder the signal search order
Compliancemandatory This method must be implemented.
MethodgetSignalsBySearch
Description

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

Parametersosid.mapping.path.SignalQuerysignalQuery the signal query
osid.mapping.path.SignalSearchsignalSearch the signal search
Returnosid.mapping.path.SignalSearchResults the returned search results
ErrorsNULL_ARGUMENT signalQuery or signalSearch is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
UNSUPPORTED signalQuery or signalSearch is not of this service
Compliancemandatory This method must be implemented.
MethodgetSignalQueryFromInspector
Description

Gets a signal query from an inspector. The inspector is available from a SignalSearchResults.

Parametersosid.mapping.path.SignalQueryInspectorsignalQueryInspector a signal query inspector
Returnosid.mapping.path.SignalQuery the signal query
ErrorsNULL_ARGUMENT signalQueryInspector is null
UNSUPPORTED signalQueryInspector is not of this service
Compliancemandatory This method must be implemented.