OSID Logo
OSID Specifications
resourcing rules package
Version 3.1.0
Interfaceosid.resourcing.rules.CommissionEnablerQuery
Implementsosid.OsidEnablerQuery
Used Byosid.resourcing.rules.CommissionEnablerQuerySession
osid.resourcing.rules.CommissionEnablerSearchSession
osid.resourcing.rules.CommissionEnablerSmartFoundrySession
Description

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

MethodmatchRuledCommissionId
Description

Matches mapped to a commission.

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

Clears the commission Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsRuledCommissionQuery
Description

Tests if a CommissionQuery is available.

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

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

Returnosid.resourcing.CommissionQuery the commission query
ErrorsUNIMPLEMENTED supportsRuledCommissionQuery() is false
Complianceoptional This method must be implemented if supportsRuledCommissionQuery() is true.
MethodmatchAnyRuledCommission
Description

Matches mapped to any commission.

Parametersbooleanmatch true for mapped to any commission, false to match mapped to no commissions
Compliancemandatory This method must be implemented.
MethodclearRuledCommissionTerms
Description

Clears the commission 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.
MethodgetCommissionEnablerQueryRecord
Description

Gets the commission enabler query record corresponding to the given CommissionEnabler record Type. Multiple record retrievals produce a nested OR term.

Parametersosid.type.TypecommissionEnablerRecordType a commission enabler record type
Returnosid.resourcing.rules.records.CommissionEnablerQueryRecord the commission enabler query record
ErrorsNULL_ARGUMENT commissionEnablerRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(commissionEnablerRecordType) is false
Compliancemandatory This method must be implemented.