OSID Logo
OSID Specifications
workflow rules package
Version 3.1.0
Interfaceosid.workflow.rules.ProcessConstrainerEnablerQuery
Implementsosid.OsidEnablerQuery
Used Byosid.workflow.rules.ProcessConstrainerEnablerQuerySession
osid.workflow.rules.ProcessConstrainerEnablerSearchSession
osid.workflow.rules.ProcessConstrainerEnablerSmartOfficeSession
Description

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

MethodmatchRuledProcessConstrainerId
Description

Matches enablers mapped to a process constrainer.

Parametersosid.id.IdprocessConstrainerId the process constrainer Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT processConstrainerId is null
Compliancemandatory This method must be implemented.
MethodclearRuledProcessConstrainerIdTerms
Description

Clears the process constrainer Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsRuledProcessConstrainerQuery
Description

Tests if a ProcessConstrainerQuery is available.

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

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

Returnosid.workflow.rules.ProcessConstrainerQuery the process query
ErrorsUNIMPLEMENTED supportsRuledProcessConstrainerQuery() is false
Complianceoptional This method must be implemented if supportsRuledProcessConstrainerQuery() is true.
MethodmatchAnyRuledProcessConstrainer
Description

Matches rules mapped to any process constrainer.

Parametersbooleanmatch true for rules mapped to any process constrainer, false to match rules mapped to no processs constrainer
Compliancemandatory This method must be implemented.
MethodclearRuledProcessConstrainerTerms
Description

Clears the process constrainer query terms.

Compliancemandatory This method must be implemented.
MethodmatchOfficeId
Description

Sets the office Id for this query to match processes assigned to offices.

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

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

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