Interface BankQuery
- All Superinterfaces:
Extensible, OsidBrowsableQuery, OsidCatalogQuery, OsidExtensibleQuery, OsidFederateableQuery, OsidIdentifiableQuery, OsidObjectQuery, OsidQuery, OsidSourceableQuery, Suppliable
This is the query for searching banks Each method specifies an
AND term while multiple invocations of the same method produce a nested
OR .
-
Method Summary
Modifier and TypeMethodDescriptionvoidClears all ancestor bankIdterms.voidClears all ancestor bank terms.voidClears all assessmentIdterms.voidClears all assessment offeredIdterms.voidClears all assessment offered terms.voidClears all assessment terms.voidClears all descendant bankIdterms.voidClears all descendant bank terms.voidClears all itemIdterms.voidClears all item terms.Gets the query for an ancestor bank.Gets the query for an assessment offered.Gets the query for an assessment.getBankQueryRecord(Type bankRecordType) Gets the bank query record corresponding to the givenBankrecordType.Multiple record retrievals produce a nestedORterm.Gets the query for a descendant bank.Gets the query for an item.voidmatchAncestorBankId(Id bankId, boolean match) Sets the bankIdfor to match banks in which the specified bank is an acestor.voidmatchAnyAncestorBank(boolean match) Matches a bank that has any ancestor.voidmatchAnyAssessment(boolean match) Matches assessment banks that have any assessment assigned.voidmatchAnyAssessmentOffered(boolean match) Matches assessment banks that have any assessment offering assigned.voidmatchAnyDescendantBank(boolean match) Matches a bank that has any descendant.voidmatchAnyItem(boolean match) Matches assessment banks that have any item assigned.voidmatchAssessmentId(Id assessmentId, boolean match) Sets the assessmentIdfor this query.voidmatchAssessmentOfferedId(Id assessmentOfferedId, boolean match) Sets the assessment offeredIdfor this query.voidmatchDescendantBankId(Id bankId, boolean match) Sets the bankIdfor to match banks in which the specified bank is a descendant.voidmatchItemId(Id itemId, boolean match) Sets the itemIdfor this query.booleanTests if aBankQueryis available.booleanTests if anAssessmentOfferedQueryis available.booleanTests if anAssessmentQueryis available.booleanTests if aBankQueryis available.booleanTests if aItemQueryis 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 OsidSourceableQuery
clearBrandingIdTerms, clearBrandingTerms, clearLicenseTerms, clearProviderIdTerms, clearProviderTerms, getBrandingQuery, getProviderQuery, matchAnyBranding, matchAnyLicense, matchAnyProvider, matchBrandingId, matchLicense, matchProviderId, supportsBrandingQuery, supportsProviderQueryModifier and TypeMethodDescriptionvoidClears all assetIdterms.voidClears all branding terms.voidClears all license terms.voidClears all providerIdterms.voidClears all provider terms.getBrandingQuery(boolean match) Gets the query for an asset.getProviderQuery(boolean match) Gets the query for the provider.voidmatchAnyBranding(boolean match) Match sourceables with any branding.voidmatchAnyLicense(boolean match) Matches any object with a license.voidmatchAnyProvider(boolean match) Match sourceables with a provider value.voidmatchBrandingId(Id assetId, boolean match) Match theIdof an asset used for branding.voidmatchLicense(String license, Type stringMatchType, boolean match) Adds a license to match.voidmatchProviderId(Id resourceId, boolean match) Match theIdof the provider resource.booleanTests if anAssetQueryfor the branding is available.booleanTests if aResourceQueryfor the provider is available.
-
Method Details
-
matchItemId
Sets the itemIdfor this query.- Parameters:
itemId- an itemIdmatch-truefor a positive match,falsefor a negative match- Throws:
NullArgumentException-itemIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearItemIdTerms
void clearItemIdTerms()Clears all itemIdterms.- Compliance:
mandatory- This method must be implemented.
-
supportsItemQuery
boolean supportsItemQuery()Tests if aItemQueryis available.- Returns:
trueif an item query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getItemQuery
ItemQuery getItemQuery()Gets the query for an item. Multiple retrievals produce a nestedORterm.- Returns:
- the item query
- Throws:
UnimplementedException-supportsItemQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsItemQuery()} is {@code true} .
-
matchAnyItem
void matchAnyItem(boolean match) Matches assessment banks that have any item assigned.- Parameters:
match-trueto match banks with any item,falseto match assessments with no item- Compliance:
mandatory- This method must be implemented.
-
clearItemTerms
void clearItemTerms()Clears all item 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 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} .
-
matchAnyAssessment
void matchAnyAssessment(boolean match) Matches assessment banks that have any assessment assigned.- Parameters:
match-trueto match banks with any assessment,falseto match banks with no assessment- Compliance:
mandatory- This method must be implemented.
-
clearAssessmentTerms
void clearAssessmentTerms()Clears all assessment terms.- Compliance:
mandatory- This method must be implemented.
-
matchAssessmentOfferedId
Sets the assessment offeredIdfor this query.- Parameters:
assessmentOfferedId- an assessmentIdmatch-truefor a positive match,falsefor a negative match- Throws:
NullArgumentException-assessmentOfferedIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearAssessmentOfferedIdTerms
void clearAssessmentOfferedIdTerms()Clears all assessment offeredIdterms.- Compliance:
mandatory- This method must be implemented.
-
supportsAssessmentOfferedQuery
boolean supportsAssessmentOfferedQuery()Tests if anAssessmentOfferedQueryis available.- Returns:
trueif an assessment offered query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getAssessmentOfferedQuery
AssessmentOfferedQuery getAssessmentOfferedQuery()Gets the query for an assessment offered. Multiple retrievals produce a nestedORterm.- Returns:
- the assessment offered query
- Throws:
UnimplementedException-supportsAssessmentOfferedQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAssessmentOfferedQuery()} is {@code true} .
-
matchAnyAssessmentOffered
void matchAnyAssessmentOffered(boolean match) Matches assessment banks that have any assessment offering assigned.- Parameters:
match-trueto match banks with any assessment offering,falseto match banks with no offering- Compliance:
mandatory- This method must be implemented.
-
clearAssessmentOfferedTerms
void clearAssessmentOfferedTerms()Clears all assessment offered terms.- Compliance:
mandatory- This method must be implemented.
-
matchAncestorBankId
Sets the bankIdfor to match banks in which the specified bank is an acestor.- Parameters:
bankId- a bankIdmatch-truefor a positive match,falsefor a negative match- Throws:
NullArgumentException-bankIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearAncestorBankIdTerms
void clearAncestorBankIdTerms()Clears all ancestor bankIdterms.- Compliance:
mandatory- This method must be implemented.
-
supportsAncestorBankQuery
boolean supportsAncestorBankQuery()Tests if aBankQueryis available.- Returns:
trueif a bank query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getAncestorBankQuery
BankQuery getAncestorBankQuery()Gets the query for an ancestor bank. Multiple retrievals produce a nestedORterm.- Returns:
- the bank query
- Throws:
UnimplementedException-supportsAncestorBankQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAncestorBankQuery()} is {@code true} .
-
matchAnyAncestorBank
void matchAnyAncestorBank(boolean match) Matches a bank that has any ancestor.- Parameters:
match-trueto match banks with any ancestor banks,falseto match root banks- Compliance:
mandatory- This method must be implemented.
-
clearAncestorBankTerms
void clearAncestorBankTerms()Clears all ancestor bank terms.- Compliance:
mandatory- This method must be implemented.
-
matchDescendantBankId
Sets the bankIdfor to match banks in which the specified bank is a descendant.- Parameters:
bankId- a bankIdmatch-truefor a positive match,falsefor a negative match- Throws:
NullArgumentException-bankIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearDescendantBankIdTerms
void clearDescendantBankIdTerms()Clears all descendant bankIdterms.- Compliance:
mandatory- This method must be implemented.
-
supportsDescendantBankQuery
boolean supportsDescendantBankQuery()Tests if aBankQueryis available.- Returns:
trueif a bank query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getDescendantBankQuery
BankQuery getDescendantBankQuery()Gets the query for a descendant bank. Multiple retrievals produce a nestedORterm.- Returns:
- the bank query
- Throws:
UnimplementedException-supportsDescendantBankQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsDescendantBankQuery()} is {@code true} .
-
matchAnyDescendantBank
void matchAnyDescendantBank(boolean match) Matches a bank that has any descendant.- Parameters:
match-trueto match banks with any descendant banks,falseto match leaf banks- Compliance:
mandatory- This method must be implemented.
-
clearDescendantBankTerms
void clearDescendantBankTerms()Clears all descendant bank terms.- Compliance:
mandatory- This method must be implemented.
-
getBankQueryRecord
Gets the bank query record corresponding to the givenBankrecordType.Multiple record retrievals produce a nestedORterm.- Parameters:
bankRecordType- a bank record type- Returns:
- the bank query record
- Throws:
NullArgumentException-bankRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(bankRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-