public interface ProgramEntryQuery extends OsidRelationshipQuery
This is the query for searching program entries. 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 |
clearAdmissionDateTerms()
Clears the admission date terms.
|
void |
clearCompleteTerms()
Clears the complete terms.
|
void |
clearCourseCatalogIdTerms()
Clears the course catalog
Id terms. |
void |
clearCourseCatalogTerms()
Clears the course catalog terms.
|
void |
clearCreditScaleIdTerms()
Clears the grade system
Id terms. |
void |
clearCreditScaleTerms()
Clears the credit scale terms.
|
void |
clearCreditsEarnedTerms()
Clears the earned credits terms.
|
void |
clearEnrollmentIdTerms()
Clears the enrollment
Id terms. |
void |
clearEnrollmentTerms()
Clears the enrollment terms.
|
void |
clearGPAScaleIdTerms()
Clears the grade system
Id terms. |
void |
clearGPAScaleTerms()
Clears the credit scale terms.
|
void |
clearGPATerms()
Clears the GPA terms.
|
void |
clearProgramIdTerms()
Clears the program
Id terms. |
void |
clearProgramTerms()
Clears the program terms.
|
void |
clearStudentIdTerms()
Clears the student
Id terms. |
void |
clearStudentTerms()
Clears the student option terms.
|
void |
clearTermIdTerms()
Clears the term
Id terms. |
void |
clearTermTerms()
Clears the term terms.
|
CourseCatalogQuery |
getCourseCatalogQuery()
Gets the query for a course catalog.
|
GradeSystemQuery |
getCreditScaleQuery()
Gets the query for a grade system.
|
EnrollmentQuery |
getEnrollmentQuery()
Gets the query for an enrollment entry.
|
GradeSystemQuery |
getGPAScaleQuery()
Gets the query for a grade system.
|
ProgramEntryQueryRecord |
getProgramEntryQueryRecord(Type programEntryRecordType)
Gets the program entry query record corresponding to the given
ProgramEntry record Type. |
ProgramQuery |
getProgramQuery()
Gets the query for a program entry.
|
ResourceQuery |
getStudentQuery()
Gets the query for a student option.
|
TermQuery |
getTermQuery()
Gets the query for a term entry.
|
void |
matchAdmissionDate(DateTime from,
DateTime to,
boolean match)
Matches admission dates between the given dates inclusive.
|
void |
matchAnyAdmissionDate(boolean match)
Matches entries that have any admission date.
|
void |
matchAnyCreditScale(boolean match)
Matches entries that have any credit scale.
|
void |
matchAnyCreditsEarned(boolean match)
Matches entries that have any earned credits.
|
void |
matchAnyEnrollment(boolean match)
Matches entries that have any enrollment.
|
void |
matchAnyGPA(boolean match)
Matches entries that have any GPA.
|
void |
matchAnyGPAScale(boolean match)
Matches entries that have any GPA scale.
|
void |
matchAnyTerm(boolean match)
Matches entries that have any term.
|
void |
matchComplete(boolean match)
Matches completed programs.
|
void |
matchCourseCatalogId(Id courseCatalogId,
boolean match)
Sets the course catalog
Id for this query to match
entries assigned to course catalogs. |
void |
matchCreditScaleId(Id gradeSystemId,
boolean match)
Matches a credit scale
Id. |
void |
matchCreditsEarned(java.math.BigDecimal from,
java.math.BigDecimal to,
boolean match)
Matches earned credits between the given range inclusive.
|
void |
matchEnrollmentId(Id enrollmentId,
boolean match)
Sets the enrollment
Id for this query. |
void |
matchGPA(java.math.BigDecimal from,
java.math.BigDecimal to,
boolean match)
Matches GPA between the given range inclusive.
|
void |
matchGPAScaleId(Id gradeSystemId,
boolean match)
Matches a GPA scale
Id. |
void |
matchProgramId(Id programId,
boolean match)
Sets the program
Id for this query to match entries
that have an entry for the given course. |
void |
matchStudentId(Id resourceId,
boolean match)
Sets the student
Id for this query. |
void |
matchTermId(Id termId,
boolean match)
Sets the term
Id for this query. |
boolean |
supportsCourseCatalogQuery()
Tests if a
CourseCatalogQuery is available. |
boolean |
supportsCreditScaleQuery()
Tests if a
GradeSystemQuery is available. |
boolean |
supportsEnrollmentQuery()
Tests if an
EnrollmentQuery is available. |
boolean |
supportsGPAScaleQuery()
Tests if a
GradeSystemQuery is available. |
boolean |
supportsProgramQuery()
Tests if a
ProgramQuery is available. |
boolean |
supportsStudentQuery()
Tests if a
StudentQuery is available. |
boolean |
supportsTermQuery()
Tests if a
TermQuery is available. |
clearEndReasonIdTerms, clearEndReasonTerms, getEndReasonQuery, matchAnyEndReason, matchEndReasonId, supportsEndReasonQuery
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
clearDateTerms, clearEffectiveTerms, clearEndDateTerms, clearStartDateTerms, matchAnyEndDate, matchAnyStartDate, matchDate, matchEffective, matchEndDate, matchStartDate
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()
StudentQuery
is available. true
if a student 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 matchProgramId(Id programId, boolean match)
Id
for this query to match entries
that have an entry for the given course.programId
- a program Id
match
- true
if a positive match, false
for a negative matchNullArgumentException
- programId
is
null
mandatory
- This method must be implemented. void clearProgramIdTerms()
Id
terms.mandatory
- This method must be implemented. boolean supportsProgramQuery()
ProgramQuery
is available. true
if a program query is available,
false
otherwisemandatory
- This method must be implemented. ProgramQuery getProgramQuery()
OR
term.UnimplementedException
- supportsProgramQuery()
is false
optional
- This method must be implemented if
supportsProgramQuery()
is true.
void clearProgramTerms()
mandatory
- This method must be implemented. void matchAdmissionDate(DateTime from, DateTime to, boolean match)
from
- starting dateto
- ending datematch
- true
if a positive match, false
for a negative matchInvalidArgumentException
- from
is
greater than to
NullArgumentException
- from
or
to
is null
mandatory
- This method must be implemented. void matchAnyAdmissionDate(boolean match)
match
- true
to match entries with any admission
date, false
to match entries with no admission
datemandatory
- This method must be implemented. void clearAdmissionDateTerms()
mandatory
- This method must be implemented. void matchComplete(boolean match)
match
- true
if a positive match, false
for a negative matchmandatory
- This method must be implemented. void clearCompleteTerms()
mandatory
- This method must be implemented. void matchTermId(Id termId, boolean match)
Id
for this query.termId
- a term Id
match
- true
if a positive match, false
for a negative matchNullArgumentException
- termId
is
null
mandatory
- This method must be implemented. void clearTermIdTerms()
Id
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 entries specific to a term,
false
to match entries for the entire
enrollmentmandatory
- This method must be implemented. void clearTermTerms()
mandatory
- This method must be implemented. void matchCreditScaleId(Id gradeSystemId, boolean match)
Id.
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 clearCreditScaleIdTerms()
Id
terms.mandatory
- This method must be implemented. boolean supportsCreditScaleQuery()
GradeSystemQuery
is available. true
if a grade system query is available,
false
otherwisemandatory
- This method must be implemented. GradeSystemQuery getCreditScaleQuery()
OR
term.UnimplementedException
-
supportsCreditScaleQuery()
is false
optional
- This method must be implemented if
supportsCreditScaleQuery()
is true.
void matchAnyCreditScale(boolean match)
match
- true
to match entries with any credit
scale, false
to match entries with no credit
scalemandatory
- This method must be implemented. void clearCreditScaleTerms()
mandatory
- This method must be implemented. void matchCreditsEarned(java.math.BigDecimal from, java.math.BigDecimal to, boolean match)
from
- starting valueto
- ending valuematch
- true
if a positive match, false
for a negative matchInvalidArgumentException
- from
is
greater than to
NullArgumentException
- from
or
to
is null
mandatory
- This method must be implemented. void matchAnyCreditsEarned(boolean match)
match
- true
to match entries with any earned
credits, false
to match entries with no earned
creditsmandatory
- This method must be implemented. void clearCreditsEarnedTerms()
mandatory
- This method must be implemented. void matchGPAScaleId(Id gradeSystemId, boolean match)
Id.
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 clearGPAScaleIdTerms()
Id
terms.mandatory
- This method must be implemented. boolean supportsGPAScaleQuery()
GradeSystemQuery
is available. true
if a grade system query is available,
false
otherwisemandatory
- This method must be implemented. GradeSystemQuery getGPAScaleQuery()
OR
term.UnimplementedException
- supportsGPAScaleQuery()
is false
optional
- This method must be implemented if
supportsGPAScaleQuery()
is true.
void matchAnyGPAScale(boolean match)
match
- true
to match entries with any GPA scale,
false
to match entries with no GPA scalemandatory
- This method must be implemented. void clearGPAScaleTerms()
mandatory
- This method must be implemented. void matchGPA(java.math.BigDecimal from, java.math.BigDecimal to, boolean match)
from
- starting valueto
- ending valuematch
- true
if a positive match, false
for a negative matchInvalidArgumentException
- from
is
greater than to
NullArgumentException
- from
or
to
is null
mandatory
- This method must be implemented. void matchAnyGPA(boolean match)
match
- true
to match entries with any GPA,
false
to match entries with no GPAmandatory
- This method must be implemented. void clearGPATerms()
mandatory
- This method must be implemented. void matchEnrollmentId(Id enrollmentId, boolean match)
Id
for this query.enrollmentId
- an enrollment Id
match
- true
if a positive match, false
for a negative matchNullArgumentException
- enrollmentId
is
null
mandatory
- This method must be implemented. void clearEnrollmentIdTerms()
Id
terms.mandatory
- This method must be implemented. boolean supportsEnrollmentQuery()
EnrollmentQuery
is available. true
if an enrollment query is available,
false
otherwisemandatory
- This method must be implemented. EnrollmentQuery getEnrollmentQuery()
OR
term.UnimplementedException
-
supportsEnrollmentQuery()
is false
optional
- This method must be implemented if
supportsEnrollmentQuery()
is true.
void matchAnyEnrollment(boolean match)
match
- true
to match enries with any enrollment,
false
to match enries with no enrollmentsmandatory
- This method must be implemented. void clearEnrollmentTerms()
mandatory
- This method must be implemented. void matchCourseCatalogId(Id courseCatalogId, boolean match)
Id
for this query to match
entries 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. ProgramEntryQueryRecord getProgramEntryQueryRecord(Type programEntryRecordType) throws OperationFailedException
ProgramEntry
record Type.
Multiple record
retrievals produce a nested OR
term.programEntryRecordType
- a program entry record typeNullArgumentException
- programEntryRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(programEntryRecordType)
is false
mandatory
- This method must be implemented.