Interface TermQuery
- All Superinterfaces:
Extensible, OsidBrowsableQuery, OsidExtensibleQuery, OsidFederateableQuery, OsidIdentifiableQuery, OsidObjectQuery, OsidQuery, Suppliable
This is the query for searching terms. Each method match specifies an
AND term while multiple invocations of the same method produce a
nested OR .
-
Method Summary
Modifier and TypeMethodDescriptionvoidClears the add date query terms.voidClears the ancestor termIdquery terms.voidClears the ancestor term query terms.voidClears the classes period duration query terms.voidClears the class end date query terms.voidClears the class period query terms.voidClears the class start date query terms.voidClears the close date query terms.voidClears the course catalogIdquery terms.voidClears the course catalog query terms.voidClears the course offeringIdquery terms.voidClears the course offering query terms.voidClears the descendant termIdquery terms.voidClears the descendant term query terms.voidClears the display label query terms.voidClears the drop date query terms.voidClears the final exam period duration query terms.voidClears the final exam period end date query terms.voidClears the final exam period query terms.voidClears the final exam start date query terms.voidClears the open date query terms.voidClears the registration period duration query terms.voidClears the registration end date query terms.voidClears the registration period query terms.voidClears the registration start date query terms.Gets the query for a term.Gets the query for a course catalog.Gets the query for a course offering.Gets the query for a term.getTermQueryRecord(Type termRecordType) Gets the term query record corresponding to the givenTermrecordType.Multiple record retrievals produce a nestedORterm.voidmatchAddDate(DateTime low, DateTime high, boolean match) Matches the add date between the given range inclusive.voidmatchAncestorTermId(Id termId, boolean match) Sets the termIdfor this query to match terms that have the specified term as an ancestor.voidmatchAnyAddDate(boolean match) Matches a term that has any add date assigned.voidmatchAnyAncestorTerm(boolean match) Matches terms with any ancestor.voidmatchAnyClassesEnd(boolean match) Matches a term that has any class end date assigned.voidmatchAnyClassesStart(boolean match) Matches a term that has any class start date assigned.voidmatchAnyCloseDate(boolean match) Matches a term that has any close date assigned.voidmatchAnyCourseOffering(boolean match) Matches courses that have any course offering.voidmatchAnyDescendantTerm(boolean match) Matches terms with any descendant.voidmatchAnyDisplayLabel(boolean match) Matches a display label that has any value.voidmatchAnyDropDate(boolean match) Matches a term that has any drop date assigned.voidmatchAnyFinalExamEnd(boolean match) Matches a term that has any final exam period end date assigned.voidmatchAnyFinalExamStart(boolean match) Matches a term that has any final exam period start date assigned.voidmatchAnyOpenDate(boolean match) Matches a term that has any open date assigned.voidmatchAnyRegistrationEnd(boolean match) Matches a term that has any registration end date assigned.voidmatchAnyRegistrationStart(boolean match) Matches a term that has any registration start date assigned.voidmatchClassesDuration(Duration low, Duration high, boolean match) Matches the classes period duration between the given range inclusive.voidmatchClassesEnd(DateTime low, DateTime high, boolean match) Matches the class end date between the given range inclusive.voidmatchClassesPeriod(DateTime date, boolean match) Matches the class period that incudes the given date.voidmatchClassesStart(DateTime low, DateTime high, boolean match) Matches the class start date between the given range inclusive.voidmatchCloseDate(DateTime low, DateTime high, boolean match) Matches the close date between the given range inclusive.voidmatchCourseCatalogId(Id courseCatalogId, boolean match) Sets the course catalogIdfor this query to match terms assigned to course catalogs.voidmatchCourseOfferingId(Id courseOfferingId, boolean match) Sets the course offeringIdfor this query to match terms assigned to course offerings.voidmatchDescendantTermId(Id termId, boolean match) Sets the termIdfor this query to match terms that have the specified term as a descendant.voidmatchDisplayLabel(String label, Type stringMatchType, boolean match) Adds a display label for this query.voidmatchDropDate(DateTime low, DateTime high, boolean match) Matches the drop date between the given range inclusive.voidmatchFinalExamDuration(Duration low, Duration high, boolean match) Matches the final exam period duration between the given range inclusive.voidmatchFinalExamEnd(DateTime low, DateTime high, boolean match) Matches the final exam period end date between the given range inclusive.voidmatchFinalExamPeriod(DateTime date, boolean match) Matches the final exam period that incudes the given date.voidmatchFinalExamStart(DateTime low, DateTime high, boolean match) Matches the final exam period start date between the given range inclusive.voidmatchOpenDate(DateTime low, DateTime high, boolean match) Matches the open date between the given range inclusive.voidmatchRegistrationDuration(Duration low, Duration high, boolean match) Matches the registration period duration between the given range inclusive.voidmatchRegistrationEnd(DateTime low, DateTime high, boolean match) Matches the registration end date between the given range inclusive.voidmatchRegistrationPeriod(DateTime date, boolean match) Matches the registration period that incudes the given date.voidmatchRegistrationStart(DateTime low, DateTime high, boolean match) Matches the registration start date between the given range inclusive.booleanTests if aTermQueryis available.booleanTests if aCourseCatalogQueryis available.booleanTests if aCourseOfferingQueryis available.booleanTests if aTermQueryis available.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 OsidExtensibleQuery
clearRecordTerms, matchAnyRecord, matchRecordTypeModifier and TypeMethodDescriptionvoidClears all recordTypeterms.voidmatchAnyRecord(boolean match) Matches an object that has any record.voidmatchRecordType(Type recordType, boolean match) Sets aTypefor querying objects having records implementing a given record type.Methods inherited from interface OsidIdentifiableQuery
clearIdTerms, matchIdModifier and TypeMethodDescriptionvoidClears allIdterms.voidAdds anIdto match.Methods inherited from interface OsidObjectQuery
clearCommentIdTerms, clearCommentTerms, clearCreditIdTerms, clearCreditTerms, clearDescriptionTerms, clearDisplayNameTerms, clearGenusTypeTerms, clearJournalEntryIdTerms, clearJournalEntryTerms, clearParentGenusTypeTerms, clearRelationshipIdTerms, clearRelationshipPeerIdTerms, clearRelationshipTerms, clearStateIdTerms, clearStateTerms, clearStatisticTerms, clearSubjectIdTerms, clearSubjectRelevancyTerms, clearSubjectTerms, getCommentQuery, getCreditQuery, getJournalEntryQuery, getRelationshipQuery, getStateQuery, getStatisticQuery, getSubjectQuery, getSubjectRelevancyQuery, matchAnyComment, matchAnyCredit, matchAnyDescription, matchAnyDisplayName, matchAnyGenusType, matchAnyJournalEntry, matchAnyRelationship, matchAnyState, matchAnyStatistic, matchAnySubject, matchCommentId, matchCreditId, matchDescription, matchDisplayName, matchGenusType, matchJournalEntryId, matchParentGenusType, matchRelationshipId, matchRelationshipPeerId, matchStateId, matchSubjectId, supportsCommentQuery, supportsCreditQuery, supportsJournalEntryQuery, supportsRelationshipQuery, supportsStateQuery, supportsStatisticQuery, supportsSubjectQuery, supportsSubjectRelevancyQueryModifier and TypeMethodDescriptionvoidClears all commentIdterms.voidClears all comment terms.voidClears all creditIdterms.voidClears all credit terms.voidClears all description terms.voidClears all display name terms.voidClears all genus type terms.voidClears all journal entryIdterms.voidClears all journal entry terms.voidClears all genus type terms.voidClears all relationshipIdterms.voidClears all relationshipIdterms.voidClears all relationship terms.voidClears all stateIdterms.voidClears all state terms.voidClears all statistic terms.voidClears all subjectIdterms.voidClears all subject relevancy terms.voidClears all subject terms.Gets the query for a comment.Gets the query for an ackowledgement credit.Gets the query for a journal entry.Gets the query for relationship.Gets the query for a state.Gets the query for a statistic.Gets the query for a subject.Gets the query for a subject relevancy.voidmatchAnyComment(boolean match) Matches an object that has anyCommentin the givenBook.voidmatchAnyCredit(boolean match) Matches an object that has anyCredit.voidmatchAnyDescription(boolean match) Matches a description that has any value.voidmatchAnyDisplayName(boolean match) Matches any object with a display name.voidmatchAnyGenusType(boolean match) Matches an object that has any genus type.voidmatchAnyJournalEntry(boolean match) Matches an object that has anyJournalEntryin the givenJournal.voidmatchAnyRelationship(boolean match) Matches an object that has anyRelationship.voidmatchAnyState(boolean match) Matches an object that has any mapping to aStatein the givenProcess.voidmatchAnyStatistic(boolean match) Matches an object that has anyStatistic.voidmatchAnySubject(boolean match) Matches an object that has any relationship to aSubject.voidmatchCommentId(Id commentId, boolean match) Matches an object that has the given comment.voidmatchCreditId(Id creditId, boolean match) Matches an object that has the given credit.voidmatchDescription(String description, Type stringMatchType, boolean match) Adds a description name to match.voidmatchDisplayName(String displayName, Type stringMatchType, boolean match) Adds a display name to match.voidmatchGenusType(Type genusType, boolean match) Sets aTypefor querying objects of a given genus.voidmatchJournalEntryId(Id journalEntryId, boolean match) Matches an object that has the given journal entry.voidmatchParentGenusType(Type genusType, boolean match) Sets aTypefor querying objects of a given genus.voidmatchRelationshipId(Id relationshipId, boolean match) Matches an object that has the given relationship.voidmatchRelationshipPeerId(Id peerId, boolean match) Matches an object that has a relationship to the given peerId.voidmatchStateId(Id stateId, boolean match) Matches an object mapped to the given state.voidmatchSubjectId(Id subjectId, boolean match) Matches an object with a relationship to the given subject.booleanTests if aCommentQueryis available.booleanTests if aCreditQueryis available to provide queries of related acknowledgements.booleanTests if aJournalEntryis available to provide queries of journaledOsidObjects.booleanTests if aRelationshipQueryis available.booleanTests if aStateQueryis available to provide queries of processed objects.booleanTests if aStatisticQueryis available to provide statistical queries.booleanTests if aSubjectQueryis available.booleanTests if aRelevancyQueryis available to provide queries about the relationships toSubjects.Methods inherited from interface OsidQuery
clearAnyTerms, clearKeywordTerms, getStringMatchTypes, matchAny, matchKeyword, supportsStringMatchTypeModifier and TypeMethodDescriptionvoidClears the match any terms.voidClears all keyword terms.Gets the string matching types supported.voidmatchAny(boolean match) Matches any object.voidmatchKeyword(String keyword, Type stringMatchType, boolean match) Adds a keyword to match.booleansupportsStringMatchType(Type stringMatchType) Tests if the given string matching type is supported.
-
Method Details
-
matchDisplayLabel
Adds a display label for this query.- Parameters:
label- label string to matchstringMatchType- the label match typematch-truefor a positive match,falsefor a negative match- Throws:
InvalidArgumentException-labelnot ofstringMatchTypeNullArgumentException-labelorstringMatchTypeisnullUnsupportedException-supportsStringMatchType(stringMatchType)isfalse- Compliance:
mandatory- This method must be implemented.
-
matchAnyDisplayLabel
void matchAnyDisplayLabel(boolean match) Matches a display label that has any value.- Parameters:
match-trueto match courses with any label,falseto match assets with no title- Compliance:
mandatory- This method must be implemented.
-
clearDisplayLabelTerms
void clearDisplayLabelTerms()Clears the display label query terms.- Compliance:
mandatory- This method must be implemented.
-
matchOpenDate
Matches the open date between the given range inclusive.- Parameters:
low- low date rangehigh- high date rangematch-truefor a positive match,falsefor a negative match- Throws:
InvalidArgumentException-highis less thanlow- Compliance:
mandatory- This method must be implemented.
-
matchAnyOpenDate
void matchAnyOpenDate(boolean match) Matches a term that has any open date assigned.- Parameters:
match-trueto match terms with any open date,falseto match terms with no open date- Compliance:
mandatory- This method must be implemented.
-
clearOpenDateTerms
void clearOpenDateTerms()Clears the open date query terms.- Compliance:
mandatory- This method must be implemented.
-
matchRegistrationStart
Matches the registration start date between the given range inclusive.- Parameters:
low- low date rangehigh- high date rangematch-truefor a positive match,falsefor a negative match- Throws:
InvalidArgumentException-highis less thanlow- Compliance:
mandatory- This method must be implemented.
-
matchAnyRegistrationStart
void matchAnyRegistrationStart(boolean match) Matches a term that has any registration start date assigned.- Parameters:
match-trueto match terms with any registration start date,falseto match terms with no registration start date- Compliance:
mandatory- This method must be implemented.
-
clearRegistrationStartTerms
void clearRegistrationStartTerms()Clears the registration start date query terms.- Compliance:
mandatory- This method must be implemented.
-
matchRegistrationEnd
Matches the registration end date between the given range inclusive.- Parameters:
low- low date rangehigh- high date rangematch-truefor a positive match,falsefor a negative match- Throws:
InvalidArgumentException-highis less thanlow- Compliance:
mandatory- This method must be implemented.
-
matchAnyRegistrationEnd
void matchAnyRegistrationEnd(boolean match) Matches a term that has any registration end date assigned.- Parameters:
match-trueto match terms with any registration end date,falseto match terms with no registration end date- Compliance:
mandatory- This method must be implemented.
-
clearRegistrationEndTerms
void clearRegistrationEndTerms()Clears the registration end date query terms.- Compliance:
mandatory- This method must be implemented.
-
matchRegistrationPeriod
Matches the registration period that incudes the given date.- Parameters:
date- a datematch-truefor a positive match,falsefor a negative match- Compliance:
mandatory- This method must be implemented.
-
clearRegistrationPeriodTerms
void clearRegistrationPeriodTerms()Clears the registration period query terms.- Compliance:
mandatory- This method must be implemented.
-
matchRegistrationDuration
Matches the registration period duration between the given range inclusive.- Parameters:
low- low duration rangehigh- high duration rangematch-truefor a positive match,falsefor a negative match- Throws:
InvalidArgumentException-highis less thanlow- Compliance:
mandatory- This method must be implemented.
-
clearRegistrationDurationTerms
void clearRegistrationDurationTerms()Clears the registration period duration query terms.- Compliance:
mandatory- This method must be implemented.
-
matchClassesStart
Matches the class start date between the given range inclusive.- Parameters:
low- low date rangehigh- high date rangematch-truefor a positive match,falsefor a negative match- Throws:
InvalidArgumentException-highis less thanlow- Compliance:
mandatory- This method must be implemented.
-
matchAnyClassesStart
void matchAnyClassesStart(boolean match) Matches a term that has any class start date assigned.- Parameters:
match-trueto match terms with any class start date,falseto match terms with no class start date- Compliance:
mandatory- This method must be implemented.
-
clearClassesStartTerms
void clearClassesStartTerms()Clears the class start date query terms.- Compliance:
mandatory- This method must be implemented.
-
matchClassesEnd
Matches the class end date between the given range inclusive.- Parameters:
low- low date rangehigh- high date rangematch-truefor a positive match,falsefor a negative match- Throws:
InvalidArgumentException-highis less thanlow- Compliance:
mandatory- This method must be implemented.
-
matchAnyClassesEnd
void matchAnyClassesEnd(boolean match) Matches a term that has any class end date assigned.- Parameters:
match-trueto match terms with any class end date,falseto match terms with no class end date- Compliance:
mandatory- This method must be implemented.
-
clearClassesEndTerms
void clearClassesEndTerms()Clears the class end date query terms.- Compliance:
mandatory- This method must be implemented.
-
matchClassesPeriod
Matches the class period that incudes the given date.- Parameters:
date- a datematch-truefor a positive match,falsefor a negative match- Compliance:
mandatory- This method must be implemented.
-
clearClassesPeriodTerms
void clearClassesPeriodTerms()Clears the class period query terms.- Compliance:
mandatory- This method must be implemented.
-
matchClassesDuration
Matches the classes period duration between the given range inclusive.- Parameters:
low- low duration rangehigh- high duration rangematch-truefor a positive match,falsefor a negative match- Throws:
InvalidArgumentException-highis less thanlow- Compliance:
mandatory- This method must be implemented.
-
clearClassesDurationTerms
void clearClassesDurationTerms()Clears the classes period duration query terms.- Compliance:
mandatory- This method must be implemented.
-
matchAddDate
Matches the add date between the given range inclusive.- Parameters:
low- low date rangehigh- high date rangematch-truefor a positive match,falsefor a negative match- Throws:
InvalidArgumentException-highis less thanlow- Compliance:
mandatory- This method must be implemented.
-
matchAnyAddDate
void matchAnyAddDate(boolean match) Matches a term that has any add date assigned.- Parameters:
match-trueto match terms with any add date,falseto match terms with no add/drop date- Compliance:
mandatory- This method must be implemented.
-
clearAddDateTerms
void clearAddDateTerms()Clears the add date query terms.- Compliance:
mandatory- This method must be implemented.
-
matchDropDate
Matches the drop date between the given range inclusive.- Parameters:
low- low date rangehigh- high date rangematch-truefor a positive match,falsefor a negative match- Throws:
InvalidArgumentException-highis less thanlow- Compliance:
mandatory- This method must be implemented.
-
matchAnyDropDate
void matchAnyDropDate(boolean match) Matches a term that has any drop date assigned.- Parameters:
match-trueto match terms with any drop date,falseto match terms with no add/drop date- Compliance:
mandatory- This method must be implemented.
-
clearDropDateTerms
void clearDropDateTerms()Clears the drop date query terms.- Compliance:
mandatory- This method must be implemented.
-
matchFinalExamStart
Matches the final exam period start date between the given range inclusive.- Parameters:
low- low date rangehigh- high date rangematch-truefor a positive match,falsefor a negative match- Throws:
InvalidArgumentException-highis less thanlow- Compliance:
mandatory- This method must be implemented.
-
matchAnyFinalExamStart
void matchAnyFinalExamStart(boolean match) Matches a term that has any final exam period start date assigned.- Parameters:
match-trueto match terms with any final exam start date,falseto match terms with no final exam start date- Compliance:
mandatory- This method must be implemented.
-
clearFinalExamStartTerms
void clearFinalExamStartTerms()Clears the final exam start date query terms.- Compliance:
mandatory- This method must be implemented.
-
matchFinalExamEnd
Matches the final exam period end date between the given range inclusive.- Parameters:
low- low date rangehigh- high date rangematch-truefor a positive match,falsefor a negative match- Throws:
InvalidArgumentException-highis less thanlow- Compliance:
mandatory- This method must be implemented.
-
matchAnyFinalExamEnd
void matchAnyFinalExamEnd(boolean match) Matches a term that has any final exam period end date assigned.- Parameters:
match-trueto match terms with any final exam end date,falseto match terms with no final exam end date- Compliance:
mandatory- This method must be implemented.
-
clearFinalExamEndTerms
void clearFinalExamEndTerms()Clears the final exam period end date query terms.- Compliance:
mandatory- This method must be implemented.
-
matchFinalExamPeriod
Matches the final exam period that incudes the given date.- Parameters:
date- a datematch-truefor a positive match,falsefor a negative match- Compliance:
mandatory- This method must be implemented.
-
clearFinalExamPeriodTerms
void clearFinalExamPeriodTerms()Clears the final exam period query terms.- Compliance:
mandatory- This method must be implemented.
-
matchFinalExamDuration
Matches the final exam period duration between the given range inclusive.- Parameters:
low- low duration rangehigh- high duration rangematch-truefor a positive match,falsefor a negative match- Throws:
InvalidArgumentException-highis less thanlow- Compliance:
mandatory- This method must be implemented.
-
clearFinalExamDurationTerms
void clearFinalExamDurationTerms()Clears the final exam period duration query terms.- Compliance:
mandatory- This method must be implemented.
-
matchCloseDate
Matches the close date between the given range inclusive.- Parameters:
low- low date rangehigh- high date rangematch-truefor a positive match,falsefor a negative match- Throws:
InvalidArgumentException-highis less thanlow- Compliance:
mandatory- This method must be implemented.
-
matchAnyCloseDate
void matchAnyCloseDate(boolean match) Matches a term that has any close date assigned.- Parameters:
match-trueto match terms with any close date,falseto match terms with no close date- Compliance:
mandatory- This method must be implemented.
-
clearCloseDateTerms
void clearCloseDateTerms()Clears the close date query terms.- Compliance:
mandatory- This method must be implemented.
-
matchAncestorTermId
Sets the termIdfor this query to match terms that have the specified term as an ancestor.- Parameters:
termId- a termIdmatch-truefor a positive match,falsefor a negative match- Throws:
NullArgumentException-termIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearAncestorTermIdTerms
void clearAncestorTermIdTerms()Clears the ancestor termIdquery terms.- Compliance:
mandatory- This method must be implemented.
-
supportsAncestorTermQuery
boolean supportsAncestorTermQuery()Tests if aTermQueryis available.- Returns:
trueif a termency query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getAncestorTermQuery
TermQuery getAncestorTermQuery()Gets the query for a term. Multiple retrievals produce a nestedORterm.- Returns:
- the term query
- Throws:
UnimplementedException-supportsAncestorTermQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAncestorTermQuery()} is {@code true} .
-
matchAnyAncestorTerm
void matchAnyAncestorTerm(boolean match) Matches terms with any ancestor.- Parameters:
match-trueto match terms with any ancestor,falseto match root terms- Compliance:
mandatory- This method must be implemented.
-
clearAncestorTermTerms
void clearAncestorTermTerms()Clears the ancestor term query terms.- Compliance:
mandatory- This method must be implemented.
-
matchDescendantTermId
Sets the termIdfor this query to match terms that have the specified term as a descendant.- Parameters:
termId- a termIdmatch-truefor a positive match,falsefor a negative match- Throws:
NullArgumentException-termIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearDescendantTermIdTerms
void clearDescendantTermIdTerms()Clears the descendant termIdquery terms.- Compliance:
mandatory- This method must be implemented.
-
supportsDescendantTermQuery
boolean supportsDescendantTermQuery()Tests if aTermQueryis available.- Returns:
trueif a termency query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getDescendantTermQuery
TermQuery getDescendantTermQuery()Gets the query for a term. Multiple retrievals produce a nestedORterm.- Returns:
- the term query
- Throws:
UnimplementedException-supportsDescendantTermQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsDescendantTermQuery()} is {@code true} .
-
matchAnyDescendantTerm
void matchAnyDescendantTerm(boolean match) Matches terms with any descendant.- Parameters:
match-trueto match terms with any Ddscendant,falseto match leaf terms- Compliance:
mandatory- This method must be implemented.
-
clearDescendantTermTerms
void clearDescendantTermTerms()Clears the descendant term query terms.- Compliance:
mandatory- This method must be implemented.
-
matchCourseOfferingId
Sets the course offeringIdfor this query to match terms assigned to course offerings.- Parameters:
courseOfferingId- the course offeringIdmatch-truefor a positive match,falsefor a negative match- Throws:
NullArgumentException-courseOfferingIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearCourseOfferingIdTerms
void clearCourseOfferingIdTerms()Clears the course offeringIdquery terms.- Compliance:
mandatory- This method must be implemented.
-
supportsCourseOfferingQuery
boolean supportsCourseOfferingQuery()Tests if aCourseOfferingQueryis available.- Returns:
trueif a course offering query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getCourseOfferingQuery
CourseOfferingQuery getCourseOfferingQuery()Gets the query for a course offering. Multiple retrievals produce a nestedORterm.- Returns:
- the course offering query
- Throws:
UnimplementedException-supportsCourseOfferingQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCourseOfferingQuery()} is {@code true} .
-
matchAnyCourseOffering
void matchAnyCourseOffering(boolean match) Matches courses that have any course offering.- Parameters:
match-trueto match terms with any course offering,falseto match terms with no course offerings- Compliance:
mandatory- This method must be implemented.
-
clearCourseOfferingTerms
void clearCourseOfferingTerms()Clears the course offering query terms.- Compliance:
mandatory- This method must be implemented.
-
matchCourseCatalogId
Sets the course catalogIdfor this query to match terms assigned to course catalogs.- Parameters:
courseCatalogId- the course catalogIdmatch-truefor a positive match,falsefor a negative match- Throws:
NullArgumentException-courseCatalogIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearCourseCatalogIdTerms
void clearCourseCatalogIdTerms()Clears the course catalogIdquery terms.- Compliance:
mandatory- This method must be implemented.
-
supportsCourseCatalogQuery
boolean supportsCourseCatalogQuery()Tests if aCourseCatalogQueryis available.- Returns:
trueif a course catalog query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getCourseCatalogQuery
CourseCatalogQuery getCourseCatalogQuery()Gets the query for a course catalog. Multiple retrievals produce a nestedORterm.- Returns:
- the course catalog query
- Throws:
UnimplementedException-supportsCourseCatalogQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCourseCatalogQuery()} is {@code true} .
-
clearCourseCatalogTerms
void clearCourseCatalogTerms()Clears the course catalog query terms.- Compliance:
mandatory- This method must be implemented.
-
getTermQueryRecord
Gets the term query record corresponding to the givenTermrecordType.Multiple record retrievals produce a nestedORterm.- Parameters:
termRecordType- a term record type- Returns:
- the term query record
- Throws:
NullArgumentException-termRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(termRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-