OSID Logo
OSID Specifications
workflow rules package
Version 3.0.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.IdprocessConstrainerIdthe process constrainer Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTprocessConstrainerId is null
CompliancemandatoryThis method must be implemented.
MethodclearRuledProcessConstrainerIdTerms
Description

Clears the process constrainer Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsRuledProcessConstrainerQuery
Description

Tests if a ProcessConstrainerQuery is available.

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

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

Returnosid.workflow.rules.ProcessConstrainerQuerythe process query
ErrorsUNIMPLEMENTEDsupportsRuledProcessConstrainerQuery() is false
ComplianceoptionalThis method must be implemented if supportsRuledProcessConstrainerQuery() is true .
MethodmatchAnyRuledProcessConstrainer
Description

Matches rules mapped to any process constrainer.

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

Clears the process constrainer 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.
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.TypeprocessConstrainerEnablerRecordTypea process constrainer enabler record type
Returnosid.workflow.rules.records.ProcessConstrainerEnablerQueryRecordthe process constrainer enabler query record
ErrorsNULL_ARGUMENTprocessConstrainerEnablerRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(processConstrainerEnablerRecordType) is false
CompliancemandatoryThis method must be implemented.