OSID Logo
OSID Specifications
workflow package
Version 3.1.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.IdownerId a owner Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT ownerId is null
Compliancemandatory This method must be implemented.
MethodclearOwnerIdTerms
Description

Clears the owner Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsOwnerQuery
Description

Tests if a ResourceQuery is available.

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

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

Returnosid.resource.ResourceQuery the owner query
ErrorsUNIMPLEMENTED supportsOwnerQuery() is false
Complianceoptional This method must be implemented if supportsOwnerQuery() is true.
MethodmatchAnyOwner
Description

Matches objects with any owner.

Parametersbooleanmatch true to match objects with any owner, false to match objects with no owner
Compliancemandatory This method must be implemented.
MethodclearOwnerTerms
Description

Clears the owner query terms.

Compliancemandatory This method must be implemented.
MethodmatchEnabled
Description

Matches enabled processes.

Parametersbooleanmatch true for a positive match, false for a negative match
Compliancemandatory This method must be implemented.
MethodclearEnabledTerms
Description

Clears the enabled query terms.

Compliancemandatory This method must be implemented.
MethodmatchInitialStepId
Description

Sets the initial step Id for this query.

Parametersosid.id.IdstepId the step Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT stepId is null
Compliancemandatory This method must be implemented.
MethodclearInitialStepIdTerms
Description

Clears the initial stap Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsInitialStepQuery
Description

Tests if a StepQuery is available.

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

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

Returnosid.workflow.StepQuery the step query
ErrorsUNIMPLEMENTED supportsInitialStepQuery() is false
Complianceoptional This method must be implemented if supportsInitialStepQuery() is true.
MethodclearInitialStepTerms
Description

Clears the initial step terms.

Compliancemandatory This method must be implemented.
MethodmatchInitialStateId
Description

Sets the initial state Id for this query.

Parametersosid.id.IdstateId the state Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT stateId is null
Compliancemandatory This method must be implemented.
MethodclearInitialStateIdTerms
Description

Clears the initial state Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsInitialStateQuery
Description

Tests if a StateQuery is available.

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

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

Returnosid.process.StateQuery the state query
ErrorsUNIMPLEMENTED supportsInitialStateQuery() is false
Complianceoptional This method must be implemented if supportsInitialStateQuery() is true.
MethodclearInitialStateTerms
Description

Clears the state terms.

Compliancemandatory This method must be implemented.
MethodmatchStepId
Description

Sets the step Id for this query.

Parametersosid.id.IdstepId the step Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT stepId is null
Compliancemandatory This method must be implemented.
MethodclearStepIdTerms
Description

Clears the step Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsStepQuery
Description

Tests if a StepQuery is available.

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

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

Returnosid.workflow.StepQuery the step query
ErrorsUNIMPLEMENTED supportsStepyQuery() is false
Complianceoptional This method must be implemented if supportsStepQuery() is true.
MethodmatchAnyStep
Description

Matches processes that have any step.

Parametersbooleanmatch true to match processes with any step, false to match processes with no step
Compliancemandatory This method must be implemented.
MethodclearStepTerms
Description

Clears the step query terms.

Compliancemandatory This method must be implemented.
MethodmatchWorkId
Description

Sets the work Id for this query.

Parametersosid.id.IdworkId the work Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT workId is null
Compliancemandatory This method must be implemented.
MethodclearWorkIdTerms
Description

Clears the work Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsWorkQuery
Description

Tests if a WorkQuery is available.

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

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

Returnosid.workflow.WorkQuery the work query
ErrorsUNIMPLEMENTED supportsWorkQuery() is false
Complianceoptional This method must be implemented if supportsWorkQuery() is true.
MethodmatchAnyWork
Description

Matches processs that have any work.

Parametersbooleanmatch true to match processes with any work, false to match processes with no work
Compliancemandatory This method must be implemented.
MethodclearWorkTerms
Description

Clears the work query terms.

Compliancemandatory This method must be implemented.
MethodmatchOfficeId
Description

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

Parametersosid.id.IdofficeId the office Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT officeId is null
Compliancemandatory This method must be implemented.
MethodclearOfficeIdTerms
Description

Clears the office Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsOfficeQuery
Description

Tests if an OfficeQuery is available.

Returnboolean true if an office query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetOfficeQuery
Description

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

Returnosid.workflow.OfficeQuery the office query
ErrorsUNIMPLEMENTED supportsOfficeQuery() is false
Complianceoptional This method must be implemented if supportsOfficeQuery() is true.
MethodclearOfficeTerms
Description

Clears the office query terms.

Compliancemandatory This 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.TypeprocessRecordType a process record type
Returnosid.workflow.records.ProcessQueryRecord the process query record
ErrorsNULL_ARGUMENT processRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(processRecordType) is false
Compliancemandatory This method must be implemented.