OSID Logo
OSID Specifications
workflow rules package
Version 3.1.0
Interfaceosid.workflow.rules.StepConstrainerQuery
Implementsosid.OsidConstrainerQuery
Used Byosid.workflow.rules.StepConstrainerEnablerQuery
osid.workflow.rules.StepConstrainerQuerySession
osid.workflow.rules.StepConstrainerSearchSession
osid.workflow.rules.StepConstrainerSmartOfficeSession
Description

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

MethodmatchRuledStepId
Description

Matches mapped to a step.

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.
MethodclearRuledStepIdTerms
Description

Clears the step Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsRuledStepQuery
Description

Tests if a StepQuery is available.

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

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

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

Matches constrainers mapped to any step.

Parametersbooleanmatch true for constrainers mapped to any step, false to match constrainers mapped to no steps
Compliancemandatory This method must be implemented.
MethodclearRuledStepTerms
Description

Clears the step query terms.

Compliancemandatory This method must be implemented.
MethodmatchOfficeId
Description

Matches constrainers mapped to the office.

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.
MethodgetStepConstrainerQueryRecord
Description

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

Parametersosid.type.TypestepConstrainerRecordType a step constrainer record type
Returnosid.workflow.rules.records.StepConstrainerQueryRecord the step constrainer query record
ErrorsNULL_ARGUMENT stepConstrainerRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(stepConstrainerRecordType) is false
Compliancemandatory This method must be implemented.