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

This is the query for searching signal enablers. Each method match specifies an AND term while multiple invocations of the same method produce a nested OR.

MethodmatchRuledSignalId
Description

Matches enablers mapped to a signal.

Parametersosid.id.IdsignalIdthe signal Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT signalId is null
CompliancemandatoryThis method must be implemented.
MethodclearRuledSignalIdTerms
Description

Clears the signal Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsRuledSignalQuery
Description

Tests if a SignalQuery is available.

Returnboolean true if a signal query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetRuledSignalQuery
Description

Gets the query for a signal. Multiple retrievals produce a nested OR term.

Returnosid.mapping.path.SignalQuerythe signal query
ErrorsUNIMPLEMENTED supportsRuledSignalQuery() is false
ComplianceoptionalThis method must be implemented if supportsRuledSignalQuery() is true.
MethodmatchAnyRuledSignal
Description

Matches rules mapped to any signal.

Parametersbooleanmatch true for rules mapped to any signal, false to match rules mapped to no signals
CompliancemandatoryThis method must be implemented.
MethodclearRuledSignalTerms
Description

Clears the signal query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchMapId
Description

Matches enablers mapped to an map.

Parametersosid.id.IdmapIdthe map Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT mapId is null
CompliancemandatoryThis method must be implemented.
MethodclearMapIdTerms
Description

Clears the map Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsMapQuery
Description

Tests if an MapQuery is available.

Returnboolean true if an map query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetMapQuery
Description

Gets the query for an map. Multiple retrievals produce a nested OR term.

Returnosid.mapping.MapQuerythe map query
ErrorsUNIMPLEMENTED supportsMapQuery() is false
ComplianceoptionalThis method must be implemented if supportsMapQuery() is true.
MethodclearMapTerms
Description

Clears the map query terms.

CompliancemandatoryThis method must be implemented.
MethodgetSignalEnablerQueryRecord
Description

Gets the signal enabler query record corresponding to the given SignalEnabler record Type. Multiple record retrievals produce a nested OR term.

Parametersosid.type.TypesignalEnablerRecordTypea signal enabler record type
Returnosid.mapping.path.rules.records.SignalEnablerQueryRecordthe signal enabler query record
ErrorsNULL_ARGUMENT signalEnablerRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(signalEnablerRecordType) is false
CompliancemandatoryThis method must be implemented.