OSID Logo
OSID Specifications
offering rules package
Version 3.1.0
Interfaceosid.offering.rules.CanonicalUnitProcessorEnablerQuery
Implementsosid.OsidEnablerQuery
Used Byosid.offering.rules.CanonicalUnitProcessorEnablerQuerySession
osid.offering.rules.CanonicalUnitProcessorEnablerSearchSession
osid.offering.rules.CanonicalUnitProcessorEnablerSmartCatalogueSession
Description

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

MethodmatchRuledCanonicalUnitProcessorId
Description

Matches enablers mapped to the canonical unit processor.

Parametersosid.id.IdcanonicalUnitProcessorId the canonical unit Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT canonicalUnitProcessorId is null
Compliancemandatory This method must be implemented.
MethodclearRuledCanonicalUnitProcessorIdTerms
Description

Clears the canonical unit processor Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsRuledCanonicalUnitProcessorQuery
Description

Tests if a CanonicalUnitProcessorQuery is available.

Returnboolean true if a canonical unit processor query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetRuledCanonicalUnitProcessorQuery
Description

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

Returnosid.offering.rules.CanonicalUnitProcessorQuery the canonical unit processor query
ErrorsUNIMPLEMENTED supportsRuledCanonicalUnitProcessorQuery() is false
Complianceoptional This method must be implemented if supportsRuledCanonicalUnitProcessorQuery() is true.
MethodmatchAnyRuledCanonicalUnitProcessor
Description

Matches enablers mapped to any canonical unit processor.

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

Clears the canonical unit processor query terms.

Compliancemandatory This method must be implemented.
MethodmatchCatalogueId
Description

Matches enablers mapped to the catalogue.

Parametersosid.id.IdcatalogueId the catalogue Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT catalogueId is null
Compliancemandatory This method must be implemented.
MethodclearCatalogueIdTerms
Description

Clears the catalogue Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsCatalogueQuery
Description

Tests if a CatalogueQuery is available.

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

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

Returnosid.offering.CatalogueQuery the catalogue query
ErrorsUNIMPLEMENTED supportsCatalogueQuery() is false
Complianceoptional This method must be implemented if supportsCatalogueQuery() is true.
MethodclearCatalogueTerms
Description

Clears the catalogue query terms.

Compliancemandatory This method must be implemented.
MethodgetCanonicalUnitProcessorEnablerQueryRecord
Description

Gets the canonical unit processor enabler query record corresponding to the given CanonicalUnitProcessorEnabler record Type. Multiple record retrievals produce a nested OR term.

Parametersosid.type.TypecanonicalUnitProcessorEnablerRecordType a canonical unit processor enabler record type
Returnosid.offering.rules.records.CanonicalUnitProcessorEnablerQueryRecord the canonical unit processor enabler query record
ErrorsNULL_ARGUMENT canonicalUnitProcessorEnablerRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(canonicalUnitProcessorEnablerRecordType) is false
Compliancemandatory This method must be implemented.