OSID Logo
OSID Specifications
control rules package
Version 3.1.0
Interfaceosid.control.rules.TriggerEnablerQuery
Implementsosid.OsidEnablerQuery
Used Byosid.control.rules.TriggerEnablerQuerySession
osid.control.rules.TriggerEnablerSearchSession
osid.control.rules.TriggerEnablerSmartSystemSession
Description

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

MethodmatchRuledTriggerId
Description

Matches enablers mapped to the trigger.

Parametersosid.id.IdtriggerId the trigger Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT triggerId is null
Compliancemandatory This method must be implemented.
MethodclearRuledTriggerIdTerms
Description

Clears the trigger Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsRuledTriggerQuery
Description

Tests if a TriggerQuery is available.

Returnboolean true if a trigger query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetRuledTriggerQuery
Description

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

Returnosid.control.TriggerQuery the trigger query
ErrorsUNIMPLEMENTED supportsRuledTriggerQuery() is false
Complianceoptional This method must be implemented if supportsRuledTriggerQuery() is true.
MethodmatchAnyRuledTrigger
Description

Matches enablers mapped to any trigger.

Parametersbooleanmatch true for enablers mapped to any trigger, false to match enablers mapped to no triggers
Compliancemandatory This method must be implemented.
MethodclearRuledTriggerTerms
Description

Clears the trigger query terms.

Compliancemandatory This method must be implemented.
MethodmatchSystemId
Description

Matches enablers mapped to the system.

Parametersosid.id.IdsystemId the system Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT systemId is null
Compliancemandatory This method must be implemented.
MethodclearSystemIdTerms
Description

Clears the system Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsSystemQuery
Description

Tests if a SystemQuery is available.

Returnboolean true if a system query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetSystemQuery
Description

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

Returnosid.control.SystemQuery the system query
ErrorsUNIMPLEMENTED supportsSystemQuery() is false
Complianceoptional This method must be implemented if supportsSystemQuery() is true.
MethodclearSystemTerms
Description

Clears the system query terms.

Compliancemandatory This method must be implemented.
MethodgetTriggerEnablerQueryRecord
Description

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

Parametersosid.type.TypetriggerEnablerRecordType a trigger enabler record type
Returnosid.control.rules.records.TriggerEnablerQueryRecord the trigger enabler query record
ErrorsNULL_ARGUMENT triggerEnablerRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(triggerEnablerRecordType) is false
Compliancemandatory This method must be implemented.