OSID Logo
OSID Specifications
mapping path rules package
Version 3.0.0
Release Candidate Preview
Interfaceosid.mapping.path.rules.SignalEnablerSearchSession
Implementsosid.mapping.path.rules.SignalEnablerQuerySession
Description

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

getSignalEnablersByQuery() is the basic search method and returns a list of SignalEnablers. A more advanced search may be performed with getSignalEnablersBySearch(). It accepts a SignalEnablerSearch in addition to the query for the purpose of specifying additional options affecting the entire search, such as mapping. getSignalEnablersBySearch() returns a SignalEnablerSearchResults that can be used to access the resulting SignalEnablerList or be used to perform a search within the result set through SignalEnablerSearch.

This session defines views that offer differing behaviors for searching.

  • federated map view: searches include signal enabler in map of which this map matchmaker is an ancestor in the map hierarchy
  • isolated map view: searches are restricted to signal enabler in this office

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

MethodgetSignalEnablerSearch
Description

Gets a signal enabler search.

Returnosid.mapping.path.rules.SignalEnablerSearchthe signal enabler search
CompliancemandatoryThis method must be implemented.
MethodgetSignalEnablerSearchOrder
Description

Gets a signal enabler search order. The SignalEnablerSearchOrder is supplied to a SignalEnablerSearch to specify the ordering of results.

Returnosid.mapping.path.rules.SignalEnablerSearchOrderthe signal enabler search order
CompliancemandatoryThis method must be implemented.
MethodgetSignalEnablersBySearch
Description

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

Parametersosid.mapping.path.rules.SignalEnablerQuerysignalEnablerQuerythe signal enabler query
osid.mapping.path.rules.SignalEnablerSearchsignalEnablerSearchthe signal enabler search
Returnosid.mapping.path.rules.SignalEnablerSearchResultsthe returned search results
ErrorsNULL_ARGUMENT signalEnablerQuery or signalEnablerSearch is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
UNSUPPORTED signalEnablerQuery or signalEnablerSearch is not of this service
CompliancemandatoryThis method must be implemented.
MethodgetSignalEnablerQueryFromInspector
Description

Gets a signal enabler query from an inspector. The inspector is available from a SignalEnablerSearchResults.

Parametersosid.mapping.path.rules.SignalEnablerQueryInspectorsignalEnablerQueryInspectora signal enabler query inspector
Returnosid.mapping.path.rules.SignalEnablerQuerythe signal enabler query
ErrorsNULL_ARGUMENT signalEnablerQueryInspector is null
UNSUPPORTED signalEnablerQueryInspector is not of this service
CompliancemandatoryThis method must be implemented.