Interface CourseQuery
- All Superinterfaces:
Extensible, OsidBrowsableQuery, OsidExtensibleQuery, OsidIdentifiableQuery, OsidObjectQuery, OsidOperableQuery, OsidQuery, Suppliable
This is the query for searching courses. Each method match specifies an
AND term while multiple invocations of the same method produce a
nested OR .
-
Method Summary
Modifier and TypeMethodDescriptionvoidClears the activity unitIdterms.voidClears the activity unit terms.voidClears the concurrent courseIdterms.voidClears the concurrent course terms.voidClears the course catalogIdterms.voidClears the course catalog terms.voidClears the course offeringIdterms.voidClears the course offering terms.voidClears the grade systemIdterms.voidClears the credit terms.voidClears the grade systemIdterms.voidClears the grading option terms.voidClears the objectiveIdterms.voidClears the learning objective terms.voidClears the gradeIdterms.voidClears the level terms.voidClears the number terms.voidClears the requisiteIdterms.voidClears the prerequisite info terms.voidClears the prerequisites terms.voidClears the sponsorIdterms.voidClears the sponsor terms.voidClears the target audienceIdterms.voidClears the target audience terms.voidClears the title terms.Gets the query for an activity unit.Gets the query for a concurrent course.Gets the query for a course catalog.Gets the query for a course offering.getCourseQueryRecord(Type courseRecordType) Gets the course query record corresponding to the givenCourserecordType.Multiple record retrievals produce a nestedORterm.Gets the query for a credit amount.Gets the query for a grading option.Gets the query for a learning objective.Gets the query for a grade level.Gets the query for a requisite.Gets the query for a sponsor.Gets the query for a target audience.voidmatchActivityUnitId(Id courseOfferingId, boolean match) Sets the course offeringIdfor this query to match courses that have a related course offering.voidmatchAnyActivityUnit(boolean match) Matches courses that have any course offering.voidmatchAnyConcurrentCourse(boolean match) Matches courses that have any concurrent courses.voidmatchAnyCourseOffering(boolean match) Matches courses that have any course offering.voidmatchAnyCreditAmount(boolean match) Matches courses that have any credits.voidmatchAnyGradingOption(boolean match) Matches courses that have any grading option.voidmatchAnyLearningObjective(boolean match) Matches courses that have any learning objective.voidmatchAnyLevel(boolean match) Matches courses that have any grade level.voidmatchAnyNumber(boolean match) Matches a course number that has any value.voidmatchAnyPrerequisites(boolean match) Matches courses that have any prerequisites.voidmatchAnyPrerequisitesInfo(boolean match) Matches a course that has any prerequisite information assigned.voidmatchAnySponsor(boolean match) Matches courses that have any sponsor.voidmatchAnyTargetAudience(boolean match) Matches courses that have any target audience.voidmatchAnyTitle(boolean match) Matches a title that has any value.voidmatchConcurrentCourseId(Id courseId, boolean match) Sets the concurrent courseIdfor this query.voidmatchCourseCatalogId(Id courseCatalogId, boolean match) Sets the course catalogIdfor this query to match courses assigned to course catalogs.voidmatchCourseOfferingId(Id courseOfferingId, boolean match) Sets the course offeringIdfor this query to match courses that have a related course offering.voidmatchCreditAmountId(Id gradeId, boolean match) Sets the gradeIdfor this query to match courses with a credit amount.voidmatchGradingOptionId(Id gradeSystemId, boolean match) Sets the grade systemIdfor this query.voidmatchLearningObjectiveId(Id objectiveId, boolean match) Sets the objectiveIdfor this query.voidmatchLevelId(Id gradeId, boolean match) Sets the gradeIdfor this query.voidmatchNumber(String number, Type stringMatchType, boolean match) Adds a course number for this query.voidmatchPrerequisitesId(Id requisiteId, boolean match) Sets the requisiteIdfor this query.voidmatchPrerequisitesInfo(String prereqInfo, Type stringMatchType, boolean match) Matches courses with the prerequisites informational string.voidmatchSponsorId(Id resourceId, boolean match) Sets the resourceIdfor this query to match courses that have a sponsor.voidmatchTargetAudienceId(Id resourceId, boolean match) Sets the resourceIdfor this query to match courses that have a target audience.voidmatchTitle(String title, Type stringMatchType, boolean match) Adds a title for this query.booleanTests if anActivityUnitQueryis available.booleanTests if aCourseQueryis available.booleanTests if aCourseCatalogQueryis available.booleanTests if aCourseOfferingQueryis available.booleanTests if aGradeQueryis available.booleanTests if aGradeSystemQueryis available.booleanTests if aObjectiveQueryis available.booleanTests if aGradeQueryis available.booleanTests if aRequisiteQueryis available.booleanTests if aResourceQueryis available.booleanTests if aResourceQueryis 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 OsidOperableQuery
clearActiveTerms, clearDisabledTerms, clearEnabledTerms, clearOperationalTerms, matchActive, matchDisabled, matchEnabled, matchOperationalModifier and TypeMethodDescriptionvoidClears the active query terms.voidClears the administratively disabled query terms.voidClears the administratively enabled query terms.voidClears the operational query terms.voidmatchActive(boolean match) Matches active.voidmatchDisabled(boolean match) Matches administratively disabled.voidmatchEnabled(boolean match) Matches administratively enabled.voidmatchOperational(boolean match) Matches operational operables.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
-
matchTitle
Adds a title for this query.- Parameters:
title- title string to matchstringMatchType- the string match typematch-truefor a positive match,falsefor a negative match- Throws:
InvalidArgumentException-titlenot ofstringMatchTypeNullArgumentException-titleorstringMatchTypeisnullUnsupportedException-supportsStringMatchType(stringMatchType)isfalse- Compliance:
mandatory- This method must be implemented.
-
matchAnyTitle
void matchAnyTitle(boolean match) Matches a title that has any value.- Parameters:
match-trueto match courses with any title,falseto match courses with no title- Compliance:
mandatory- This method must be implemented.
-
clearTitleTerms
void clearTitleTerms()Clears the title terms.- Compliance:
mandatory- This method must be implemented.
-
matchNumber
Adds a course number for this query.- Parameters:
number- course number string to matchstringMatchType- the string match typematch-truefor a positive match,falsefor a negative match- Throws:
InvalidArgumentException-numbernot ofstringMatchTypeNullArgumentException-numberorstringMatchTypeisnullUnsupportedException-supportsStringMatchType(stringMatchType)isfalse- Compliance:
mandatory- This method must be implemented.
-
matchAnyNumber
void matchAnyNumber(boolean match) Matches a course number that has any value.- Parameters:
match-trueto match courses with any number,falseto match courses with no title- Compliance:
mandatory- This method must be implemented.
-
clearNumberTerms
void clearNumberTerms()Clears the number terms.- Compliance:
mandatory- This method must be implemented.
-
matchSponsorId
Sets the resourceIdfor this query to match courses that have a sponsor.- Parameters:
resourceId- a resourceIdmatch-trueif a positive match,falsefor a negative match- Throws:
NullArgumentException-resourceIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearSponsorIdTerms
void clearSponsorIdTerms()Clears the sponsorIdterms.- Compliance:
mandatory- This method must be implemented.
-
supportsSponsorQuery
boolean supportsSponsorQuery()Tests if aResourceQueryis available.- Returns:
trueif a resource query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getSponsorQuery
ResourceQuery getSponsorQuery()Gets the query for a sponsor. Multiple retrievals produce a nestedORterm.- Returns:
- a resource query
- Throws:
UnimplementedException-supportsSponsorQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsSponsorQuery()} is {@code true} .
-
matchAnySponsor
void matchAnySponsor(boolean match) Matches courses that have any sponsor.- Parameters:
match-trueto match courses with any sponsor,falseto match courses with no sponsors- Compliance:
mandatory- This method must be implemented.
-
clearSponsorTerms
void clearSponsorTerms()Clears the sponsor terms.- Compliance:
mandatory- This method must be implemented.
-
matchCreditAmountId
Sets the gradeIdfor this query to match courses with a credit amount.- Parameters:
gradeId- a gradeIdmatch-trueif a positive match,falsefor a negative match- Throws:
NullArgumentException-gradeIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearCreditAmountIdTerms
void clearCreditAmountIdTerms()Clears the grade systemIdterms.- Compliance:
mandatory- This method must be implemented.
-
supportsCreditAmountQuery
boolean supportsCreditAmountQuery()Tests if aGradeQueryis available.- Returns:
trueif a grade system query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getCreditAmountQuery
GradeQuery getCreditAmountQuery()Gets the query for a credit amount. Multiple retrievals produce a nestedORterm.- Returns:
- a grade query
- Throws:
UnimplementedException-supportsCreditQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCreditQuery()} is {@code true} .
-
matchAnyCreditAmount
void matchAnyCreditAmount(boolean match) Matches courses that have any credits.- Parameters:
match-trueto match courses with any creditsfalseto match courses with no credits- Compliance:
mandatory- This method must be implemented.
-
clearCreditAmountTerms
void clearCreditAmountTerms()Clears the credit terms.- Compliance:
mandatory- This method must be implemented.
-
matchPrerequisitesInfo
Matches courses with the prerequisites informational string.- Parameters:
prereqInfo- prerequisite informational string to matchstringMatchType- the string match typematch-truefor a positive match,falsefor a negative match- Throws:
InvalidArgumentException-prereqInfonot ofstringMatchTypeNullArgumentException-prereqInfoorstringMatchTypeisnullUnsupportedException-supportsStringMatchType(stringMatchType)isfalse- Compliance:
mandatory- This method must be implemented.
-
matchAnyPrerequisitesInfo
void matchAnyPrerequisitesInfo(boolean match) Matches a course that has any prerequisite information assigned.- Parameters:
match-trueto match courses with any prerequisite information,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
clearPrerequisitesInfoTerms
void clearPrerequisitesInfoTerms()Clears the prerequisite info terms.- Compliance:
mandatory- This method must be implemented.
-
matchPrerequisitesId
Sets the requisiteIdfor this query.- Parameters:
requisiteId- a requisiteIdmatch-trueif a positive match,falsefor a negative match- Throws:
NullArgumentException-requisiteIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearPrerequisitesIdTerms
void clearPrerequisitesIdTerms()Clears the requisiteIdterms.- Compliance:
mandatory- This method must be implemented.
-
supportsPrerequisitesQuery
boolean supportsPrerequisitesQuery()Tests if aRequisiteQueryis available.- Returns:
trueif a requisite query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getPrerequisitesQuery
RequisiteQuery getPrerequisitesQuery()Gets the query for a requisite. Multiple retrievals produce a nestedORterm.- Returns:
- a prerequisites query
- Throws:
UnimplementedException-supportsPrerequisitesQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsPrerequisitesQuery()} is {@code true} .
-
matchAnyPrerequisites
void matchAnyPrerequisites(boolean match) Matches courses that have any prerequisites.- Parameters:
match-trueto match courses with any prerequisites,falseto match courses with no prerequisites- Compliance:
mandatory- This method must be implemented.
-
clearPrerequisitesTerms
void clearPrerequisitesTerms()Clears the prerequisites terms.- Compliance:
mandatory- This method must be implemented.
-
matchConcurrentCourseId
Sets the concurrent courseIdfor this query.- Parameters:
courseId- a courseIdmatch-trueif a positive match,falsefor a negative match- Throws:
NullArgumentException-courseIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearConcurrentCourseIdTerms
void clearConcurrentCourseIdTerms()Clears the concurrent courseIdterms.- Compliance:
mandatory- This method must be implemented.
-
supportsConcurrentCourseQuery
boolean supportsConcurrentCourseQuery()Tests if aCourseQueryis available.- Returns:
trueif a course query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getConcurrentCourseQuery
CourseQuery getConcurrentCourseQuery()Gets the query for a concurrent course. Multiple retrievals produce a nestedORterm.- Returns:
- a course query
- Throws:
UnimplementedException-supportsConcurrentCourseQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsConcurrentCourseQuery()} is {@code true} .
-
matchAnyConcurrentCourse
void matchAnyConcurrentCourse(boolean match) Matches courses that have any concurrent courses.- Parameters:
match-trueto match courses with any concurrent courses,falseto match courses with no concurrent courses- Compliance:
mandatory- This method must be implemented.
-
clearConcurrentCourseTerms
void clearConcurrentCourseTerms()Clears the concurrent course terms.- Compliance:
mandatory- This method must be implemented.
-
matchLevelId
Sets the gradeIdfor this query.- Parameters:
gradeId- a gradeIdmatch-trueif a positive match,falsefor a negative match- Throws:
NullArgumentException-gradeIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearLevelIdTerms
void clearLevelIdTerms()Clears the gradeIdterms.- Compliance:
mandatory- This method must be implemented.
-
supportsLevelQuery
boolean supportsLevelQuery()Tests if aGradeQueryis available.- Returns:
trueif a grade query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getLevelQuery
GradeQuery getLevelQuery()Gets the query for a grade level. Multiple retrievals produce a nestedORterm.- Returns:
- a grade query
- Throws:
UnimplementedException-supportsLevelQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsLevelQuery()} is {@code true} .
-
matchAnyLevel
void matchAnyLevel(boolean match) Matches courses that have any grade level.- Parameters:
match-trueto match courses with any level,falseto match courses with no level- Compliance:
mandatory- This method must be implemented.
-
clearLevelTerms
void clearLevelTerms()Clears the level terms.- Compliance:
mandatory- This method must be implemented.
-
matchGradingOptionId
Sets the grade systemIdfor this query.- Parameters:
gradeSystemId- a grade systemIdmatch-trueif a positive match,falsefor a negative match- Throws:
NullArgumentException-gradeSystemIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearGradingOptionIdTerms
void clearGradingOptionIdTerms()Clears the grade systemIdterms.- Compliance:
mandatory- This method must be implemented.
-
supportsGradingOptionQuery
boolean supportsGradingOptionQuery()Tests if aGradeSystemQueryis available.- Returns:
trueif a grade system query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getGradingOptionQuery
GradeSystemQuery getGradingOptionQuery()Gets the query for a grading option. Multiple retrievals produce a nestedORterm.- Returns:
- a grade system query
- Throws:
UnimplementedException-supportsGradingOptionQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsGradingOptionQuery()} is {@code true} .
-
matchAnyGradingOption
void matchAnyGradingOption(boolean match) Matches courses that have any grading option.- Parameters:
match-trueto match courses with any grading option,falseto match courses with no grading options- Compliance:
mandatory- This method must be implemented.
-
clearGradingOptionTerms
void clearGradingOptionTerms()Clears the grading option terms.- Compliance:
mandatory- This method must be implemented.
-
matchLearningObjectiveId
Sets the objectiveIdfor this query.- Parameters:
objectiveId- an objectiveIdmatch-trueif a positive match,falsefor a negative match- Throws:
NullArgumentException-objectiveIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearLearningObjectiveIdTerms
void clearLearningObjectiveIdTerms()Clears the objectiveIdterms.- Compliance:
mandatory- This method must be implemented.
-
supportsLearningObjectiveQuery
boolean supportsLearningObjectiveQuery()Tests if aObjectiveQueryis available.- Returns:
trueif an objective query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getLearningObjectiveQuery
ObjectiveQuery getLearningObjectiveQuery()Gets the query for a learning objective. Multiple retrievals produce a nestedORterm.- Returns:
- an objective query
- Throws:
UnimplementedException-supportsLearningObjectiveQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsLearningObjectiveQuery()} is {@code true} .
-
matchAnyLearningObjective
void matchAnyLearningObjective(boolean match) Matches courses that have any learning objective.- Parameters:
match-trueto match courses with any learning objective,falseto match courses with no learning objectives- Compliance:
mandatory- This method must be implemented.
-
clearLearningObjectiveTerms
void clearLearningObjectiveTerms()Clears the learning objective terms.- Compliance:
mandatory- This method must be implemented.
-
matchTargetAudienceId
Sets the resourceIdfor this query to match courses that have a target audience.- Parameters:
resourceId- a resourceIdmatch-trueif a positive match,falsefor a negative match- Throws:
NullArgumentException-resourceIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearTargetAudienceIdTerms
void clearTargetAudienceIdTerms()Clears the target audienceIdterms.- Compliance:
mandatory- This method must be implemented.
-
supportsTargetAudienceQuery
boolean supportsTargetAudienceQuery()Tests if aResourceQueryis available.- Returns:
trueif a resource query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getTargetAudienceQuery
ResourceQuery getTargetAudienceQuery()Gets the query for a target audience. Multiple retrievals produce a nestedORterm.- Returns:
- a resource query
- Throws:
UnimplementedException-supportsTargetAudienceQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsTargetAudienceQuery()} is {@code true} .
-
matchAnyTargetAudience
void matchAnyTargetAudience(boolean match) Matches courses that have any target audience.- Parameters:
match-trueto match courses with any target audience,falseto match courses with no target audiences- Compliance:
mandatory- This method must be implemented.
-
clearTargetAudienceTerms
void clearTargetAudienceTerms()Clears the target audience terms.- Compliance:
mandatory- This method must be implemented.
-
matchActivityUnitId
Sets the course offeringIdfor this query to match courses that have a related course offering.- Parameters:
courseOfferingId- a course offeringIdmatch-trueif a positive match,falsefor a negative match- Throws:
NullArgumentException-courseOfferingIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearActivityUnitIdTerms
void clearActivityUnitIdTerms()Clears the activity unitIdterms.- Compliance:
mandatory- This method must be implemented.
-
supportsActivityUnitQuery
boolean supportsActivityUnitQuery()Tests if anActivityUnitQueryis available.- Returns:
trueif an activity unit query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getActivityUnitQuery
ActivityUnitQuery getActivityUnitQuery()Gets the query for an activity unit. Multiple retrievals produce a nestedORterm.- Returns:
- the activity unit query
- Throws:
UnimplementedException-supportsActivityUnitQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsActivityUnitQuery()} is {@code true} .
-
matchAnyActivityUnit
void matchAnyActivityUnit(boolean match) Matches courses that have any course offering.- Parameters:
match-trueto match courses with any related activity unit,falseto match courses with no activity units- Compliance:
mandatory- This method must be implemented.
-
clearActivityUnitTerms
void clearActivityUnitTerms()Clears the activity unit terms.- Compliance:
mandatory- This method must be implemented.
-
matchCourseOfferingId
Sets the course offeringIdfor this query to match courses that have a related course offering.- Parameters:
courseOfferingId- a course offeringIdmatch-trueif a positive match,falsefor a negative match- Throws:
NullArgumentException-courseOfferingIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearCourseOfferingIdTerms
void clearCourseOfferingIdTerms()Clears the course offeringIdterms.- 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 courses with any course offering,falseto match courses with no course offering- Compliance:
mandatory- This method must be implemented.
-
clearCourseOfferingTerms
void clearCourseOfferingTerms()Clears the course offering terms.- Compliance:
mandatory- This method must be implemented.
-
matchCourseCatalogId
Sets the course catalogIdfor this query to match courses 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 catalogIdterms.- 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 terms.- Compliance:
mandatory- This method must be implemented.
-
getCourseQueryRecord
Gets the course query record corresponding to the givenCourserecordType.Multiple record retrievals produce a nestedORterm.- Parameters:
courseRecordType- a course record type- Returns:
- the course query record
- Throws:
NullArgumentException-courseRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(courseRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-