OSID Logo
OSID Specifications
offering package
Version 3.0.0
Interfaceosid.offering.CatalogueQuery
Implementsosid.OsidCatalogQuery
Used Byosid.offering.CanonicalUnitQuery
osid.offering.CatalogueQuery
osid.offering.CatalogueQuerySession
osid.offering.CatalogueSearchSession
osid.offering.OfferingQuery
osid.offering.ParticipantQuery
osid.offering.ResultQuery
osid.offering.rules.CanonicalUnitEnablerQuery
osid.offering.rules.CanonicalUnitProcessorEnablerQuery
osid.offering.rules.CanonicalUnitProcessorQuery
show 2 more…
osid.offering.rules.OfferingConstrainerEnablerQuery
osid.offering.rules.OfferingConstrainerQuery
Description

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

MethodmatchCanonicalUnitId
Description

Sets the canonical unit Id for this query to match canonical units assigned to catalogues.

Parametersosid.id.IdcanonicalUnitIda canonical unit Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTcanonicalUnitId is null
CompliancemandatoryThis method must be implemented.
MethodclearCanonicalUnitIdTerms
Description

Clears all canonical unit Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsCanonicalUnitQuery
Description

Tests if a canonical unit query is available.

Returnbooleantrue if a canonical unit query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetCanonicalUnitQuery
Description

Gets the query for a catalogue.

Returnosid.offering.CanonicalUnitQuerythe canonical unit query
ErrorsUNIMPLEMENTEDsupportsCanonicalUnitQuery() is false
ComplianceoptionalThis method must be implemented if supportsCanonicalUnitQuery() is true .
MethodmatchAnyCanonicalUnit
Description

Matches catalogues with any canonical unit.

Parametersbooleanmatchtrue to match catalogues with any canonical unit, false to match catalogues with no canonical units
CompliancemandatoryThis method must be implemented.
MethodclearCanonicalUnitTerms
Description

Clears all canonical unit terms.

CompliancemandatoryThis method must be implemented.
MethodmatchOfferingId
Description

Sets the offering Id for this query to match offerings assigned to catalogues.

Parametersosid.id.IdofferingIdan offering Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTofferingId is null
CompliancemandatoryThis method must be implemented.
MethodclearOfferingIdTerms
Description

Clears all offering Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsOfferingQuery
Description

Tests if an offering query is available.

Returnbooleantrue if an offering query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetOfferingQuery
Description

Gets the query for an offering.

Returnosid.offering.OfferingQuerythe offering query
ErrorsUNIMPLEMENTEDsupportsOfferingQuery() is false
ComplianceoptionalThis method must be implemented if supportsOfferingQuery() is true .
MethodmatchAnyOffering
Description

Matches catalogues with any offering.

Parametersbooleanmatchtrue to match catalogues with any offering, false to match catalogues with no offerings
CompliancemandatoryThis method must be implemented.
MethodclearOfferingTerms
Description

Clears all offering terms.

CompliancemandatoryThis method must be implemented.
MethodmatchParticipantId
Description

Sets the participant Id for this query to match participants assigned to catalogues.

Parametersosid.id.IdparticipantIda participant Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTparticipantId is null
CompliancemandatoryThis method must be implemented.
MethodclearParticipantIdTerms
Description

Clears all participant Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsParticipantQuery
Description

Tests if a participant query is available.

Returnbooleantrue if a participant query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetParticipantQuery
Description

Gets the query for a participant.

Returnosid.offering.ParticipantQuerythe participant query
ErrorsUNIMPLEMENTEDsupportsParticipantQuery() is false
ComplianceoptionalThis method must be implemented if supportsParticipantQuery() is true .
MethodmatchAnyParticipant
Description

Matches catalogues with any participant.

Parametersbooleanmatchtrue to match catalogues with any participant, false to match catalogues with no participants
CompliancemandatoryThis method must be implemented.
MethodclearParticipantTerms
Description

Clears all participant terms.

CompliancemandatoryThis method must be implemented.
MethodmatchResultId
Description

Sets the result Id for this query to match results.

Parametersosid.id.IdresultIda result Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTresultId is null
CompliancemandatoryThis method must be implemented.
MethodclearResultIdTerms
Description

Clears all result Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsResultQuery
Description

Tests if a result query is available.

Returnbooleantrue if a result query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetResultQuery
Description

Gets the query for a result.

Returnosid.offering.ResultQuerythe result query
ErrorsUNIMPLEMENTEDsupportsResultQuery() is false
ComplianceoptionalThis method must be implemented if supportsResultQuery() is true .
MethodmatchAnyResult
Description

Matches catalogues with any result.

Parametersbooleanmatchtrue to match catalogues with any result, false to match catalogues with no results
CompliancemandatoryThis method must be implemented.
MethodclearResultTerms
Description

Clears all result terms.

CompliancemandatoryThis method must be implemented.
MethodmatchAncestorCatalogueId
Description

Sets the catalogue Id for this query to match catalogues that have the specified catalogue as an ancestor.

Parametersosid.id.IdcatalogueIda catalogue Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTcatalogueId is null
CompliancemandatoryThis method must be implemented.
MethodclearAncestorCatalogueIdTerms
Description

Clears all ancestor catalogue Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsAncestorCatalogueQuery
Description

Tests if a CatalogueQuery is available.

Returnbooleantrue if a catalogue query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetAncestorCatalogueQuery
Description

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

Returnosid.offering.CatalogueQuerythe catalogue query
ErrorsUNIMPLEMENTEDsupportsAncestorCatalogueQuery() is false
ComplianceoptionalThis method must be implemented if supportsAncestorCatalogueQuery() is true .
MethodmatchAnyAncestorCatalogue
Description

Matches catalogues with any ancestor.

Parametersbooleanmatchtrue to match catalogues with any ancestor, false to match root catalogues
CompliancemandatoryThis method must be implemented.
MethodclearAncestorCatalogueTerms
Description

Clears all ancestor catalogue terms.

CompliancemandatoryThis method must be implemented.
MethodmatchDescendantCatalogueId
Description

Sets the catalogue Id for this query to match catalogues that have the specified catalogue as a descendant.

Parametersosid.id.IdcatalogueIda catalogue Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTcatalogueId is null
CompliancemandatoryThis method must be implemented.
MethodclearDescendantCatalogueIdTerms
Description

Clears all descendant catalogue Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsDescendantCatalogueQuery
Description

Tests if a CatalogueQuery is available.

Returnbooleantrue if a catalogue query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetDescendantCatalogueQuery
Description

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

Returnosid.offering.CatalogueQuerythe catalogue query
ErrorsUNIMPLEMENTEDsupportsDescendantCatalogueQuery() is false
ComplianceoptionalThis method must be implemented if supportsDescendantCatalogueQuery() is true .
MethodmatchAnyDescendantCatalogue
Description

Matches catalogues with any descendant.

Parametersbooleanmatchtrue to match catalogues with any descendant, false to match leaf catalogues
CompliancemandatoryThis method must be implemented.
MethodclearDescendantCatalogueTerms
Description

Clears all descendant catalogue terms.

CompliancemandatoryThis method must be implemented.
MethodgetCatalogueQueryRecord
Description

Gets the record query corresponding to the given Catalogue record Type . Multiple record retrievals produce a nested boolean OR term.

Parametersosid.type.TypecatalogueRecordTypea catalogue record type
Returnosid.offering.records.CatalogueQueryRecordthe catalogue query record
ErrorsNULL_ARGUMENTcatalogueRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(catalogueRecordType) is false
CompliancemandatoryThis method must be implemented.