Interface CourseOfferingQuery
- All Superinterfaces:
Extensible, OsidBrowsableQuery, OsidExtensibleQuery, OsidIdentifiableQuery, OsidObjectQuery, OsidQuery, OsidRelationshipQuery, OsidTemporalQuery, Suppliable
This is the query for searching course offerings. Each method match
specifies an AND term while multiple invocations of the same
method produce a nested OR .
-
Method Summary
Modifier and TypeMethodDescriptionvoidClears the activityIdterms.voidClears the activity terms.voidClears the concurrent courseIdterms.voidClears the concurrent course terms.voidClears the course catalogIdterms.voidClears the course catalog terms.voidClears the courseIdterms.voidClears the course terms.voidClears the grade systemIdterms.voidClears the credit terms.voidClears the eventIdterms.voidClears the event terms.voidClears the grade systemIdterms.voidClears the grading option terms.voidClears the instructorIdterms.voidClears the instructor terms.voidClears the objectiveIdterms.voidClears the learning objective terms.voidClears the gradeIdterms.voidClears the level terms.voidClears the maximum seats terms.voidClears the minimum seats terms.voidClears the number terms.voidClears the requisiteIdterms.voidClears the prerequisite info terms.voidClears the prerequisites terms.voidClears the requires registration terms.voidClears the restricted audienceIdterms.voidClears the restricted audience terms.voidClears the schedule info terms.voidClears the sponsorIdterms.voidClears the sponsor terms.voidClears the termIdterms.voidClears the term terms.voidClears the title terms.voidClears the url terms.Gets the query for an activity.Gets the query for a concurrent course.Gets the query for a course catalog.getCourseOfferingQueryRecord(Type courseOfferingRecordType) Gets the course offering query record corresponding to the givenCourseOfferingrecordType.Gets the query for a course.Gets the query for a credit amount.Gets the query for an event.Gets the query for a grading option.Gets the query for an instructor.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 restricted audience.Gets the query for a sponsor.Gets the query for a reporting term.voidmatchActivityId(Id activityId, boolean match) Sets the activityIdfor this query to match course offerings that have a related activity.voidmatchAnyActivity(boolean match) Matches any related activity.voidmatchAnyConcurrentCourse(boolean match) Matches courses that have any concurrent courses.voidmatchAnyCreditAmount(boolean match) Matches courses that have any credits amounts.voidmatchAnyEvent(boolean match) Matches any event.voidmatchAnyGradingOption(boolean match) Matches course offerings that have any grading option.voidmatchAnyInstructor(boolean match) Matches course offerings that have any instructor.voidmatchAnyLearningObjective(boolean match) Matches course offerings that have any learning objective.voidmatchAnyLevel(boolean match) Matches course offerings that have any grade level.voidmatchAnyMaximumSeats(boolean match) Matches a course offering that has any maximum seating assigned.voidmatchAnyMinimumSeats(boolean match) Matches a course offering that has any minimum seating assigned.voidmatchAnyNumber(boolean match) Matches a course number that has any value.voidmatchAnyPrerequisites(boolean match) Matches course offerings that have any prerequisites.voidmatchAnyPrerequisitesInfo(boolean match) Matches a course offering that has any prerequisite information assigned.voidmatchAnyRestrictedAudience(boolean match) Matches course offerings that have any restricted audience.voidmatchAnyScheduleInfo(boolean match) Matches a schedule informational string that has any value.voidmatchAnySponsor(boolean match) Matches courses that have any sponsor.voidmatchAnyTitle(boolean match) Matches a title that has any value.voidmatchAnyURL(boolean match) Matches a url 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 course offerings assigned to course catalogs.voidmatchCourseId(Id courseId, boolean match) Sets the courseIdfor this query to match course offerings that have a related course.voidmatchCreditAmountId(Id gradeId, boolean match) Sets the gradeIdfor this query to match courses with a credit amount.voidmatchEventId(Id eventId, boolean match) Sets the eventIdfor this query to match course offerings that have an event.voidmatchGradingOptionId(Id gradeSystemId, boolean match) Sets the grade systemIdfor this query.voidmatchInstructorId(Id resourceId, boolean match) Sets the resourceIdfor this query to match course offerings that have an instructor.voidmatchLearningObjectiveId(Id objectiveId, boolean match) Sets the objectiveIdfor this query.voidmatchLevelId(Id gradeId, boolean match) Sets the gradeIdfor this query.voidmatchMaximumSeats(long min, long max, boolean match) Matches course offerings with maximum seating between the given numbers inclusive.voidmatchMinimumSeats(long min, long max, boolean match) Matches course offerings with minimum seating between the given numbers inclusive.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 course offerings with the prerequisites informational string.voidmatchRequiresRegistration(boolean match) Matches course offerings that require registration.voidmatchRestrictedAudienceId(Id resourceId, boolean match) Sets the resourceIdfor this query to match course offerings that have a restricted audience.voidmatchScheduleInfo(String scheduleInfo, Type stringMatchType, boolean match) Adds a schedule informational string for this query.voidmatchSponsorId(Id resourceId, boolean match) Sets the resourceIdfor this query to match courses that have a sponsor.voidmatchTermId(Id termId, boolean match) Sets the termIdfor this query to match course offerings that have a related term.voidmatchTitle(String title, Type stringMatchType, boolean match) Adds a title for this query.voidAdds a class url for this query.booleanTests if anActivityQueryis available for the location.booleanTests if aCourseQueryis available.booleanTests if aCourseCatalogQueryis available.booleanTests if aCourseQueryis available.booleanTests if aGradeQueryis available.booleanTests if anEventQueryis available.booleanTests if aGradeSystemQueryis available.booleanTests if aResourceQueryis available.booleanTests if aObjectiveQueryis available.booleanTests if aGradeQueryis available.booleanTests if aRequisiteQueryis available.booleanTests if aResourceQueryis available.booleanTests if aResourceQueryis 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.Methods inherited from interface OsidRelationshipQuery
clearEndReasonIdTerms, clearEndReasonTerms, getEndReasonQuery, matchAnyEndReason, matchEndReasonId, supportsEndReasonQueryModifier and TypeMethodDescriptionvoidClears all stateIdterms.voidClears all end reason state terms.getEndReasonQuery(boolean match) Gets the query for the end reason state.voidmatchAnyEndReason(boolean match) Match any end reason state.voidmatchEndReasonId(Id stateId, boolean match) Match theIdof the end reason state.booleanTests if aStateQueryfor the end reason is available.Methods inherited from interface OsidTemporalQuery
clearDateTerms, clearEffectiveTerms, clearEndDateTerms, clearStartDateTerms, matchAnyEndDate, matchAnyStartDate, matchDate, matchEffective, matchEndDate, matchStartDateModifier and TypeMethodDescriptionvoidClears the date query terms.voidClears the effective query terms.voidClears the end date query terms.voidClears the start date query terms.voidmatchAnyEndDate(boolean match) Matches temporals with any end date set.voidmatchAnyStartDate(boolean match) Matches temporals with any start date set.voidMatches temporals where the given date range falls entirely between the start and end dates inclusive.voidmatchEffective(boolean match) Match effective objects where the current date falls within the start and end dates inclusive.voidmatchEndDate(DateTime start, DateTime end, boolean match) Matches temporals whose effective end date falls in between the given dates inclusive.voidmatchStartDate(DateTime start, DateTime end, boolean match) Matches temporals whose start date falls in between the given dates inclusive.
-
Method Details
-
matchCourseId
Sets the courseIdfor this query to match course offerings that have a related course.- Parameters:
courseId- a courseIdmatch-trueif a positive match,falsefor a negative match- Throws:
NullArgumentException-courseIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearCourseIdTerms
void clearCourseIdTerms()Clears the courseIdterms.- Compliance:
mandatory- This method must be implemented.
-
supportsCourseQuery
boolean supportsCourseQuery()Tests if aCourseQueryis available.- Returns:
trueif a course query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getCourseQuery
CourseQuery getCourseQuery()Gets the query for a course. Multiple retrievals produce a nestedORterm.- Returns:
- the course query
- Throws:
UnimplementedException-supportsCourseQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCourseQuery()} is {@code true} .
-
clearCourseTerms
void clearCourseTerms()Clears the course terms.- Compliance:
mandatory- This method must be implemented.
-
matchTermId
Sets the termIdfor this query to match course offerings that have a related term.- Parameters:
termId- a termIdmatch-trueif a positive match,falsefor a negative match- Throws:
NullArgumentException-termIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearTermIdTerms
void clearTermIdTerms()Clears the termIdterms.- Compliance:
mandatory- This method must be implemented.
-
supportsTermQuery
boolean supportsTermQuery()Tests if aTermQueryis available.- Returns:
trueif a term query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getTermQuery
TermQuery getTermQuery()Gets the query for a reporting term. Multiple retrievals produce a nestedORterm.- Returns:
- the term query
- Throws:
UnimplementedException-supportsTermQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsTermQuery()} is {@code true} .
-
clearTermTerms
void clearTermTerms()Clears the term terms.- Compliance:
mandatory- This method must be implemented.
-
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 course offerings with any title,falseto match course offerings 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 course offerings with any number,falseto match course offerings with no number- Compliance:
mandatory- This method must be implemented.
-
clearNumberTerms
void clearNumberTerms()Clears the number terms.- Compliance:
mandatory- This method must be implemented.
-
matchInstructorId
Sets the resourceIdfor this query to match course offerings that have an instructor.- Parameters:
resourceId- a resourceIdmatch-trueif a positive match,falsefor a negative match- Throws:
NullArgumentException-resourceIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearInstructorIdTerms
void clearInstructorIdTerms()Clears the instructorIdterms.- Compliance:
mandatory- This method must be implemented.
-
supportsInstructorQuery
boolean supportsInstructorQuery()Tests if aResourceQueryis available.- Returns:
trueif a resource query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getInstructorQuery
ResourceQuery getInstructorQuery()Gets the query for an instructor. Multiple retrievals produce a nestedORterm.- Returns:
- a resource query
- Throws:
UnimplementedException-supportsInstructorQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsInstructorQuery()} is {@code true} .
-
matchAnyInstructor
void matchAnyInstructor(boolean match) Matches course offerings that have any instructor.- Parameters:
match-trueto match course offerings with any instructor,falseto match course offerings with no instructors- Compliance:
mandatory- This method must be implemented.
-
clearInstructorTerms
void clearInstructorTerms()Clears the instructor 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 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 amounts.- 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 course offerings 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 offering that has any prerequisite information assigned.- Parameters:
match-trueto match course offerings 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 course offerings that have any prerequisites.- Parameters:
match-trueto match course offerings with any prerequisites,falseto match course offerings 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 course offerings that have any grade level.- Parameters:
match-trueto match course offerings with any level,falseto match course offerings 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 course offerings that have any grading option.- Parameters:
match-trueto match course offerings with any grading option,falseto match course offerings 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 course offerings that have any learning objective.- Parameters:
match-trueto match course offerings with any learning objective,falseto match course offerings 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.
-
matchRestrictedAudienceId
Sets the resourceIdfor this query to match course offerings that have a restricted audience.- Parameters:
resourceId- a resourceIdmatch-trueif a positive match,falsefor a negative match- Throws:
NullArgumentException-resourceIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearRestrictedAudienceIdTerms
void clearRestrictedAudienceIdTerms()Clears the restricted audienceIdterms.- Compliance:
mandatory- This method must be implemented.
-
supportsRestrictedAudienceQuery
boolean supportsRestrictedAudienceQuery()Tests if aResourceQueryis available.- Returns:
trueif a resource query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getRestrictedAudienceQuery
ResourceQuery getRestrictedAudienceQuery()Gets the query for a restricted audience. Multiple retrievals produce a nestedORterm.- Returns:
- a resource query
- Throws:
UnimplementedException-supportsRestrictedAudienceQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRestrictedAudienceQuery()} is {@code true} .
-
matchAnyRestrictedAudience
void matchAnyRestrictedAudience(boolean match) Matches course offerings that have any restricted audience.- Parameters:
match-trueto match course offerings with any restricted audience,falseto match course offerings with no restricted audiences- Compliance:
mandatory- This method must be implemented.
-
clearRestrictedAudienceTerms
void clearRestrictedAudienceTerms()Clears the restricted audience terms.- Compliance:
mandatory- This method must be implemented.
-
matchRequiresRegistration
void matchRequiresRegistration(boolean match) Matches course offerings that require registration.- Parameters:
match-trueto match course offerings requiring registration,,falseto match course offerings not requiring registration- Compliance:
mandatory- This method must be implemented.
-
clearRequiresRegistrationTerms
void clearRequiresRegistrationTerms()Clears the requires registration terms.- Compliance:
mandatory- This method must be implemented.
-
matchMinimumSeats
void matchMinimumSeats(long min, long max, boolean match) Matches course offerings with minimum seating between the given numbers inclusive.- Parameters:
min- low numbermax- high numbermatch-truefor a positive match,falsefor a negative match- Throws:
InvalidArgumentException-maxis less thanmin- Compliance:
mandatory- This method must be implemented.
-
matchAnyMinimumSeats
void matchAnyMinimumSeats(boolean match) Matches a course offering that has any minimum seating assigned.- Parameters:
match-trueto match course offerings with any minimum seats,falseto match course offerings with no minimum seats- Compliance:
mandatory- This method must be implemented.
-
clearMinimumSeatsTerms
void clearMinimumSeatsTerms()Clears the minimum seats terms.- Compliance:
mandatory- This method must be implemented.
-
matchMaximumSeats
void matchMaximumSeats(long min, long max, boolean match) Matches course offerings with maximum seating between the given numbers inclusive.- Parameters:
min- low numbermax- high numbermatch-truefor a positive match,falsefor a negative match- Throws:
InvalidArgumentException-maxis less thanmin- Compliance:
mandatory- This method must be implemented.
-
matchAnyMaximumSeats
void matchAnyMaximumSeats(boolean match) Matches a course offering that has any maximum seating assigned.- Parameters:
match-trueto match course offerings with any maximum seats,falseto match course offerings with no maximum seats- Compliance:
mandatory- This method must be implemented.
-
clearMaximumSeatsTerms
void clearMaximumSeatsTerms()Clears the maximum seats terms.- Compliance:
mandatory- This method must be implemented.
-
matchURL
Adds a class url for this query.- Parameters:
url- url string to matchstringMatchType- the string match typematch-truefor a positive match,falsefor a negative match- Throws:
InvalidArgumentException-urlnot ofstringMatchTypeNullArgumentException-urlorstringMatchTypeisnullUnsupportedException-supportsStringMatchType(stringMatchType)isfalse- Compliance:
mandatory- This method must be implemented.
-
matchAnyURL
void matchAnyURL(boolean match) Matches a url that has any value.- Parameters:
match-trueto match course offerings with any url,falseto match course offerings with no url- Compliance:
mandatory- This method must be implemented.
-
clearURLTerms
void clearURLTerms()Clears the url terms.- Compliance:
mandatory- This method must be implemented.
-
matchScheduleInfo
Adds a schedule informational string for this query.- Parameters:
scheduleInfo- schedule string string to matchstringMatchType- the string match typematch-truefor a positive match,falsefor a negative match- Throws:
InvalidArgumentException-scheduleInfonot ofstringMatchTypeNullArgumentException-scheduleInfoorstringMatchTypeisnullUnsupportedException-supportsStringMatchType(stringMatchType)isfalse- Compliance:
mandatory- This method must be implemented.
-
matchAnyScheduleInfo
void matchAnyScheduleInfo(boolean match) Matches a schedule informational string that has any value.- Parameters:
match-trueto match course offerings with any schedule string,falseto match course offerings with no schedule string- Compliance:
mandatory- This method must be implemented.
-
clearScheduleInfoTerms
void clearScheduleInfoTerms()Clears the schedule info terms.- Compliance:
mandatory- This method must be implemented.
-
matchEventId
Sets the eventIdfor this query to match course offerings that have an event.- Parameters:
eventId- an eventIdmatch-trueif a positive match,falsefor a negative match- Throws:
NullArgumentException-eventIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearEventIdTerms
void clearEventIdTerms()Clears the eventIdterms.- Compliance:
mandatory- This method must be implemented.
-
supportsEventQuery
boolean supportsEventQuery()Tests if anEventQueryis available.- Returns:
trueif an event query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getEventQuery
EventQuery getEventQuery()Gets the query for an event. Multiple retrievals produce a nestedORterm.- Returns:
- the event query
- Throws:
UnimplementedException-supportsEventQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsEventQuery()} is {@code true} .
-
matchAnyEvent
void matchAnyEvent(boolean match) Matches any event.- Parameters:
match-trueto match course offerings with any event.,falseto match course offerings with no events- Compliance:
mandatory- This method must be implemented.
-
clearEventTerms
void clearEventTerms()Clears the event terms.- Compliance:
mandatory- This method must be implemented.
-
matchActivityId
Sets the activityIdfor this query to match course offerings that have a related activity.- Parameters:
activityId- an activityIdmatch-trueif a positive match,falsefor a negative match- Throws:
NullArgumentException-activityIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearActivityIdTerms
void clearActivityIdTerms()Clears the activityIdterms.- Compliance:
mandatory- This method must be implemented.
-
supportsActivityQuery
boolean supportsActivityQuery()Tests if anActivityQueryis available for the location.- Returns:
trueif an activity query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getActivityQuery
ActivityQuery getActivityQuery()Gets the query for an activity. Multiple retrievals produce a nestedORterm.- Returns:
- the activity query
- Throws:
UnimplementedException-supportsActivityQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsActivityQuery()} is {@code true} .
-
matchAnyActivity
void matchAnyActivity(boolean match) Matches any related activity.- Parameters:
match-trueto match course offerings with any activity,falseto match course offerings with no activities- Compliance:
mandatory- This method must be implemented.
-
clearActivityTerms
void clearActivityTerms()Clears the activity terms.- Compliance:
mandatory- This method must be implemented.
-
matchCourseCatalogId
Sets the course catalogIdfor this query to match course offerings 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.
-
getCourseOfferingQueryRecord
CourseOfferingQueryRecord getCourseOfferingQueryRecord(Type courseOfferingRecordType) throws OperationFailedException Gets the course offering query record corresponding to the givenCourseOfferingrecordType. Multiple record retrievals produce a nestedORterm.- Parameters:
courseOfferingRecordType- a course offering record type- Returns:
- the course offering query record
- Throws:
NullArgumentException-courseOfferingRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(courseOfferingRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-