OSID Logo
OSID Specifications
workflow rules package
Version 3.0.0
Release Candidate Preview
Interfaceosid.workflow.rules.StepProcessorQuery
Implementsosid.OsidProcessorQuery
Description

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

MethodmatchRuledStepId
Description

Matches rules mapped to the step.

Parametersosid.id.IdstepIdthe step Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT stepId is null
CompliancemandatoryThis method must be implemented.
MethodclearRuledStepIdTerms
Description

Clears the step Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsRuledStepQuery
Description

Tests if a StepQuery is available.

Returnboolean true if a step query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetRuledStepQuery
Description

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

Returnosid.workflow.StepQuerythe step query
ErrorsUNIMPLEMENTED supportsRuledStepQuery() is false
ComplianceoptionalThis method must be implemented if supportsRuledStepQuery() is true.
MethodmatchAnyRuledStep
Description

Matches any rule mapped to any step.

Parametersbooleanmatch true for rules mapped to any step, false to match rules mapped to no step
CompliancemandatoryThis method must be implemented.
MethodclearRuledStepTerms
Description

Clears the step query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchOfficeId
Description

Matches rules mapped to the office.

Parametersosid.id.IdofficeIdthe office Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT officeId 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.

Returnboolean true 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
ErrorsUNIMPLEMENTED supportsOfficeQuery() is false
ComplianceoptionalThis method must be implemented if supportsOfficeQuery() is true.
MethodclearOfficeTerms
Description

Clears the office query terms.

CompliancemandatoryThis method must be implemented.
MethodgetStepProcessorQueryRecord
Description

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

Parametersosid.type.TypestepProcessorRecordTypea step processor record type
Returnosid.workflow.rules.records.StepProcessorQueryRecordthe step processor query record
ErrorsNULL_ARGUMENT stepProcessorRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(stepProcessorRecordType) is false
CompliancemandatoryThis method must be implemented.