OSID Logo
OSID Specifications
resourcing rules package
Version 3.1.0
Interfaceosid.resourcing.rules.JobProcessorEnablerQuery
Implementsosid.OsidEnablerQuery
Used Byosid.resourcing.rules.JobProcessorEnablerQuerySession
osid.resourcing.rules.JobProcessorEnablerSearchSession
osid.resourcing.rules.JobProcessorEnablerSmartFoundrySession
Description

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

MethodmatchRuledJobProcessorId
Description

Matches enablers mapped to the job processor.

Parametersosid.id.IdjobProcessorId the job processor Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT jobProcessorId is null
Compliancemandatory This method must be implemented.
MethodclearRuledJobProcessorIdTerms
Description

Clears the job processor Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsRuledJobProcessorQuery
Description

Tests if an JobProcessorQuery is available.

Returnboolean true if a job processor query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetRuledJobProcessorQuery
Description

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

Returnosid.resourcing.rules.JobProcessorQuery the job processor query
ErrorsUNIMPLEMENTED supportsRuledJobProcessorQuery() is false
Complianceoptional This method must be implemented if supportsRuledJobProcessorQuery() is true.
MethodmatchAnyRuledJobProcessor
Description

Matches enablers mapped to any job processor.

Parametersbooleanmatch true for enablers mapped to any job processor, false to match enablers mapped to no job processors
Compliancemandatory This method must be implemented.
MethodclearRuledJobProcessorTerms
Description

Clears the job processor query terms.

Compliancemandatory This method must be implemented.
MethodmatchFoundryId
Description

Matches enablers mapped to the foundry.

Parametersosid.id.IdfoundryId the foundry Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT foundryId is null
Compliancemandatory This method must be implemented.
MethodclearFoundryIdTerms
Description

Clears the foundry Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsFoundryQuery
Description

Tests if a FoundryQuery is available.

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

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

Returnosid.resourcing.FoundryQuery the foundry query
ErrorsUNIMPLEMENTED supportsFoundryQuery() is false
Complianceoptional This method must be implemented if supportsFoundryQuery() is true.
MethodclearFoundryTerms
Description

Clears the foundry query terms.

Compliancemandatory This method must be implemented.
MethodgetJobProcessorEnablerQueryRecord
Description

Gets the job processor enabler query record corresponding to the given JobProcessorEnabler record Type. Multiple record retrievals produce a nested OR term.

Parametersosid.type.TypejobProcessorEnablerRecordType a job processor enabler record type
Returnosid.resourcing.rules.records.JobProcessorEnablerQueryRecord the job processor enabler query record
ErrorsNULL_ARGUMENT jobProcessorEnablerRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(jobProcessorEnablerRecordType) is false
Compliancemandatory This method must be implemented.