OSID Logo
OSID Specifications
process package
Version 3.1.0
Interfaceosid.process.StateQuery
Implementsosid.OsidObjectQuery
Used Byosid.OsidObjectQuery
osid.OsidRelationshipQuery
osid.OsidRequestQuery
osid.control.ControllerQuery
osid.control.SettingQuery
osid.control.TriggerQuery
osid.mapping.path.SignalQuery
osid.process.ProcessQuery
osid.process.StateQuerySession
osid.process.StateSearchSession
show 2 more…
osid.workflow.ProcessQuery
osid.workflow.StepQuery
Description

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

MethodmatchProcessId
Description

Sets the process Id for this query.

Parametersosid.id.IdprocessId the process Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT processId is null
Compliancemandatory This method must be implemented.
MethodclearProcessIdTerms
Description

Clears the process Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsProcessQuery
Description

Tests if a ProcessQuery is available.

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

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

Returnosid.process.ProcessQuery the process query
ErrorsUNIMPLEMENTED supportsProcessQuery() is false
Complianceoptional This method must be implemented if supportsProcessQuery() is true.
MethodclearProcessTerms
Description

Clears the process terms.

Compliancemandatory This method must be implemented.
MethodgetStateQueryRecord
Description

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

Parametersosid.type.TypestateRecordType a state record type
Returnosid.process.records.StateQueryRecord the state query record
ErrorsNULL_ARGUMENT stateRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(stateRecordType) is false
Compliancemandatory This method must be implemented.