Class AbstractOfferingQueryInspector
java.lang.Object
net.okapia.osid.jamocha.spi.AbstractOsidQueryInspector
net.okapia.osid.jamocha.spi.AbstractOsidIdentifiableQueryInspector
net.okapia.osid.jamocha.spi.AbstractOsidObjectQueryInspector
net.okapia.osid.jamocha.spi.AbstractTemporalOsidObjectQueryInspector
net.okapia.osid.jamocha.spi.AbstractOsidRelationshipQueryInspector
net.okapia.osid.jamocha.offering.offering.spi.AbstractOfferingQueryInspector
- All Implemented Interfaces:
Extensible, OfferingQueryInspector, OsidBrowsableQueryInspector, OsidExtensibleQueryInspector, OsidIdentifiableQueryInspector, OsidObjectQueryInspector, OsidQueryInspector, OsidRelationshipQueryInspector, OsidTemporalQueryInspector
- Direct Known Subclasses:
OfferingQueryUninspector
public abstract class AbstractOfferingQueryInspector
extends AbstractOsidRelationshipQueryInspector
implements OfferingQueryInspector
A query inspector template for offerings.
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractTemporalOsidObjectQueryInspector
AbstractTemporalOsidObjectQueryInspector.OsidTemporalQueryInspectorModifier and TypeClassDescriptionprotected classComposed OsidTemporalQueryInspector.Nested classes/interfaces inherited from class AbstractOsidObjectQueryInspector
AbstractOsidObjectQueryInspector.OsidBrowsableQueryInspectorModifier and TypeClassDescriptionprotected classComposed BrowsableQueryInspector. -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newAbstractOfferingQueryInspector. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddOfferingQueryInspectorRecord(OfferingQueryInspectorRecord offeringQueryInspectorRecord, Type offeringRecordType) Adds a record to this offering query.IdTerm[]Gets the canonical unitIdquery terms.Gets the canonical unit query terms.IdTerm[]Gets the catalogueIdquery terms.Gets the catalogue query terms.Gets the code query terms.getOfferingQueryInspectorRecord(Type offeringRecordType) Gets the record corresponding to the given offering query inspector recordType.IdTerm[]Gets the grade systemIdquery terms.Gets the grade system query terms.IdTerm[]Gets the sponsorIdquery terms.Gets the sponsor query terms.IdTerm[]Gets the time periodIdquery terms.Gets the time period query terms.Gets the title query terms.Methods inherited from class AbstractOsidRelationshipQueryInspector
getEndReasonIdTerms, getEndReasonTermsModifier and TypeMethodDescriptionIdTerm[]Gets the end reaosn stateIdquery terms.Gets the end reason state query terms.Methods inherited from class AbstractTemporalOsidObjectQueryInspector
getDateTerms, getEffectiveTerms, getEndDateTerms, getStartDateTermsModifier and TypeMethodDescriptionGets the date query terms.Gets the effective query terms.Gets the end date query terms.Gets the start date query terms.Methods inherited from class AbstractOsidObjectQueryInspector
addRecordType, getCommentIdTerms, getCommentTerms, getCreditIdTerms, getCreditTerms, getDescriptionTerms, getDisplayNameTerms, getGenusTypeTerms, getJournalEntryIdTerms, getJournalEntryTerms, getParentGenusTypeTerms, getRecordTypes, getRecordTypeTerms, getRelationshipIdTerms, getRelationshipPeerIdTerms, getRelationshipTerms, getStateIdTerms, getStateTerms, getStatisticTerms, getSubjectIdTerms, getSubjectRelevancyTerms, getSubjectTerms, hasRecordTypeModifier and TypeMethodDescriptionprotected voidaddRecordType(Type recordType) Adds a record type.IdTerm[]Gets the commentIdquery terms.Gets the comment query terms.IdTerm[]Gets the creditIdquery terms.Gets the credit query terms.Gets the description query terms.Gets the display name query terms.TypeTerm[]Gets the genus type query terms.IdTerm[]Gets the journal entryIdquery terms.Gets the journal entry query terms.TypeTerm[]Gets the parent genus type query terms.Gets the record types available in this object.TypeTerm[]Gets the record type query terms.IdTerm[]Gets the relationshipIdquery terms.IdTerm[]Gets the relationship peerIdquery terms.Gets the relationship query terms.IdTerm[]Gets the stateIdquery terms.Gets the state query terms.Gets the statistic query terms.IdTerm[]Gets the subjectIdquery terms.Gets the relevancy query terms.Gets the subject query terms.booleanhasRecordType(Type recordType) Tests if this object supports the given recordType.Methods inherited from class AbstractOsidIdentifiableQueryInspector
getIdTermsMethods inherited from class AbstractOsidQueryInspector
getAnyTerms, getKeywordTermsModifier and TypeMethodDescriptionGets the any query terms.Gets the keyword query terms.
-
Constructor Details
-
AbstractOfferingQueryInspector
public AbstractOfferingQueryInspector()Constructs a newAbstractOfferingQueryInspector.
-
-
Method Details
-
getCanonicalUnitIdTerms
Gets the canonical unitIdquery terms.- Specified by:
getCanonicalUnitIdTermsin interfaceOfferingQueryInspector- Returns:
- the canonical unit
Idquery terms
-
getCanonicalUnitTerms
Gets the canonical unit query terms.- Specified by:
getCanonicalUnitTermsin interfaceOfferingQueryInspector- Returns:
- the canonical unit query terms
-
getTimePeriodIdTerms
Gets the time periodIdquery terms.- Specified by:
getTimePeriodIdTermsin interfaceOfferingQueryInspector- Returns:
- the time period
Idquery terms
-
getTimePeriodTerms
Gets the time period query terms.- Specified by:
getTimePeriodTermsin interfaceOfferingQueryInspector- Returns:
- the time period query terms
-
getTitleTerms
Gets the title query terms.- Specified by:
getTitleTermsin interfaceOfferingQueryInspector- Returns:
- the title terms
-
getCodeTerms
Gets the code query terms.- Specified by:
getCodeTermsin interfaceOfferingQueryInspector- Returns:
- the code terms
-
getResultOptionIdTerms
Gets the grade systemIdquery terms.- Specified by:
getResultOptionIdTermsin interfaceOfferingQueryInspector- Returns:
- the grade system
Idquery terms
-
getResultOptionTerms
Gets the grade system query terms.- Specified by:
getResultOptionTermsin interfaceOfferingQueryInspector- Returns:
- the grade system terms
-
getSponsorIdTerms
Gets the sponsorIdquery terms.- Specified by:
getSponsorIdTermsin interfaceOfferingQueryInspector- Returns:
- the sponsor
Idquery terms
-
getSponsorTerms
Gets the sponsor query terms.- Specified by:
getSponsorTermsin interfaceOfferingQueryInspector- Returns:
- the sponsor query terms
-
getCatalogueIdTerms
Gets the catalogueIdquery terms.- Specified by:
getCatalogueIdTermsin interfaceOfferingQueryInspector- Returns:
- the catalogue
Idterms
-
getCatalogueTerms
Gets the catalogue query terms.- Specified by:
getCatalogueTermsin interfaceOfferingQueryInspector- Returns:
- the catalogue terms
-
getOfferingQueryInspectorRecord
@OSID public OfferingQueryInspectorRecord getOfferingQueryInspectorRecord(Type offeringRecordType) throws OperationFailedException Gets the record corresponding to the given offering query inspector recordType.This method must be used to retrieve an offering implementing the requested record.- Specified by:
getOfferingQueryInspectorRecordin interfaceOfferingQueryInspector- Parameters:
offeringRecordType- an offering record type- Returns:
- the offering query inspsector record
- Throws:
NullArgumentException-offeringRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(offeringRecordType)isfalse
-
addOfferingQueryInspectorRecord
protected void addOfferingQueryInspectorRecord(OfferingQueryInspectorRecord offeringQueryInspectorRecord, Type offeringRecordType) Adds a record to this offering query.- Parameters:
offeringQueryInspectorRecord- offering query inspector recordofferingRecordType- offering record type- Throws:
NullArgumentException-recordisnull
-