OSID Logo
OSID Specifications
workflow rules package
Version 3.1.0
Interfaceosid.workflow.rules.StepConstrainerEnablerQuery
Implementsosid.OsidEnablerQuery
Used Byosid.workflow.rules.StepConstrainerEnablerQuerySession
osid.workflow.rules.StepConstrainerEnablerSearchSession
osid.workflow.rules.StepConstrainerEnablerSmartOfficeSession
Description

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

MethodmatchRuledStepConstrainerId
Description

Matches enablers mapped to the step constrainer.

Parametersosid.id.IdstepConstrainerId the step constrainer Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT stepConstrainerId is null
Compliancemandatory This method must be implemented.
MethodclearRuledStepConstrainerIdTerms
Description

Clears the step constrainer Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsRuledStepConstrainerQuery
Description

Tests if a StepConstrainerQuery is available.

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

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

Returnosid.workflow.rules.StepConstrainerQuery the step constrainer query
ErrorsUNIMPLEMENTED supportsRuledStepConstrainerQuery() is false
Complianceoptional This method must be implemented if supportsRuledStepConstrainerQuery() is true.
MethodmatchAnyRuledStepConstrainer
Description

Matches enablers mapped to any step constrainer.

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

Clears the step constrainer query terms.

Compliancemandatory This method must be implemented.
MethodmatchOfficeId
Description

Matches enablers 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.
MethodgetStepConstrainerEnablerQueryRecord
Description

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

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