OSID Logo
OSID Specifications
workflow package
Version 3.0.0
Interfaceosid.workflow.ProcessQuery
Implementsosid.OsidGovernatorQuery
Used Byosid.workflow.OfficeQuery
osid.workflow.ProcessQuerySession
osid.workflow.ProcessSearchSession
osid.workflow.ProcessSmartOfficeSession
osid.workflow.StepQuery
osid.workflow.WorkQuery
osid.workflow.event.WorkflowEventQuery
osid.workflow.rules.ProcessConstrainerQuery
osid.workflow.rules.ProcessEnablerQuery
osid.workflow.rules.ProcessProcessorQuery
Description

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

MethodmatchOwnerId
Description

Sets a owner Id for this query.

Parametersosid.id.IdownerIda owner Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTownerId is null
CompliancemandatoryThis method must be implemented.
MethodclearOwnerIdTerms
Description

Clears the owner Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsOwnerQuery
Description

Tests if a ResourceQuery is available.

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

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

Returnosid.resource.ResourceQuerythe owner query
ErrorsUNIMPLEMENTEDsupportsOwnerQuery() is false
ComplianceoptionalThis method must be implemented if supportsOwnerQuery() is true .
MethodmatchAnyOwner
Description

Matches objects with any owner.

Parametersbooleanmatchtrue to match objects with any owner, false to match objects with no owner
CompliancemandatoryThis method must be implemented.
MethodclearOwnerTerms
Description

Clears the owner query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchEnabled
Description

Matches enabled processes.

Parametersbooleanmatchtrue for a positive match, false for a negative match
CompliancemandatoryThis method must be implemented.
MethodclearEnabledTerms
Description

Clears the enabled query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchInitialStepId
Description

Sets the initial step Id for this query.

Parametersosid.id.IdstepIdthe step Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTstepId is null
CompliancemandatoryThis method must be implemented.
MethodclearInitialStepIdTerms
Description

Clears the initial stap Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsInitialStepQuery
Description

Tests if a StepQuery is available.

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

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

Returnosid.workflow.StepQuerythe step query
ErrorsUNIMPLEMENTEDsupportsInitialStepQuery() is false
ComplianceoptionalThis method must be implemented if supportsInitialStepQuery() is true .
MethodclearInitialStepTerms
Description

Clears the initial step terms.

CompliancemandatoryThis method must be implemented.
MethodmatchInitialStateId
Description

Sets the initial state Id for this query.

Parametersosid.id.IdstateIdthe state Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTstateId is null
CompliancemandatoryThis method must be implemented.
MethodclearInitialStateIdTerms
Description

Clears the initial state Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsInitialStateQuery
Description

Tests if a StateQuery is available.

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

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

Returnosid.process.StateQuerythe state query
ErrorsUNIMPLEMENTEDsupportsInitialStateQuery() is false
ComplianceoptionalThis method must be implemented if supportsInitialStateQuery() is true .
MethodclearInitialStateTerms
Description

Clears the state terms.

CompliancemandatoryThis method must be implemented.
MethodmatchStepId
Description

Sets the step Id for this query.

Parametersosid.id.IdstepIdthe step Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTstepId is null
CompliancemandatoryThis method must be implemented.
MethodclearStepIdTerms
Description

Clears the step Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsStepQuery
Description

Tests if a StepQuery is available.

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

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

Returnosid.workflow.StepQuerythe step query
ErrorsUNIMPLEMENTEDsupportsStepyQuery() is false
ComplianceoptionalThis method must be implemented if supportsStepQuery() is true .
MethodmatchAnyStep
Description

Matches processes that have any step.

Parametersbooleanmatchtrue to match processes with any step, false to match processes with no step
CompliancemandatoryThis method must be implemented.
MethodclearStepTerms
Description

Clears the step query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchWorkId
Description

Sets the work Id for this query.

Parametersosid.id.IdworkIdthe work Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTworkId is null
CompliancemandatoryThis method must be implemented.
MethodclearWorkIdTerms
Description

Clears the work Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsWorkQuery
Description

Tests if a WorkQuery is available.

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

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

Returnosid.workflow.WorkQuerythe work query
ErrorsUNIMPLEMENTEDsupportsWorkQuery() is false
ComplianceoptionalThis method must be implemented if supportsWorkQuery() is true .
MethodmatchAnyWork
Description

Matches processs that have any work.

Parametersbooleanmatchtrue to match processes with any work, false to match processes with no work
CompliancemandatoryThis method must be implemented.
MethodclearWorkTerms
Description

Clears the work query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchOfficeId
Description

Sets the office Id for this query to match process assigned to offices.

Parametersosid.id.IdofficeIdthe office Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTofficeId is null
CompliancemandatoryThis method must be implemented.
MethodclearOfficeIdTerms
Description

Clears the office Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsOfficeQuery
Description

Tests if an OfficeQuery is available.

Returnbooleantrue if an office query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetOfficeQuery
Description

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

Returnosid.workflow.OfficeQuerythe office query
ErrorsUNIMPLEMENTEDsupportsOfficeQuery() is false
ComplianceoptionalThis method must be implemented if supportsOfficeQuery() is true .
MethodclearOfficeTerms
Description

Clears the office query terms.

CompliancemandatoryThis method must be implemented.
MethodgetProcessQueryRecord
Description

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

Parametersosid.type.TypeprocessRecordTypea process record type
Returnosid.workflow.records.ProcessQueryRecordthe process query record
ErrorsNULL_ARGUMENTprocessRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(processRecordType) is false
CompliancemandatoryThis method must be implemented.