Interface ProgramOfferingQuery
- All Superinterfaces:
Extensible, OsidBrowsableQuery, OsidExtensibleQuery, OsidIdentifiableQuery, OsidObjectQuery, OsidQuery, OsidRelationshipQuery, OsidTemporalQuery, Suppliable
This is the query for searching program 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 requisiteIdterms.voidClears the completion requirements info terms.voidClears the requisite terms.voidClears the course catalogIdterms.voidClears the course catalog terms.voidClears the credentialIdterms.voidClears the credential terms.voidClears the objectiveIdterms.voidClears the learning objective terms.voidClears the maximum seats terms.voidClears the minimum seats terms.voidClears the number terms.voidClears the parent program offeringIdterms.voidClears the parent program offering terms.voidClears the programIdterms.voidClears the program terms.voidClears the requires registration terms.voidClears the restricted audienceIdterms.voidClears the restricted audience terms.voidClears the sponsorIdterms.voidClears the sponsor terms.voidClears the termIdterms.voidClears the reporting term terms.voidClears the title terms.voidClears the url terms.Gets the query for a requisite.Gets the query for a course catalog.Gets the query for a credential.Gets the query for a learning objective.Gets the query for a parent program offering.getProgramOfferingQueryRecord(Type programOfferingRecordType) Gets the program offering query record corresponding to the givenProgramOfferingrecordType.Gets the query for a program.Gets the query for a restricted audience.Gets the query for a sponsor.Gets the query for a reporting term.voidmatchAnyCompletionRequirements(boolean match) Matches programs that have any completion requirement requisite.voidmatchAnyCompletionRequirementsInfo(boolean match) Matches a program that has any completion requirements information assigned.voidmatchAnyCredential(boolean match) Matches programs that have any credentials.voidmatchAnyLearningObjective(boolean match) Matches program offerings that have any learning objective.voidmatchAnyMaximumSeats(boolean match) Matches a program offering that has any maximum seating assigned.voidmatchAnyMinimumSeats(boolean match) Matches a program offering that has any minimum seating assigned.voidmatchAnyNumber(boolean match) Matches a program number that has any value.voidmatchAnyParentProgramOffering(boolean match) Matches program offerings that are part of any parent.voidmatchAnyRestrictedAudience(boolean match) Matches program offerings that have any restricted audience.voidmatchAnySponsor(boolean match) Matches programs that have any sponsor.voidmatchAnyTitle(boolean match) Matches a title that has any value.voidmatchAnyURL(boolean match) Matches a url that has any value.voidmatchCompletionRequirementsId(Id ruleId, boolean match) Sets the requisiteIdfor this query.voidmatchCompletionRequirementsInfo(String requirementsInfo, Type stringMatchType, boolean match) Matches programs with the prerequisites informational string.voidmatchCourseCatalogId(Id courseCatalogId, boolean match) Sets the course catalogIdfor this query to match program offerings assigned to course catalogs.voidmatchCredentialId(Id credentialId, boolean match) Sets the credentialIdfor this query.voidmatchLearningObjectiveId(Id objectiveId, boolean match) Sets the objectiveIdfor this query.voidmatchMaximumSeats(long min, long max, boolean match) Matches program offerings with maximum seating between the given numbers inclusive.voidmatchMinimumSeats(long min, long max, boolean match) Matches program offerings with minimum seating between the given numbers inclusive.voidmatchNumber(String number, Type stringMatchType, boolean match) Adds a program number for this query.voidmatchParentProgramOfferingId(Id programOfferingId, boolean match) Sets the parent program offeringIdfor this query.voidmatchProgramId(Id programId, boolean match) Sets the programIdfor this query to match program offerings that have a related program.voidmatchRequiresRegistration(boolean match) Matches program offerings that require registration.voidmatchRestrictedAudienceId(Id resourceId, boolean match) Sets the resourceIdfor this query to match program offerings that have a restricted audience.voidmatchSponsorId(Id resourceId, boolean match) Sets the resourceIdfor this query to match programs that have a sponsor.voidmatchTermId(Id termId, boolean match) Sets the termIdfor this query to match program 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 aRequisiteQueryis available.booleanTests if aCourseCatalogQueryis available.booleanTests if aCredentialQueryis available.booleanTests if aObjectiveQueryis available.booleanTests if aProgramOfferingQueryis available.booleanTests if aProgramQueryis 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
-
matchProgramId
Sets the programIdfor this query to match program offerings that have a related program.- Parameters:
programId- a programIdmatch-trueif a positive match,falsefor a negative match- Throws:
NullArgumentException-programIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearProgramIdTerms
void clearProgramIdTerms()Clears the programIdterms.- Compliance:
mandatory- This method must be implemented.
-
supportsProgramQuery
boolean supportsProgramQuery()Tests if aProgramQueryis available.- Returns:
trueif a program query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getProgramQuery
ProgramQuery getProgramQuery()Gets the query for a program. Multiple retrievals produce a nestedORterm.- Returns:
- the program query
- Throws:
UnimplementedException-supportsProgramQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsProgramQuery()} is {@code true} .
-
clearProgramTerms
void clearProgramTerms()Clears the program terms.- Compliance:
mandatory- This method must be implemented.
-
matchTermId
Sets the termIdfor this query to match program 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 reporting 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 program offerings with any title,falseto match program 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 program number for this query.- Parameters:
number- program 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 program number that has any value.- Parameters:
match-trueto match program offerings with any number,falseto match program 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.
-
matchSponsorId
Sets the resourceIdfor this query to match programs 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 programs that have any sponsor.- Parameters:
match-trueto match programs with any sponsor,falseto match programs with no sponsors- Compliance:
mandatory- This method must be implemented.
-
clearSponsorTerms
void clearSponsorTerms()Clears the sponsor terms.- Compliance:
mandatory- This method must be implemented.
-
matchParentProgramOfferingId
Sets the parent program offeringIdfor this query.- Parameters:
programOfferingId- a program offeringIdmatch-trueif a positive match,falsefor a negative match- Throws:
NullArgumentException-programOfferingIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearParentProgramOfferingIdTerms
void clearParentProgramOfferingIdTerms()Clears the parent program offeringIdterms.- Compliance:
mandatory- This method must be implemented.
-
supportsParentProgramOfferingQuery
boolean supportsParentProgramOfferingQuery()Tests if aProgramOfferingQueryis available.- Returns:
trueif a program offering query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getParentProgramOfferingQuery
ProgramOfferingQuery getParentProgramOfferingQuery()Gets the query for a parent program offering. Multiple retrievals produce a nestedORterm.- Returns:
- a parent program offering query
- Throws:
UnimplementedException-supportsParentProgramOfferingQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsParentProgramOfferingQuery()} is {@code true} .
-
matchAnyParentProgramOffering
void matchAnyParentProgramOffering(boolean match) Matches program offerings that are part of any parent.- Parameters:
match-trueto match program offerings that are part of a parent,falseto match program offerings with no parent- Compliance:
mandatory- This method must be implemented.
-
clearParentProgramOfferingTerms
void clearParentProgramOfferingTerms()Clears the parent program offering 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 program offerings that have any learning objective.- Parameters:
match-trueto match program offerings with any learning objective,falseto match program 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 program 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 program offerings that have any restricted audience.- Parameters:
match-trueto match program offerings with any restricted audience,falseto match program 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.
-
matchCompletionRequirementsInfo
Matches programs with the prerequisites informational string.- Parameters:
requirementsInfo- completion requirements string to matchstringMatchType- the string match typematch-truefor a positive match,falsefor a negative match- Throws:
InvalidArgumentException-requirementsInfonot ofstringMatchTypeNullArgumentException-requirementsInfoorstringMatchTypeisnullUnsupportedException-supportsStringMatchType(stringMatchType)isfalse- Compliance:
mandatory- This method must be implemented.
-
matchAnyCompletionRequirementsInfo
void matchAnyCompletionRequirementsInfo(boolean match) Matches a program that has any completion requirements information assigned.- Parameters:
match-trueto match programs with any completion requirements information,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
clearCompletionRequirementsInfoTerms
void clearCompletionRequirementsInfoTerms()Clears the completion requirements info terms.- Compliance:
mandatory- This method must be implemented.
-
matchCompletionRequirementsId
Sets the requisiteIdfor this query.- Parameters:
ruleId- a ruleIdmatch-trueif a positive match,falsefor a negative match- Throws:
NullArgumentException-ruleIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearCompletionRequirementsIdTerms
void clearCompletionRequirementsIdTerms()Clears the requisiteIdterms.- Compliance:
mandatory- This method must be implemented.
-
supportsCompletionRequirementsQuery
boolean supportsCompletionRequirementsQuery()Tests if aRequisiteQueryis available.- Returns:
trueif a requisite query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getCompletionRequirementsQuery
RequisiteQuery getCompletionRequirementsQuery()Gets the query for a requisite. Multiple retrievals produce a nestedORterm.- Returns:
- a requisite query
- Throws:
UnimplementedException-supportsCompletionRequirementsQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCompletionRequirementsQuery()} is {@code true} .
-
matchAnyCompletionRequirements
void matchAnyCompletionRequirements(boolean match) Matches programs that have any completion requirement requisite.- Parameters:
match-trueto match programs with any requisite,falseto match programs with no requisites- Compliance:
mandatory- This method must be implemented.
-
clearCompletionRequirementsTerms
void clearCompletionRequirementsTerms()Clears the requisite terms.- Compliance:
mandatory- This method must be implemented.
-
matchCredentialId
Sets the credentialIdfor this query.- Parameters:
credentialId- a credentialIdmatch-trueif a positive match,falsefor a negative match- Throws:
NullArgumentException-credentialIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearCredentialIdTerms
void clearCredentialIdTerms()Clears the credentialIdterms.- Compliance:
mandatory- This method must be implemented.
-
supportsCredentialQuery
boolean supportsCredentialQuery()Tests if aCredentialQueryis available.- Returns:
trueif a credential query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getCredentialQuery
CredentialQuery getCredentialQuery()Gets the query for a credential. Multiple retrievals produce a nestedORterm.- Returns:
- a credential query
- Throws:
UnimplementedException-supportsCredentialQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCredentialQuery()} is {@code true} .
-
matchAnyCredential
void matchAnyCredential(boolean match) Matches programs that have any credentials.- Parameters:
match-trueto match programs with any credentials,falseto match programs with no credentials- Compliance:
mandatory- This method must be implemented.
-
clearCredentialTerms
void clearCredentialTerms()Clears the credential terms.- Compliance:
mandatory- This method must be implemented.
-
matchRequiresRegistration
void matchRequiresRegistration(boolean match) Matches program offerings that require registration.- Parameters:
match-trueto match program offerings requiring registration,,falseto match program 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 program 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 program offering that has any minimum seating assigned.- Parameters:
match-trueto match program offerings with any minimum seats,falseto match program 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 program 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 program offering that has any maximum seating assigned.- Parameters:
match-trueto match program offerings with any maximum seats,falseto match program 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 program offerings with any url,falseto match program 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.
-
matchCourseCatalogId
Sets the course catalogIdfor this query to match program 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.
-
getProgramOfferingQueryRecord
ProgramOfferingQueryRecord getProgramOfferingQueryRecord(Type programOfferingRecordType) throws OperationFailedException Gets the program offering query record corresponding to the givenProgramOfferingrecordType. Multiple record retrievals produce a nestedORterm.- Parameters:
programOfferingRecordType- a program offering record type- Returns:
- the program offering query record
- Throws:
NullArgumentException-programOfferingRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(programOfferingRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-