public interface ModuleQuery extends OsidGovernatorQuery, OsidSubjugateableQuery
This is the query for searching modules. Each method specifies an
AND
term while multiple invocations of the same method
produce a nested OR.
Modifier and Type | Method and Description |
---|---|
void |
clearCourseCatalogIdTerms()
Clears the course catalog
Id terms. |
void |
clearCourseCatalogTerms()
Clears the course catalog terms.
|
void |
clearDocetIdTerms()
Clears the docet
Id terms. |
void |
clearDocetTerms()
Clears the docet terms.
|
void |
clearSyllabusIdTerms()
Clears the syllabus
Id terms. |
void |
clearSyllabusTerms()
Clears the syllabus terms.
|
CourseCatalogQuery |
getCourseCatalogQuery()
Gets the query for a course catalog query.
|
DocetQuery |
getDocetQuery()
Gets the query for a docet query.
|
ModuleQueryRecord |
getModuleQueryRecord(Type moduleRecordType)
Gets the module query record corresponding to the given
Module
record Type. |
SyllabusQuery |
getSyllabusQuery()
Gets the query for a docet.
|
void |
matchAnyDocet(boolean match)
Matches modules with any docet.
|
void |
matchCourseCatalogId(Id courseCatalogId,
boolean match)
Sets the docet
Id for this query to match modules
assigned to course catalogs. |
void |
matchDocetId(Id docetId,
boolean match)
Sets a docet
Id. |
void |
matchSyllabusId(Id syllabusId,
boolean match)
Sets the syllabus
Id for this query. |
boolean |
supportsCourseCatalogQuery()
Tests if an
CourseCatalogQuery is available. |
boolean |
supportsDocetQuery()
Tests if an
DocetQuery is available. |
boolean |
supportsSyllabusQuery()
Tests if a syllabus query 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
clearActiveTerms, clearDisabledTerms, clearEnabledTerms, clearOperationalTerms, matchActive, matchDisabled, matchEnabled, matchOperational
clearBrandingIdTerms, clearBrandingTerms, clearLicenseTerms, clearProviderIdTerms, clearProviderTerms, getBrandingQuery, getProviderQuery, matchAnyBranding, matchAnyLicense, matchAnyProvider, matchBrandingId, matchLicense, matchProviderId, supportsBrandingQuery, supportsProviderQuery
void matchSyllabusId(Id syllabusId, boolean match)
Id
for this query.syllabusId
- a syllabus Id
match
- true
for a positive match, false
for a negative matchNullArgumentException
- syllabusId
is
null
mandatory
- This method must be implemented. void clearSyllabusIdTerms()
Id
terms.mandatory
- This method must be implemented. boolean supportsSyllabusQuery()
true
if a syllabus query is available,
false
otherwisemandatory
- This method must be implemented. SyllabusQuery getSyllabusQuery()
UnimplementedException
- supportsSyllabusQuery()
is false
optional
- This method must be implemented if
supportsSyllabusQuery()
is true.
void clearSyllabusTerms()
mandatory
- This method must be implemented. void matchDocetId(Id docetId, boolean match)
Id.
docetId
- a docet Id
match
- true
for a positive match, false
for a negative matchNullArgumentException
- docetId
is
null
mandatory
- This method must be implemented. void clearDocetIdTerms()
Id
terms.mandatory
- This method must be implemented. boolean supportsDocetQuery()
DocetQuery
is available. true
if a docet query is available,
false
otherwisemandatory
- This method must be implemented. DocetQuery getDocetQuery()
OR
term.UnimplementedException
- supportsDocetQuery()
is false
optional
- This method must be implemented if
supportsDocetQuery()
is true.
void matchAnyDocet(boolean match)
match
- true
to match modules with any docet,
false
to match modules with no docetsmandatory
- This method must be implemented. void clearDocetTerms()
mandatory
- This method must be implemented. void matchCourseCatalogId(Id courseCatalogId, boolean match)
Id
for this query to match modules
assigned to course catalogs.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 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. ModuleQueryRecord getModuleQueryRecord(Type moduleRecordType) throws OperationFailedException
Module
record Type.
Multiple record retrievals produce
a nested OR
term.moduleRecordType
- a module record typeNullArgumentException
- moduleRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(moduleRecordType)
is false
mandatory
- This method must be implemented.