public interface CourseCatalogQuery extends OsidCatalogQuery
This is the query for searching course catalogs. Each method match
specifies an AND
term while multiple invocations of the
same method produce a nested OR.
Modifier and Type | Method and Description |
---|---|
void |
clearActivityIdTerms()
Clears the activity
Id query terms. |
void |
clearActivityTerms()
Clears the activity query terms.
|
void |
clearActivityUnitIdTerms()
Clears the activity unit
Id query terms. |
void |
clearActivityUnitTerms()
Clears the activity unit query terms.
|
void |
clearAncestorCourseCatalogIdTerms()
Clears the ancestor course catalog
Id query terms. |
void |
clearAncestorCourseCatalogTerms()
Clears the ancestor course catalog query terms.
|
void |
clearCourseIdTerms()
Clears the course
Id query terms. |
void |
clearCourseOfferingIdTerms()
Clears the course offering
Id query terms. |
void |
clearCourseOfferingTerms()
Clears the course offering query terms.
|
void |
clearCourseTerms()
Clears the course query terms.
|
void |
clearDescendantCourseCatalogIdTerms()
Clears the descendant course catalog
Id query terms. |
void |
clearDescendantCourseCatalogTerms()
Clears the descendant course catalog query terms.
|
void |
clearTermIdTerms()
Clears the term
Id query terms. |
void |
clearTermTerms()
Clears the term query terms.
|
ActivityQuery |
getActivityQuery()
Gets the query for an activity.
|
ActivityUnitQuery |
getActivityUnitQuery()
Gets the query for an activity unit.
|
CourseCatalogQuery |
getAncestorCourseCatalogQuery()
Gets the query for a course catalog.
|
CourseCatalogQueryRecord |
getCourseCatalogQueryRecord(Type courseCatalogRecordType)
Gets the course catalog query record corresponding to the given
CourseCatalog record Type. |
CourseOfferingQuery |
getCourseOfferingQuery()
Gets the query for a course offering.
|
CourseQuery |
getCourseQuery()
Gets the query for a course.
|
CourseCatalogQuery |
getDescendantCourseCatalogQuery()
Gets the query for a course catalog.
|
TermQuery |
getTermQuery()
Gets the query for a term Multiple retrievals produce a nested
OR term. |
void |
matchActivityId(Id activityUnitId,
boolean match)
Sets the activity
Id for this query. |
void |
matchActivityUnitId(Id activityUnitId,
boolean match)
Sets the activity unit
Id for this query. |
void |
matchAncestorCourseCatalogId(Id courseCatalogId,
boolean match)
Sets the course catalog
Id for this query to match
course catalogs that have the specified course catalog as an ancestor. |
void |
matchAnyActivity(boolean match)
Matches course catalogs that have any activity.
|
void |
matchAnyActivityUnit(boolean match)
Matches course catalogs that have any activity unit.
|
void |
matchAnyAncestorCourseCatalog(boolean match)
Matches course catalogs with any course catalog ancestor.
|
void |
matchAnyCourse(boolean match)
Matches course catalogs that have any course.
|
void |
matchAnyCourseOffering(boolean match)
Matches course catalogs that have any course offering.
|
void |
matchAnyDescendantCourseCatalog(boolean match)
Matches course catalogs with any descendant course catalog.
|
void |
matchAnyTerm(boolean match)
Matches course catalogs that have any term.
|
void |
matchCourseId(Id courseId,
boolean match)
Sets the course
Id for this query to match courses that
have a related course. |
void |
matchCourseOfferingId(Id courseOfferingId,
boolean match)
Sets the catalog
Id for this query. |
void |
matchDescendantCourseCatalogId(Id courseCatalogId,
boolean match)
Sets the course catalog
Id for this query to match
course catalogs that have the specified course catalog as an
descendant. |
void |
matchTermId(Id termId,
boolean match)
Sets the term
Id for this query to match catalogs
containing terms. |
boolean |
supportsActivityQuery()
Tests if an
ActivityQuery is available. |
boolean |
supportsActivityUnitQuery()
Tests if an
ActivityUnitQuery is available. |
boolean |
supportsAncestorCourseCatalogQuery()
Tests if a
CourseCatalogQuery is available. |
boolean |
supportsCourseOfferingQuery()
Tests if a
CourseOfferingQuery is available. |
boolean |
supportsCourseQuery()
Tests if a
CourseQuery is available. |
boolean |
supportsDescendantCourseCatalogQuery()
Tests if a
CourseCatalogQuery is available. |
boolean |
supportsTermQuery()
Tests if a
TermQuery is available. |
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, supportsSubjectRelevancyQuery
clearIdTerms, matchId
clearRecordTerms, matchAnyRecord, matchRecordType
getRecordTypes, hasRecordType
clearAnyTerms, clearKeywordTerms, getStringMatchTypes, matchAny, matchKeyword, supportsStringMatchType
clearBrandingIdTerms, clearBrandingTerms, clearLicenseTerms, clearProviderIdTerms, clearProviderTerms, getBrandingQuery, getProviderQuery, matchAnyBranding, matchAnyLicense, matchAnyProvider, matchBrandingId, matchLicense, matchProviderId, supportsBrandingQuery, supportsProviderQuery
void matchCourseId(Id courseId, boolean match)
Id
for this query to match courses that
have a related course.courseId
- a course Id
match
- true
if a positive match, false
for a negative matchNullArgumentException
- courseId
is
null
mandatory
- This method must be implemented. void clearCourseIdTerms()
Id
query terms.mandatory
- This method must be implemented. boolean supportsCourseQuery()
CourseQuery
is available. true
if a course query is available,
false
otherwisemandatory
- This method must be implemented. CourseQuery getCourseQuery()
OR
term.UnimplementedException
- supportsCourseQuery()
is false
optional
- This method must be implemented if
supportsCourseQuery()
is true.
void matchAnyCourse(boolean match)
match
- true
to match courses with any course,
false
to match courses with no coursemandatory
- This method must be implemented. void clearCourseTerms()
mandatory
- This method must be implemented. void matchActivityUnitId(Id activityUnitId, boolean match)
Id
for this query.activityUnitId
- an activity unit Id
match
- true
if a positive match, false
for a negative matchNullArgumentException
- activityUnitId
is null
mandatory
- This method must be implemented. void clearActivityUnitIdTerms()
Id
query terms.mandatory
- This method must be implemented. boolean supportsActivityUnitQuery()
ActivityUnitQuery
is available. true
if an activity unit query is available,
false
otherwisemandatory
- This method must be implemented. ActivityUnitQuery getActivityUnitQuery()
OR
term.UnimplementedException
-
supportsActivityUnitQuery()
is false
optional
- This method must be implemented if
supportsActivityUnitQuery()
is true.
void matchAnyActivityUnit(boolean match)
match
- true
to match course catalogs with any
activity unit, false
to match course catalogs
with no activity unitsmandatory
- This method must be implemented. void clearActivityUnitTerms()
mandatory
- This method must be implemented. void matchCourseOfferingId(Id courseOfferingId, boolean match)
Id
for this query.courseOfferingId
- a course offering Id
match
- true
if a positive match, false
for a negative matchNullArgumentException
- courseOfferingId
is null
mandatory
- This method must be implemented. void clearCourseOfferingIdTerms()
Id
query terms.mandatory
- This method must be implemented. boolean supportsCourseOfferingQuery()
CourseOfferingQuery
is available. true
if a course offering query is available,
false
otherwisemandatory
- This method must be implemented. CourseOfferingQuery getCourseOfferingQuery()
OR
term.UnimplementedException
-
supportsCourseOfferingQuery()
is false
optional
- This method must be implemented if
supportsCourseOfferingQuery()
is true.
void matchAnyCourseOffering(boolean match)
match
- true
to match courses with any course
offering, false
to match courses with no course
offeringmandatory
- This method must be implemented. void clearCourseOfferingTerms()
mandatory
- This method must be implemented. void matchActivityId(Id activityUnitId, boolean match)
Id
for this query.activityUnitId
- an activity Id
match
- true
if a positive match, false
for a negative matchNullArgumentException
- activityId
is
null
mandatory
- This method must be implemented. void clearActivityIdTerms()
Id
query terms.mandatory
- This method must be implemented. boolean supportsActivityQuery()
ActivityQuery
is available. true
if an activity query is available,
false
otherwisemandatory
- This method must be implemented. ActivityQuery getActivityQuery()
OR
term.UnimplementedException
- supportsActivityQuery()
is false
optional
- This method must be implemented if
supportsActivityQuery()
is true.
void matchAnyActivity(boolean match)
match
- true
to match course catalogs with any
activity, false
to match course catalogs with
no activitiesmandatory
- This method must be implemented. void clearActivityTerms()
mandatory
- This method must be implemented. void matchTermId(Id termId, boolean match)
Id
for this query to match catalogs
containing terms.termId
- the term Id
match
- true
for a positive match, false
for a negative matchNullArgumentException
- termId
is
null
mandatory
- This method must be implemented. void clearTermIdTerms()
Id
query terms.mandatory
- This method must be implemented. boolean supportsTermQuery()
TermQuery
is available. true
if a term query is available, false
otherwisemandatory
- This method must be implemented. TermQuery getTermQuery()
OR
term.UnimplementedException
- supportsTermQuery()
is false
optional
- This method must be implemented if
supportsTermQuery()
is true.
void matchAnyTerm(boolean match)
match
- true
to match course catalogs with any
term, false
to match courses with no termmandatory
- This method must be implemented. void clearTermTerms()
mandatory
- This method must be implemented. void matchAncestorCourseCatalogId(Id courseCatalogId, boolean match)
Id
for this query to match
course catalogs that have the specified course catalog as an ancestor.courseCatalogId
- a course catalog Id
match
- true
for a positive match, false
for a negative matchNullArgumentException
- courseCatalogId
is null
mandatory
- This method must be implemented. void clearAncestorCourseCatalogIdTerms()
Id
query terms.mandatory
- This method must be implemented. boolean supportsAncestorCourseCatalogQuery()
CourseCatalogQuery
is available. true
if a course catalog query is available,
false
otherwisemandatory
- This method must be implemented. CourseCatalogQuery getAncestorCourseCatalogQuery()
OR
term.UnimplementedException
-
supportsAncestorCourseCatalogQuery()
is false
optional
- This method must be implemented if
supportsAncestorCourseCatalogQuery()
is
true.
void matchAnyAncestorCourseCatalog(boolean match)
match
- true
to match course catalogs with any
ancestor, false
to match root course catalogsmandatory
- This method must be implemented. void clearAncestorCourseCatalogTerms()
mandatory
- This method must be implemented. void matchDescendantCourseCatalogId(Id courseCatalogId, boolean match)
Id
for this query to match
course catalogs that have the specified course catalog as an
descendant.courseCatalogId
- a course catalog Id
match
- true
for a positive match, false
for a negative matchNullArgumentException
- courseCatalogId
is null
mandatory
- This method must be implemented. void clearDescendantCourseCatalogIdTerms()
Id
query terms.mandatory
- This method must be implemented. boolean supportsDescendantCourseCatalogQuery()
CourseCatalogQuery
is available. true
if a course catalog query is available,
false
otherwisemandatory
- This method must be implemented. CourseCatalogQuery getDescendantCourseCatalogQuery()
OR
term.UnimplementedException
-
supportsDescendantCourseCatalogQuery()
is false
optional
- This method must be implemented if
supportsDescendantCourseCatalogQuery()
is
true.
void matchAnyDescendantCourseCatalog(boolean match)
match
- true
to match course catalogs with any
descendant, false
to match leaf course catalogsmandatory
- This method must be implemented. void clearDescendantCourseCatalogTerms()
mandatory
- This method must be implemented. CourseCatalogQueryRecord getCourseCatalogQueryRecord(Type courseCatalogRecordType) throws OperationFailedException
CourseCatalog
record Type.
Multiple record
retrievals produce a nested OR
term.courseCatalogRecordType
- a course catalog record typeNullArgumentException
- courseCatalogRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(courseCatalogRecordType)
is false
mandatory
- This method must be implemented.