OSID Logo
OSID Specifications
control package
Version 3.1.0
Interfaceosid.control.InputQuery
Implementsosid.OsidRuleQuery
Used Byosid.control.InputQuerySession
osid.control.InputSearchSession
osid.control.InputSmartSystemSession
osid.control.SystemQuery
osid.control.rules.InputEnablerQuery
Description

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

MethodmatchDeviceId
Description

Sets the device Id for this query.

Parametersosid.id.IddeviceId the device Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT deviceId is null
Compliancemandatory This method must be implemented.
MethodclearDeviceIdTerms
Description

Clears the device Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsDeviceQuery
Description

Tests if a DeviceQuery is available.

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

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

Returnosid.control.DeviceQuery the device query
ErrorsUNIMPLEMENTED supportsDeviceQuery() is false
Complianceoptional This method must be implemented if supportsDeviceQuery() is true.
MethodclearDeviceTerms
Description

Clears the device query terms.

Compliancemandatory This method must be implemented.
MethodmatchControllerId
Description

Sets the controller Id for this query.

Parametersosid.id.IdcontrollerId the controller Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT controllerId is null
Compliancemandatory This method must be implemented.
MethodclearControllerIdTerms
Description

Clears the controller Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsControllerQuery
Description

Tests if a ControllerQuery is available.

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

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

Returnosid.control.ControllerQuery the controller query
ErrorsUNIMPLEMENTED supportsControllerQuery() is false
Complianceoptional This method must be implemented if supportsControllerQuery() is true.
MethodclearControllerTerms
Description

Clears the controller query terms.

Compliancemandatory This method must be implemented.
MethodmatchSystemId
Description

Sets the system Id for this query to match inputs assigned to systems.

Parametersosid.id.IdsystemId the system Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT sustemId 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.
MethodgetInputQueryRecord
Description

Gets the input query record corresponding to the given Input record Type.Multiple record retrievals produce a nested OR term.

Parametersosid.type.TypeinputRecordType an input record type
Returnosid.control.records.InputQueryRecord the input query record
ErrorsNULL_ARGUMENT inputRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(inputRecordType) is false
Compliancemandatory This method must be implemented.