OSID Logo
OSID Specifications
resourcing rules package
Version 3.1.0
Interfaceosid.resourcing.rules.JobProcessorQuery
Implementsosid.OsidProcessorQuery
Used Byosid.resourcing.rules.JobProcessorEnablerQuery
osid.resourcing.rules.JobProcessorQuerySession
osid.resourcing.rules.JobProcessorSearchSession
osid.resourcing.rules.JobProcessorSmartFoundrySession
Description

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

MethodmatchRuledJobId
Description

Matches mapped to the job.

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

Clears the job Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsRuledJobQuery
Description

Tests if an JobQuery is available.

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

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

Returnosid.resourcing.JobQuery the job query
ErrorsUNIMPLEMENTED supportsRuledJobQuery() is false
Complianceoptional This method must be implemented if supportsRuledJobQuery() is true.
MethodmatchAnyRuledJob
Description

Matches mapped to any job.

Parametersbooleanmatch true for mapped to any job, false to match mapped to no job
Compliancemandatory This method must be implemented.
MethodclearRuledJobTerms
Description

Clears the job query terms.

Compliancemandatory This method must be implemented.
MethodmatchFoundryId
Description

Matches 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.
MethodgetJobProcessorQueryRecord
Description

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

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