OSID Logo
OSID Specifications
resourcing rules package
Version 3.1.0
Interfaceosid.resourcing.rules.JobConstrainerEnablerQuery
Implementsosid.OsidEnablerQuery
Used Byosid.resourcing.rules.JobConstrainerEnablerQuerySession
osid.resourcing.rules.JobConstrainerEnablerSearchSession
osid.resourcing.rules.JobConstrainerEnablerSmartFoundrySession
Description

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

MethodmatchRuledJobConstrainerId
Description

Matches enablers mapped to the job constrainer.

Parametersosid.id.IdjobConstrainerId the job constrainer Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT jobConstrainerId is null
Compliancemandatory This method must be implemented.
MethodclearRuledJobConstrainerIdTerms
Description

Clears the job constrainer Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsRuledJobConstrainerQuery
Description

Tests if an JobConstrainerQuery is available.

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

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

Returnosid.resourcing.rules.JobConstrainerQuery the job constrainer query
ErrorsUNIMPLEMENTED supportsRuledJobConstrainerQuery() is false
Complianceoptional This method must be implemented if supportsRuledJobConstrainerQuery() is true.
MethodmatchAnyRuledJobConstrainer
Description

Matches enablers mapped to any job constrainer.

Parametersbooleanmatch true for enablers mapped to any job constrainer, false to match enablers mapped to no job constrainers
Compliancemandatory This method must be implemented.
MethodclearRuledJobConstrainerTerms
Description

Clears the job constrainer 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.
MethodgetJobConstrainerEnablerQueryRecord
Description

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

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