OSID Logo
OSID Specifications
workflow rules package
Version 3.0.0
Interfaceosid.workflow.rules.ProcessProcessorQuery
Implementsosid.OsidProcessorQuery
Used Byosid.workflow.rules.ProcessProcessorEnablerQuery
osid.workflow.rules.ProcessProcessorQuerySession
osid.workflow.rules.ProcessProcessorSearchSession
osid.workflow.rules.ProcessProcessorSmartOfficeSession
Description

This is the query for searching process processors. 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.IdprocessIdthe process Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTprocessId is null
CompliancemandatoryThis method must be implemented.
MethodclearRuledProcessIdTerms
Description

Clears the process Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsRuledProcessQuery
Description

Tests if a ProcessQuery is available.

Returnbooleantrue if a process query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetRuledProcessQuery
Description

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

Returnosid.workflow.ProcessQuerythe process query
ErrorsUNIMPLEMENTEDsupportsRuledProcessQuery() is false
ComplianceoptionalThis method must be implemented if supportsRuledProcessQuery() is true .
MethodmatchAnyRuledProcess
Description

Matches rules mapped to any process.

Parametersbooleanmatchtrue for rules mapped to any process, false to match rules mapped to no processs
CompliancemandatoryThis method must be implemented.
MethodclearRuledProcessTerms
Description

Clears the process query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchOfficeId
Description

Sets the office Id for this query to match processes 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.
MethodgetProcessProcessorQueryRecord
Description

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

Parametersosid.type.TypeprocessProcessorRecordTypea process processor record type
Returnosid.workflow.rules.records.ProcessProcessorQueryRecordthe process processor query record
ErrorsNULL_ARGUMENTprocessProcessorRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(processProcessorRecordType) is false
CompliancemandatoryThis method must be implemented.