OSID Logo
OSID Specifications
offering package
Version 3.1.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.IdcanonicalUnitId a canonical unit Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT canonicalUnitId is null
Compliancemandatory This method must be implemented.
MethodclearCanonicalUnitIdTerms
Description

Clears all canonical unit Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsCanonicalUnitQuery
Description

Tests if a canonical unit query is available.

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

Gets the query for a catalogue.

Returnosid.offering.CanonicalUnitQuery the canonical unit query
ErrorsUNIMPLEMENTED supportsCanonicalUnitQuery() is false
Complianceoptional This method must be implemented if supportsCanonicalUnitQuery() is true.
MethodmatchAnyCanonicalUnit
Description

Matches catalogues with any canonical unit.

Parametersbooleanmatch true to match catalogues with any canonical unit, false to match catalogues with no canonical units
Compliancemandatory This method must be implemented.
MethodclearCanonicalUnitTerms
Description

Clears all canonical unit terms.

Compliancemandatory This method must be implemented.
MethodmatchOfferingId
Description

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

Parametersosid.id.IdofferingId an offering Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT offeringId is null
Compliancemandatory This method must be implemented.
MethodclearOfferingIdTerms
Description

Clears all offering Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsOfferingQuery
Description

Tests if an offering query is available.

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

Gets the query for an offering.

Returnosid.offering.OfferingQuery the offering query
ErrorsUNIMPLEMENTED supportsOfferingQuery() is false
Complianceoptional This method must be implemented if supportsOfferingQuery() is true.
MethodmatchAnyOffering
Description

Matches catalogues with any offering.

Parametersbooleanmatch true to match catalogues with any offering, false to match catalogues with no offerings
Compliancemandatory This method must be implemented.
MethodclearOfferingTerms
Description

Clears all offering terms.

Compliancemandatory This method must be implemented.
MethodmatchParticipantId
Description

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

Parametersosid.id.IdparticipantId a participant Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT participantId is null
Compliancemandatory This method must be implemented.
MethodclearParticipantIdTerms
Description

Clears all participant Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsParticipantQuery
Description

Tests if a participant query is available.

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

Gets the query for a participant.

Returnosid.offering.ParticipantQuery the participant query
ErrorsUNIMPLEMENTED supportsParticipantQuery() is false
Complianceoptional This method must be implemented if supportsParticipantQuery() is true.
MethodmatchAnyParticipant
Description

Matches catalogues with any participant.

Parametersbooleanmatch true to match catalogues with any participant, false to match catalogues with no participants
Compliancemandatory This method must be implemented.
MethodclearParticipantTerms
Description

Clears all participant terms.

Compliancemandatory This method must be implemented.
MethodmatchResultId
Description

Sets the result Id for this query to match results.

Parametersosid.id.IdresultId a result Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT resultId is null
Compliancemandatory This method must be implemented.
MethodclearResultIdTerms
Description

Clears all result Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsResultQuery
Description

Tests if a result query is available.

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

Gets the query for a result.

Returnosid.offering.ResultQuery the result query
ErrorsUNIMPLEMENTED supportsResultQuery() is false
Complianceoptional This method must be implemented if supportsResultQuery() is true.
MethodmatchAnyResult
Description

Matches catalogues with any result.

Parametersbooleanmatch true to match catalogues with any result, false to match catalogues with no results
Compliancemandatory This method must be implemented.
MethodclearResultTerms
Description

Clears all result terms.

Compliancemandatory This 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.IdcatalogueId a catalogue Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT catalogueId is null
Compliancemandatory This method must be implemented.
MethodclearAncestorCatalogueIdTerms
Description

Clears all ancestor catalogue Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsAncestorCatalogueQuery
Description

Tests if a CatalogueQuery is available.

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

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

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

Matches catalogues with any ancestor.

Parametersbooleanmatch true to match catalogues with any ancestor, false to match root catalogues
Compliancemandatory This method must be implemented.
MethodclearAncestorCatalogueTerms
Description

Clears all ancestor catalogue terms.

Compliancemandatory This 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.IdcatalogueId a catalogue Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT catalogueId is null
Compliancemandatory This method must be implemented.
MethodclearDescendantCatalogueIdTerms
Description

Clears all descendant catalogue Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsDescendantCatalogueQuery
Description

Tests if a CatalogueQuery is available.

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

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

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

Matches catalogues with any descendant.

Parametersbooleanmatch true to match catalogues with any descendant, false to match leaf catalogues
Compliancemandatory This method must be implemented.
MethodclearDescendantCatalogueTerms
Description

Clears all descendant catalogue terms.

Compliancemandatory This 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.TypecatalogueRecordType a catalogue record type
Returnosid.offering.records.CatalogueQueryRecord the catalogue query record
ErrorsNULL_ARGUMENT catalogueRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(catalogueRecordType) is false
Compliancemandatory This method must be implemented.