OSID Logo
OSID Specifications
workflow rules package
Version 3.1.0
Interfaceosid.workflow.rules.ProcessEnablerQuery
Implementsosid.OsidEnablerQuery
Used Byosid.workflow.rules.ProcessEnablerQuerySession
osid.workflow.rules.ProcessEnablerSearchSession
osid.workflow.rules.ProcessEnablerSmartOfficeSession
Description

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

MethodmatchRuledProcessId
Description

Matches enablers mapped to a process.

Parametersosid.id.IdprocessId the process Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT processId is null
Compliancemandatory This method must be implemented.
MethodclearRuledProcessIdTerms
Description

Clears the process Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsRuledProcessQuery
Description

Tests if a ProcessQuery is available.

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

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

Returnosid.workflow.ProcessQuery the process query
ErrorsUNIMPLEMENTED supportsRuledProcessQuery() is false
Complianceoptional This method must be implemented if supportsRuledProcessQuery() is true.
MethodmatchAnyRuledProcess
Description

Matches rules mapped to any process.

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

Clears the process query terms.

Compliancemandatory This method must be implemented.
MethodmatchOfficeId
Description

Matches enablers mapped to an 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.
MethodgetProcessEnablerQueryRecord
Description

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

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