public interface RegistrationQuery extends OsidRelationshipQuery
This is the query for searching registrations. 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 |
clearActivityBundleIdTerms()
Clears the activity bundle
Id terms. |
void |
clearActivityBundleTerms()
Clears the activity bundle terms.
|
void |
clearCourseCatalogIdTerms()
Clears the course catalog
Id terms. |
void |
clearCourseCatalogTerms()
Clears the course catalog terms.
|
void |
clearCreditsTerms()
Clears the credit terms.
|
void |
clearGradingOptionIdTerms()
Clears the grade system
Id terms. |
void |
clearGradingOptionTerms()
Clears the grading option terms.
|
void |
clearStudentIdTerms()
Clears the student resource
Id terms. |
void |
clearStudentTerms()
Clears the student resource terms.
|
ActivityBundleQuery |
getActivityBundleQuery()
Gets the query for an activity bundle.
|
CourseCatalogQuery |
getCourseCatalogQuery()
Gets the query for a course catalog.
|
GradeSystemQuery |
getGradingOptionQuery()
Gets the query for a grading option.
|
RegistrationQueryRecord |
getRegistrationQueryRecord(Type registrationRecordType)
Gets the registration query record corresponding to the given
Registration record Type. |
ResourceQuery |
getStudentQuery()
Gets the query for a student.
|
void |
matchActivityBundleId(Id activityBundleId,
boolean match)
Sets the activity bundle
Id for this query to match
registrations that have a related course. |
void |
matchAnyCredits(boolean match)
Matches a registration that has any credits assigned.
|
void |
matchAnyGradingOption(boolean match)
Matches registrations that have any grading option.
|
void |
matchCourseCatalogId(Id courseCatalogId,
boolean match)
Sets the course catalog
Id for this query to match
registrations assigned to course catalogs. |
void |
matchCredits(java.math.BigDecimal min,
java.math.BigDecimal max,
boolean match)
Matches registrations with credits between the given numbers
inclusive.
|
void |
matchGradingOptionId(Id gradeSystemId,
boolean match)
Sets the grade system
Id for this query. |
void |
matchStudentId(Id resourceId,
boolean match)
Sets the student resource
Id for this query. |
boolean |
supportsActivityBundleQuery()
Tests if an
ActivityBundleQuery is available. |
boolean |
supportsCourseCatalogQuery()
Tests if a
CourseCatalogQuery is available. |
boolean |
supportsGradingOptionQuery()
Tests if a
GradeSystemQuery is available. |
boolean |
supportsStudentQuery()
Tests if a
ResourceQuery is available. |
clearEndReasonIdTerms, clearEndReasonTerms, getEndReasonQuery, matchAnyEndReason, matchEndReasonId, supportsEndReasonQueryclearCommentIdTerms, 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, supportsSubjectRelevancyQueryclearIdTerms, matchIdclearRecordTerms, matchAnyRecord, matchRecordTypegetRecordTypes, hasRecordTypeclearAnyTerms, clearKeywordTerms, getStringMatchTypes, matchAny, matchKeyword, supportsStringMatchTypeclearDateTerms, clearEffectiveTerms, clearEndDateTerms, clearStartDateTerms, matchAnyEndDate, matchAnyStartDate, matchDate, matchEffective, matchEndDate, matchStartDatevoid matchActivityBundleId(Id activityBundleId, boolean match)
Id for this query to match
registrations that have a related course.activityBundleId - an activity bundle Id match - true if a positive match, false
for a negative matchNullArgumentException - activityBundleId
is null mandatory - This method must be implemented. void clearActivityBundleIdTerms()
Id terms.mandatory - This method must be implemented. boolean supportsActivityBundleQuery()
ActivityBundleQuery is available. true if an activity bundle query is available,
false otherwisemandatory - This method must be implemented. ActivityBundleQuery getActivityBundleQuery()
OR term.UnimplementedException -
supportsActivityBundleQuery() is false optional - This method must be implemented if
supportsActivityBundleQuery() is true.
void clearActivityBundleTerms()
mandatory - This method must be implemented. void matchStudentId(Id resourceId, boolean match)
Id for this query.resourceId - a resource Id match - true if a positive match, false
for a negative matchNullArgumentException - resourceId is
null mandatory - This method must be implemented. void clearStudentIdTerms()
Id terms.mandatory - This method must be implemented. boolean supportsStudentQuery()
ResourceQuery is available. true if a resource query is available,
false otherwisemandatory - This method must be implemented. ResourceQuery getStudentQuery()
OR term.UnimplementedException - supportsStudentQuery()
is false optional - This method must be implemented if
supportsStudentQuery() is true. void clearStudentTerms()
mandatory - This method must be implemented. void matchCredits(java.math.BigDecimal min,
java.math.BigDecimal max,
boolean match)
min - low numbermax - high numbermatch - true for a positive match, false
for a negative matchInvalidArgumentException - max is less
than min mandatory - This method must be implemented. void matchAnyCredits(boolean match)
match - true to match registrations with any
credits, false to match registrations with no
creditsmandatory - This method must be implemented. void clearCreditsTerms()
mandatory - This method must be implemented. void matchGradingOptionId(Id gradeSystemId, boolean match)
Id for this query.gradeSystemId - a grade system Id match - true if a positive match, false
for a negative matchNullArgumentException - gradeSystemId is
null mandatory - This method must be implemented. void clearGradingOptionIdTerms()
Id terms.mandatory - This method must be implemented. boolean supportsGradingOptionQuery()
GradeSystemQuery is available. true if a grade system query is available,
false otherwisemandatory - This method must be implemented. GradeSystemQuery getGradingOptionQuery()
OR term.UnimplementedException -
supportsGradingOptionQuery() is false optional - This method must be implemented if
supportsGradingOptionQuery() is true.
void matchAnyGradingOption(boolean match)
match - true to match registrations with any
grading option, false to match registrations
with no grading optionsmandatory - This method must be implemented. void clearGradingOptionTerms()
mandatory - This method must be implemented. void matchCourseCatalogId(Id courseCatalogId, boolean match)
Id for this query to match
registrations assigned to course catalogs.courseCatalogId - the course catalog Id match - true for a positive match, false
for a negative matchNullArgumentException - courseCatalogId
is null mandatory - This method must be implemented. void clearCourseCatalogIdTerms()
Id terms.mandatory - This method must be implemented. boolean supportsCourseCatalogQuery()
CourseCatalogQuery is available. true if a course catalog query is available,
false otherwisemandatory - This method must be implemented. CourseCatalogQuery getCourseCatalogQuery()
OR term.UnimplementedException -
supportsCourseCatalogQuery() is false optional - This method must be implemented if
supportsCourseCatalogQuery() is true.
void clearCourseCatalogTerms()
mandatory - This method must be implemented. RegistrationQueryRecord getRegistrationQueryRecord(Type registrationRecordType) throws OperationFailedException
Registration record Type. Multiple record
retrievals produce a nested OR term.registrationRecordType - a registration record typeNullArgumentException - registrationRecordType
is null OperationFailedException - unable to complete requestUnsupportedException -
hasRecordType(registrationRecordType) is false
mandatory - This method must be implemented.