OSID Logo
OSID Specifications
offering rules package
Version 3.1.0
Interfaceosid.offering.rules.CanonicalUnitEnablerQuery
Implementsosid.OsidEnablerQuery
Used Byosid.offering.rules.CanonicalUnitEnablerQuerySession
osid.offering.rules.CanonicalUnitEnablerSearchSession
osid.offering.rules.CanonicalUnitEnablerSmartCatalogueSession
Description

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

MethodmatchRuledOfferingConstrainerId
Description

Matches enablers mapped to the offering constrainer.

Parametersosid.id.IdofferingConstrainerId the offering constrainer Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT offeringConstrainerId is null
Compliancemandatory This method must be implemented.
MethodclearRuledOfferingConstrainerIdTerms
Description

Clears the offering constrainer Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsRuledOfferingConstrainerQuery
Description

Tests if an OfferingConstrainerQuery is available.

Returnboolean true if an offering constrainer query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetRuledOfferingConstrainerQuery
Description

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

Returnosid.offering.rules.OfferingConstrainerQuery the offering constrainer query
ErrorsUNIMPLEMENTED supportsRuledOfferingConstrainerQuery() is false
Complianceoptional This method must be implemented if supportsRuledOfferingConstrainerQuery() is true.
MethodmatchAnyRuledOfferingConstrainer
Description

Matches enablers mapped to any offering constrainer.

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

Clears the offering constrainer 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.
MethodgetCanonicalUnitEnablerQueryRecord
Description

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

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