Interface AssessmentOfferedQuery
- All Superinterfaces:
Extensible, OsidBrowsableQuery, OsidExtensibleQuery, OsidIdentifiableQuery, OsidObjectQuery, OsidQuery, OsidSubjugateableQuery, Suppliable
This is the query for searching assessments. Each method match request
produces an AND term while multiple invocations of a method
produces a nested OR .
-
Method Summary
Modifier and TypeMethodDescriptionvoidClears all assessmentIdterms.voidClears all assessment takenIdterms.voidClears all assessment taken terms.voidClears all assessment terms.voidClears all bankIdterms.voidClears all bank terms.voidClears all deadline terms.voidClears all duration terms.voidClears all grade systemIdterms.voidClears all grade system terms.voidClears all sequential terms.voidClears all shuffled terms.voidClears all levelIdterms.voidClears all level terms.voidClears all rubric assessment offeredIdterms.voidClears all rubric assessment terms.voidClears all grade systemIdterms.voidClears all grade system terms.voidClears all scheduled terms.getAssessmentOfferedQueryRecord(Type assessmentOfferedRecordType) Gets the assessment offered query record corresponding to the givenAssessmentOfferedrecordType.Gets the query for an assessment.Gets the query for an assessment taken.Gets the query for a bank.Gets the query for a grade system.Gets the query for a grade.Gets the query for a rubric assessment.Gets the query for a grade system.voidmatchAnyAssessmentTaken(boolean match) Matches offerings that have any taken assessment version.voidmatchAnyDeadline(boolean match) Matches offerings that have any deadline assigned.voidmatchAnyDuration(boolean match) Matches offerings that have any duration assigned.voidmatchAnyGradeSystem(boolean match) Matches taken assessments that have any grade system assigned.voidmatchAnyLevel(boolean match) Matches an assessment offered that has any level assigned.voidmatchAnyRubric(boolean match) Matches an assessment offered that has any rubric assessment assigned.voidmatchAnyScoreSystem(boolean match) Matches taken assessments that have any grade system assigned.voidmatchAnyStartTime(boolean match) Matches offerings that has any start time assigned.voidmatchAssessmentId(Id assessmentId, boolean match) Sets the assessmentIdfor this query.voidmatchAssessmentTakenId(Id assessmentTakenId, boolean match) Sets the assessment takenIdfor this query.voidmatchBankId(Id bankId, boolean match) Sets the bankIdfor this query.voidmatchDeadline(DateTime start, DateTime end, boolean match) Matches assessments whose end time falls between the specified range inclusive.voidmatchDuration(Duration low, Duration high, boolean match) Matches assessments whose duration falls between the specified range inclusive.voidmatchGradeSystemId(Id gradeSystemId, boolean match) Sets the grade systemIdfor this query.voidmatchItemsSequential(boolean match) Match sequential assessments.voidmatchItemsShuffled(boolean match) Match shuffled item assessments.voidmatchLevelId(Id gradeId, boolean match) Sets the level gradeIdfor this query.voidmatchRubricId(Id assessmentOfferedId, boolean match) Sets the rubric assessment offeredIdfor this query.voidmatchScoreSystemId(Id gradeSystemId, boolean match) Sets the grade systemIdfor this query.voidmatchStartTime(DateTime start, DateTime end, boolean match) Matches assessments whose start time falls between the specified range inclusive.booleanTests if anAssessmentQueryis available.booleanTests if anAssessmentTakenQueryis available.booleanTests if aBankQueryis available.booleanTests if aGradeSystemQueryis available.booleanTests if aGradeQueryis available.booleanTests if anAssessmentOfferedQueryis available.booleanTests if aGradeSystemQueryis 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.
-
Method Details
-
matchAssessmentId
Sets the assessmentIdfor this query.- Parameters:
assessmentId- an assessmentIdmatch-truefor a positive match,falsefor a negative match- Throws:
NullArgumentException-assessmentIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearAssessmentIdTerms
void clearAssessmentIdTerms()Clears all assessmentIdterms.- Compliance:
mandatory- This method must be implemented.
-
supportsAssessmentQuery
boolean supportsAssessmentQuery()Tests if anAssessmentQueryis available.- Returns:
trueif an assessment query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getAssessmentQuery
AssessmentQuery getAssessmentQuery()Gets the query for an assessment. Multiple retrievals produce a nestedORterm.- Returns:
- the assessment query
- Throws:
UnimplementedException-supportsAssessmentQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAssessmentQuery()} is {@code true} .
-
clearAssessmentTerms
void clearAssessmentTerms()Clears all assessment terms.- Compliance:
mandatory- This method must be implemented.
-
matchLevelId
Sets the level gradeIdfor this query.- Parameters:
gradeId- a gradeIdmatch-truefor a positive match,falsefor a negative match- Throws:
NullArgumentException-gradeIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearLevelIdTerms
void clearLevelIdTerms()Clears all levelIdterms.- 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. Multiple retrievals produce a nestedORterm.- Returns:
- the 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 an assessment offered that has any level assigned.- Parameters:
match-trueto match offerings with any level,falseto match offerings with no levsls- Compliance:
mandatory- This method must be implemented.
-
clearLevelTerms
void clearLevelTerms()Clears all level terms.- Compliance:
mandatory- This method must be implemented.
-
matchItemsSequential
void matchItemsSequential(boolean match) Match sequential assessments.- Parameters:
match-truefor a positive match,falsefor a negative match- Compliance:
mandatory- This method must be implemented.
-
clearItemsSequentialTerms
void clearItemsSequentialTerms()Clears all sequential terms.- Compliance:
mandatory- This method must be implemented.
-
matchItemsShuffled
void matchItemsShuffled(boolean match) Match shuffled item assessments.- Parameters:
match-truefor a positive match,falsefor a negative match- Compliance:
mandatory- This method must be implemented.
-
clearItemsShuffledTerms
void clearItemsShuffledTerms()Clears all shuffled terms.- Compliance:
mandatory- This method must be implemented.
-
matchStartTime
Matches assessments whose start time falls between the specified range inclusive.- Parameters:
start- start of rangeend- end of rangematch-truefor a positive match,falsefor a negative match- Throws:
InvalidArgumentException-endis less thanstart- Compliance:
mandatory- This method must be implemented.
-
matchAnyStartTime
void matchAnyStartTime(boolean match) Matches offerings that has any start time assigned.- Parameters:
match-trueto match offerings with any start time,falseto match offerings with no start time- Compliance:
mandatory- This method must be implemented.
-
clearStartTimeTerms
void clearStartTimeTerms()Clears all scheduled terms.- Compliance:
mandatory- This method must be implemented.
-
matchDeadline
Matches assessments whose end time falls between the specified range inclusive.- Parameters:
start- start of rangeend- end of rangematch-truefor a positive match,falsefor a negative match- Throws:
InvalidArgumentException-endis less thanstartNullArgumentException-startorendisnull- Compliance:
mandatory- This method must be implemented.
-
matchAnyDeadline
void matchAnyDeadline(boolean match) Matches offerings that have any deadline assigned.- Parameters:
match-trueto match offerings with any deadline,falseto match offerings with no deadline- Compliance:
mandatory- This method must be implemented.
-
clearDeadlineTerms
void clearDeadlineTerms()Clears all deadline terms.- Compliance:
mandatory- This method must be implemented.
-
matchDuration
Matches assessments whose duration falls between the specified range inclusive.- Parameters:
low- start range of durationhigh- end range of durationmatch-truefor a positive match,falsefor a negative match- Throws:
InvalidArgumentException-endis less thanstartNullArgumentException-startorendisnull- Compliance:
mandatory- This method must be implemented.
-
matchAnyDuration
void matchAnyDuration(boolean match) Matches offerings that have any duration assigned.- Parameters:
match-trueto match offerings with any duration,falseto match offerings with no duration- Compliance:
mandatory- This method must be implemented.
-
clearDurationTerms
void clearDurationTerms()Clears all duration terms.- Compliance:
mandatory- This method must be implemented.
-
matchScoreSystemId
Sets the grade systemIdfor this query.- Parameters:
gradeSystemId- a grade systemIdmatch-true for a positive match, false for a negative match- Throws:
NullArgumentException-gradeSystemIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearScoreSystemIdTerms
void clearScoreSystemIdTerms()Clears all grade systemIdterms.- Compliance:
mandatory- This method must be implemented.
-
supportsScoreSystemQuery
boolean supportsScoreSystemQuery()Tests if aGradeSystemQueryis available.- Returns:
trueif a grade system query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getScoreSystemQuery
GradeSystemQuery getScoreSystemQuery()Gets the query for a grade system. Multiple retrievals produce a nestedORterm.- Returns:
- the grade system query
- Throws:
UnimplementedException-supportsScoreSystemQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsScoreSystemQuery()} is {@code true} .
-
matchAnyScoreSystem
void matchAnyScoreSystem(boolean match) Matches taken assessments that have any grade system assigned.- Parameters:
match-trueto match assessments with any grade system,falseto match assessments with no grade system- Compliance:
mandatory- This method must be implemented.
-
clearScoreSystemTerms
void clearScoreSystemTerms()Clears all grade system terms.- Compliance:
mandatory- This method must be implemented.
-
matchGradeSystemId
Sets the grade systemIdfor this query.- Parameters:
gradeSystemId- a grade systemIdmatch-true for a positive match, false for a negative match- Throws:
NullArgumentException-gradeSystemIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearGradeSystemIdTerms
void clearGradeSystemIdTerms()Clears all grade systemIdterms.- Compliance:
mandatory- This method must be implemented.
-
supportsGradeSystemQuery
boolean supportsGradeSystemQuery()Tests if aGradeSystemQueryis available.- Returns:
trueif a grade system query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getGradeSystemQuery
GradeSystemQuery getGradeSystemQuery()Gets the query for a grade system. Multiple retrievals produce a nestedORterm.- Returns:
- the grade system query
- Throws:
UnimplementedException-supportsScoreSystemQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsScoreSystemQuery()} is {@code true} .
-
matchAnyGradeSystem
void matchAnyGradeSystem(boolean match) Matches taken assessments that have any grade system assigned.- Parameters:
match-trueto match assessments with any grade system,falseto match assessments with no grade system- Compliance:
mandatory- This method must be implemented.
-
clearGradeSystemTerms
void clearGradeSystemTerms()Clears all grade system terms.- Compliance:
mandatory- This method must be implemented.
-
matchRubricId
Sets the rubric assessment offeredIdfor this query.- Parameters:
assessmentOfferedId- an assessment offeredIdmatch-truefor a positive match,falsefor a negative match- Throws:
NullArgumentException-assessmentOfferedIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearRubricIdTerms
void clearRubricIdTerms()Clears all rubric assessment offeredIdterms.- Compliance:
mandatory- This method must be implemented.
-
supportsRubricQuery
boolean supportsRubricQuery()Tests if anAssessmentOfferedQueryis available.- Returns:
trueif a rubric assessment offered query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getRubricQuery
AssessmentOfferedQuery getRubricQuery()Gets the query for a rubric assessment. Multiple retrievals produce a nestedORterm.- Returns:
- the assessment offered query
- Throws:
UnimplementedException-supportsRubricQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRubricQuery()} is {@code true} .
-
matchAnyRubric
void matchAnyRubric(boolean match) Matches an assessment offered that has any rubric assessment assigned.- Parameters:
match-trueto match assessments offered with any rubric,falseto match assessments offered with no rubric- Compliance:
mandatory- This method must be implemented.
-
clearRubricTerms
void clearRubricTerms()Clears all rubric assessment terms.- Compliance:
mandatory- This method must be implemented.
-
matchAssessmentTakenId
Sets the assessment takenIdfor this query.- Parameters:
assessmentTakenId- an assessment takenIdmatch-truefor a positive match,falsefor a negative match- Throws:
NullArgumentException-assessmentTakenIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearAssessmentTakenIdTerms
void clearAssessmentTakenIdTerms()Clears all assessment takenIdterms.- Compliance:
mandatory- This method must be implemented.
-
supportsAssessmentTakenQuery
boolean supportsAssessmentTakenQuery()Tests if anAssessmentTakenQueryis available.- Returns:
trueif an assessment taken query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getAssessmentTakenQuery
AssessmentTakenQuery getAssessmentTakenQuery()Gets the query for an assessment taken. Multiple retrievals produce a nestedORterm.- Returns:
- the assessment taken query
- Throws:
UnimplementedException-supportsAssessmentTakenQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAssessmentTakenQuery()} is {@code true} .
-
matchAnyAssessmentTaken
void matchAnyAssessmentTaken(boolean match) Matches offerings that have any taken assessment version.- Parameters:
match-trueto match offerings with any taken assessment,falseto match offerings with no assessmen taken- Compliance:
mandatory- This method must be implemented.
-
clearAssessmentTakenTerms
void clearAssessmentTakenTerms()Clears all assessment taken terms.- Compliance:
mandatory- This method must be implemented.
-
matchBankId
Sets the bankIdfor this query.- Parameters:
bankId- a bankIdmatch-truefor a positive match,falsefor a negative match- Throws:
NullArgumentException-bankIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearBankIdTerms
void clearBankIdTerms()Clears all bankIdterms.- Compliance:
mandatory- This method must be implemented.
-
supportsBankQuery
boolean supportsBankQuery()Tests if aBankQueryis available.- Returns:
trueif a bank query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getBankQuery
BankQuery getBankQuery()Gets the query for a bank. Multiple retrievals produce a nestedORterm.- Returns:
- the bank query
- Throws:
UnimplementedException-supportsBankQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsBankQuery()} is {@code true} .
-
clearBankTerms
void clearBankTerms()Clears all bank terms.- Compliance:
mandatory- This method must be implemented.
-
getAssessmentOfferedQueryRecord
AssessmentOfferedQueryRecord getAssessmentOfferedQueryRecord(Type assessmentOfferedRecordType) throws OperationFailedException Gets the assessment offered query record corresponding to the givenAssessmentOfferedrecordType. Multiple retrievals produce a nestedORterm.- Parameters:
assessmentOfferedRecordType- an assessment offered record type- Returns:
- the assessment offered query record
- Throws:
NullArgumentException-assessmentOfferedRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(assessmentOfferedRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-