Interface DocetQuery
- All Superinterfaces:
Extensible, OsidBrowsableQuery, OsidExtensibleQuery, OsidIdentifiableQuery, OsidObjectQuery, OsidQuery, OsidRelationshipQuery, OsidTemporalQuery, Suppliable
This is the query for searching for docets. Each method specifies an
AND term while multiple invocations of the same method produce a
nested OR .
-
Method Summary
Modifier and TypeMethodDescriptionvoidClears the activity unitIdterms.voidClears the activity unit terms.voidClears the assessmentIdterms.voidClears the assessment terms.voidClears the assetIdterms.voidClears the asset terms.voidClears the course catalogIdterms.voidClears the course catalog terms.voidClears the duration terms.voidClears the in class terms.voidClears the objectiveIdterms.voidClears the objective terms.voidClears the moduleIdterms.voidClears the module terms.Gets the query for an activity unit.Gets the query for an assessment.Gets the query for an asset.Gets the query for a course catalog query.getDocetQueryRecord(Type docetRecordType) Gets the docet query record corresponding to the givenDocetrecordType.Multiple record retrievals produce a nested booleanORterm.Gets the query for an objective.Gets the query for a module.voidmatchActivityUnitId(Id activityUnitId, boolean match) Sets the activity unitIdfor this query.voidmatchAnyAssessment(boolean match) Matches an objective that has any assessment assigned.voidmatchAnyAsset(boolean match) Matches a docet that has any asset assigned.voidmatchAnyDuration(boolean match) Matches a docet that has any duration assigned.voidmatchAnyLearningObjective(boolean match) Matches a docet that has any objective assigned.voidmatchAssessmentId(Id assessmentId, boolean match) Sets the assessmentIdfor this query.voidmatchAssetId(Id assetId, boolean match) Sets the assetIdfor this query.voidmatchCourseCatalogId(Id courseCatalogId, boolean match) Sets the docetIdfor this query to match syllabi assigned to course catalogs.voidmatchDuration(Duration from, Duration to, boolean match) Matches durations between the given durations inclusive.voidmatchInClass(boolean match) Matches docets that occur in a class.voidmatchLearningObjectiveId(Id objectiveId, boolean match) Sets the objectiveIdfor this query.voidmatchModuleId(Id moduleId, boolean match) Sets the moduleIdfor this query.booleanTests if an activity unit query is available.booleanTests if anAssessmentQueryis available.booleanTests if anAssetQueryis available.booleanTests if anCourseCatalogQueryis available.booleanTests if anObjectiveQueryis available for querying objectives.booleanTests if a module query is 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
-
matchModuleId
Sets the moduleIdfor this query.- Parameters:
moduleId- a moduleIdmatch-truefor a positive match,falsefor a negative match- Throws:
NullArgumentException-moduleIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearModuleIdTerms
void clearModuleIdTerms()Clears the moduleIdterms.- Compliance:
mandatory- This method must be implemented.
-
supportsModuleQuery
boolean supportsModuleQuery()Tests if a module query is available.- Returns:
trueif a module query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getModuleQuery
ModuleQuery getModuleQuery()Gets the query for a module.- Returns:
- the module query
- Throws:
UnimplementedException-supportsModuleQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsModuleQuery()} is {@code true} .
-
clearModuleTerms
void clearModuleTerms()Clears the module terms.- Compliance:
mandatory- This method must be implemented.
-
matchActivityUnitId
Sets the activity unitIdfor this query.- Parameters:
activityUnitId- an activity unitIdmatch-truefor a positive match,falsefor a negative match- Throws:
NullArgumentException-activityUnitIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearActivityUnitIdTerms
void clearActivityUnitIdTerms()Clears the activity unitIdterms.- Compliance:
mandatory- This method must be implemented.
-
supportsActivityUnitQuery
boolean supportsActivityUnitQuery()Tests if an activity unit query is available.- Returns:
trueif an activity unit query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getActivityUnitQuery
ActivityUnitQuery getActivityUnitQuery()Gets the query for an activity unit.- Returns:
- the activity unit query
- Throws:
UnimplementedException-supportsActivityUnitQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsActivityUnitQuery()} is {@code true} .
-
clearActivityUnitTerms
void clearActivityUnitTerms()Clears the activity unit terms.- Compliance:
mandatory- This method must be implemented.
-
matchLearningObjectiveId
Sets the objectiveIdfor this query.- Parameters:
objectiveId- an objectiveIdmatch-truefor 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 anObjectiveQueryis available for querying objectives.- Returns:
trueif an objective query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getLearningObjectiveQuery
ObjectiveQuery getLearningObjectiveQuery()Gets the query for an objective. Multiple retrievals produce a nestedORterm.- Returns:
- the 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 a docet that has any objective assigned.- Parameters:
match-trueto match docets with any objective,falseto match docets with no objective- Compliance:
mandatory- This method must be implemented.
-
clearLearningObjectiveTerms
void clearLearningObjectiveTerms()Clears the objective terms.- Compliance:
mandatory- This method must be implemented.
-
matchInClass
void matchInClass(boolean match) Matches docets that occur in a class.- Parameters:
match-truefor a positive match,falsefor a negative match- Throws:
NullArgumentException-assetIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearInClassTerms
void clearInClassTerms()Clears the in class terms.- Compliance:
mandatory- This method must be implemented.
-
matchDuration
Matches durations between the given durations inclusive.- Parameters:
from- starting durationto- ending durationmatch-truefor a positive match,falsefor a negative match- Throws:
InvalidArgumentException-fromis greater thantoNullArgumentException-fromortoisnull- Compliance:
mandatory- This method must be implemented.
-
matchAnyDuration
void matchAnyDuration(boolean match) Matches a docet that has any duration assigned.- Parameters:
match-trueto match docets with any duration,falseto match docets with no duration- Compliance:
mandatory- This method must be implemented.
-
clearDurationTerms
void clearDurationTerms()Clears the duration terms.- Compliance:
mandatory- This method must be implemented.
-
matchAssetId
Sets the assetIdfor this query.- Parameters:
assetId- an assetIdmatch-truefor a positive match,falsefor a negative match- Throws:
NullArgumentException-assetIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearAssetIdTerms
void clearAssetIdTerms()Clears the assetIdterms.- Compliance:
mandatory- This method must be implemented.
-
supportsAssetQuery
boolean supportsAssetQuery()Tests if anAssetQueryis available.- Returns:
trueif an objective query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getAssetQuery
AssetQuery getAssetQuery()Gets the query for an asset. Multiple retrievals produce a nestedORterm.- Returns:
- the asset query
- Throws:
UnimplementedException-supportsAssetQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsObjectiveQuery()} is {@code true} .
-
matchAnyAsset
void matchAnyAsset(boolean match) Matches a docet that has any asset assigned.- Parameters:
match-trueto match docets with any asset,falseto match docets with no asset- Compliance:
mandatory- This method must be implemented.
-
clearAssetTerms
void clearAssetTerms()Clears the asset terms.- Compliance:
mandatory- This method must be implemented.
-
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 the 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} .
-
matchAnyAssessment
void matchAnyAssessment(boolean match) Matches an objective that has any assessment assigned.- Parameters:
match-trueto match docets with any assessment,falseto match docets with no assessment- Compliance:
mandatory- This method must be implemented.
-
clearAssessmentTerms
void clearAssessmentTerms()Clears the assessment terms.- Compliance:
mandatory- This method must be implemented.
-
matchCourseCatalogId
Sets the docetIdfor this query to match syllabi assigned to course catalogs.- Parameters:
courseCatalogId- a 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 anCourseCatalogQueryis 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 query. 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.
-
getDocetQueryRecord
Gets the docet query record corresponding to the givenDocetrecordType.Multiple record retrievals produce a nested booleanORterm.- Parameters:
docetRecordType- a docet record type- Returns:
- the docet query record
- Throws:
NullArgumentException-docetRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(docetRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-