OSID Logo
OSID Specifications
workflow rules package
Version 3.0.0
Interfaceosid.workflow.rules.StepEnablerQuery
Implementsosid.OsidEnablerQuery
Used Byosid.workflow.rules.StepEnablerQuerySession
osid.workflow.rules.StepEnablerSearchSession
osid.workflow.rules.StepEnablerSmartOfficeSession
Description

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

MethodmatchRuledStepId
Description

Matches enablers mapped to a step.

Parametersosid.id.IdstepIdthe step Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTstepId 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.

Returnbooleantrue 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
ErrorsUNIMPLEMENTEDsupportsRuledStepQuery() is false
ComplianceoptionalThis method must be implemented if supportsRuledStepQuery() is true .
MethodmatchAnyRuledStep
Description

Matches rules mapped to any step.

Parametersbooleanmatchtrue 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

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

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

Parametersosid.type.TypestepEnablerRecordTypea step enabler record type
Returnosid.workflow.rules.records.StepEnablerQueryRecordthe step enabler query record
ErrorsNULL_ARGUMENTstepEnablerRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(stepEnablerRecordType) is false
CompliancemandatoryThis method must be implemented.