OSID Logo
OSID Specifications
process package
Version 3.0.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.IdprocessIdthe process Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTprocessId is null
CompliancemandatoryThis method must be implemented.
MethodclearProcessIdTerms
Description

Clears the process Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsProcessQuery
Description

Tests if a ProcessQuery is available.

Returnbooleantrue if a process query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetProcessQuery
Description

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

Returnosid.process.ProcessQuerythe process query
ErrorsUNIMPLEMENTEDsupportsProcessQuery() is false
ComplianceoptionalThis method must be implemented if supportsProcessQuery() is true .
MethodclearProcessTerms
Description

Clears the process terms.

CompliancemandatoryThis 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.TypestateRecordTypea state record type
Returnosid.process.records.StateQueryRecordthe state query record
ErrorsNULL_ARGUMENTstateRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(stateRecordType) is false
CompliancemandatoryThis method must be implemented.