Interface CanonicalUnitQueryInspector
- All Superinterfaces:
Extensible, OsidBrowsableQueryInspector, OsidExtensibleQueryInspector, OsidIdentifiableQueryInspector, OsidObjectQueryInspector, OsidOperableQueryInspector, OsidQueryInspector
public interface CanonicalUnitQueryInspector
extends OsidObjectQueryInspector, OsidOperableQueryInspector
The query inspectors provide a means of accessing the match terms of a
query. These interfaces are used to examine the actual query terms used in
a search or that may be used to create a smart catalog. Query inspectors
may be converted to OsidQuery interfaces for reuse or modification
in the search sessions.
-
Method Summary
Modifier and TypeMethodDescriptiongetCanonicalUnitQueryInspectorRecord(Type canonicalUnitRecordType) Gets the canonical unit query inspector record corresponding to the givenCanonicalUnitrecordType.IdTerm[]Gets the catalogueIdquery terms.Gets the catalogue query terms.Gets the code query terms.IdTerm[]Gets the offered cyclic time periodIdquery terms.Gets the offered cyclic time period query terms.IdTerm[]Gets the grade systemIdquery terms.Gets the grade system query terms.IdTerm[]Gets the sponsorIdquery terms.Gets the sponsor query terms.Gets the title query terms.Methods inherited from interface Extensible
getRecordTypes, hasRecordTypeModifier and TypeMethodDescriptionGets the record types available in this object.booleanhasRecordType(Type recordType) Tests if this object supports the given recordType.Methods inherited from interface OsidExtensibleQueryInspector
getRecordTypeTermsMethods inherited from interface OsidIdentifiableQueryInspector
getIdTermsMethods inherited from interface OsidObjectQueryInspector
getCommentIdTerms, getCommentTerms, getCreditIdTerms, getCreditTerms, getDescriptionTerms, getDisplayNameTerms, getGenusTypeTerms, getJournalEntryIdTerms, getJournalEntryTerms, getParentGenusTypeTerms, getRelationshipIdTerms, getRelationshipPeerIdTerms, getRelationshipTerms, getStateIdTerms, getStateTerms, getStatisticTerms, getSubjectIdTerms, getSubjectRelevancyTerms, getSubjectTermsModifier and TypeMethodDescriptionIdTerm[]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.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 subject relevancy query terms.Gets the subject query terms.Methods inherited from interface OsidOperableQueryInspector
getActiveTerms, getDisabledTerms, getEnabledTerms, getOperationalTermsModifier and TypeMethodDescriptionGets the active query terms.Gets the administratively disabled query terms.Gets the administratively enabled query terms.Gets the operational query terms.Methods inherited from interface OsidQueryInspector
getAnyTerms, getKeywordTermsModifier and TypeMethodDescriptionGets the any query terms.Gets the keyword query terms.
-
Method Details
-
getTitleTerms
StringTerm[] getTitleTerms()Gets the title query terms.- Returns:
- the title terms
- Compliance:
mandatory- This method must be implemented.
-
getCodeTerms
StringTerm[] getCodeTerms()Gets the code query terms.- Returns:
- the code terms
- Compliance:
mandatory- This method must be implemented.
-
getOfferedCyclicTimePeriodIdTerms
IdTerm[] getOfferedCyclicTimePeriodIdTerms()Gets the offered cyclic time periodIdquery terms.- Returns:
- the cyclic time period
Idquery terms - Compliance:
mandatory- This method must be implemented.
-
getOfferedCyclicTimePeriodTerms
CyclicTimePeriodQueryInspector[] getOfferedCyclicTimePeriodTerms()Gets the offered cyclic time period query terms.- Returns:
- the cyclic time period terms
- Compliance:
mandatory- This method must be implemented.
-
getResultOptionIdTerms
IdTerm[] getResultOptionIdTerms()Gets the grade systemIdquery terms.- Returns:
- the grade system
Idquery terms - Compliance:
mandatory- This method must be implemented.
-
getResultOptionTerms
GradeSystemQueryInspector[] getResultOptionTerms()Gets the grade system query terms.- Returns:
- the grade system terms
- Compliance:
mandatory- This method must be implemented.
-
getSponsorIdTerms
IdTerm[] getSponsorIdTerms()Gets the sponsorIdquery terms.- Returns:
- the sponsor
Idquery terms - Compliance:
mandatory- This method must be implemented.
-
getSponsorTerms
ResourceQueryInspector[] getSponsorTerms()Gets the sponsor query terms.- Returns:
- the sponsor query terms
- Compliance:
mandatory- This method must be implemented.
-
getCatalogueIdTerms
IdTerm[] getCatalogueIdTerms()Gets the catalogueIdquery terms.- Returns:
- the catalogue
Idterms - Compliance:
mandatory- This method must be implemented.
-
getCatalogueTerms
CatalogueQueryInspector[] getCatalogueTerms()Gets the catalogue query terms.- Returns:
- the catalogue terms
- Compliance:
mandatory- This method must be implemented.
-
getCanonicalUnitQueryInspectorRecord
CanonicalUnitQueryInspectorRecord getCanonicalUnitQueryInspectorRecord(Type canonicalUnitRecordType) throws OperationFailedException Gets the canonical unit query inspector record corresponding to the givenCanonicalUnitrecordType.- Parameters:
canonicalUnitRecordType- a canonical unit record type- Returns:
- the canonical unit inspector query record
- Throws:
NullArgumentException-canonicalUnitRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(canonicalUnitRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-