OSID Logo
OSID Specifications
workflow package
Version 3.0.0
Interfaceosid.workflow.StepQuery
Implementsosid.OsidRuleQuery
osid.OsidSubjugateableQuery
Used Byosid.workflow.OfficeQuery
osid.workflow.ProcessQuery
osid.workflow.StepQuerySession
osid.workflow.StepSearchSession
osid.workflow.StepSmartOfficeSession
osid.workflow.WorkQuery
osid.workflow.event.WorkflowEventQuery
osid.workflow.rules.StepConstrainerQuery
osid.workflow.rules.StepEnablerQuery
osid.workflow.rules.StepEnablerSmartOfficeSession
show 1 more…
osid.workflow.rules.StepProcessorQuery
Description

This is the query for searching steps. Each method match 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 query 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.workflow.ProcessQuerythe process query
ErrorsUNIMPLEMENTEDsupportsProcessQuery() is false
ComplianceoptionalThis method must be implemented if supportsProcessQuery() is true .
MethodclearProcessTerms
Description

Clears the process query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchResourceId
Description

Sets the resource Id for this query.

Parametersosid.id.IdresourceIdthe resource Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTresourceId is null
CompliancemandatoryThis method must be implemented.
MethodclearResourceIdTerms
Description

Clears the resource Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsResourceQuery
Description

Tests if a ResourceQuery is available.

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

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

Returnosid.resource.ResourceQuerythe resource query
ErrorsUNIMPLEMENTEDsupportsResourceQuery() is false
ComplianceoptionalThis method must be implemented if supportsResourceQuery() is true .
MethodmatchAnyResource
Description

Matches steps that have any resources.

Parametersbooleanmatchtrue to match steps with any resources, false to match steps with no resources
CompliancemandatoryThis method must be implemented.
MethodclearResourceTerms
Description

Clears the resource query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchInitial
Description

Matches initial steps.

Parametersbooleanmatchtrue to match initial steps, false otherwise
CompliancemandatoryThis method must be implemented.
MethodclearInitialTerms
Description

Clears the initial step terms.

CompliancemandatoryThis method must be implemented.
MethodmatchTerminal
Description

Matches terminal steps.

Parametersbooleanmatchtrue to match terminal steps, false otherwise
CompliancemandatoryThis method must be implemented.
MethodclearTerminalTerms
Description

Clears the terminal step terms.

CompliancemandatoryThis method must be implemented.
MethodmatchInputStateId
Description

Sets the input 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.
MethodclearInputStateIdTerms
Description

Clears the input state Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsInputStateQuery
Description

Tests if a StateQuery is available.

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

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

Returnosid.process.StateQuerythe state query
ErrorsUNIMPLEMENTEDsupportsInputStateQuery() is false
ComplianceoptionalThis method must be implemented if supportsInputtStateQuery() is true .
MethodmatchAnyInputState
Description

Matches steps that have any input states.

Parametersbooleanmatchtrue to match steps with any input states, false to match steps with no input states
CompliancemandatoryThis method must be implemented.
MethodclearInputStateTerms
Description

Clears the input state terms.

CompliancemandatoryThis method must be implemented.
MethodmatchNextStateId
Description

Sets the next 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.
MethodclearNextStateIdTerms
Description

Clears the next state Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsNextStateQuery
Description

Tests if a StateQuery is available.

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

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

Returnosid.process.StateQuerythe state query
ErrorsUNIMPLEMENTEDsupportsNextStateQuery() is false
ComplianceoptionalThis method must be implemented if supportsNextStateQuery() is true .
MethodmatchAnyNextState
Description

Matches steps that have any next state,

Parametersbooleanmatchtrue to match steps with any next state, false to match steps with no next state
CompliancemandatoryThis method must be implemented.
MethodclearNextStateTerms
Description

Clears the state 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 steps that have any work.

Parametersbooleanmatchtrue to match steps with any work, false to match steps 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 steps 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.
MethodgetStepQueryRecord
Description

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

Parametersosid.type.TypestepRecordTypea step record type
Returnosid.workflow.records.StepQueryRecordthe step query record
ErrorsNULL_ARGUMENTstepRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(stepRecordType) is false
CompliancemandatoryThis method must be implemented.