public interface BankQuery extends OsidCatalogQuery
This is the query for searching banks Each method specifies an
AND term while multiple invocations of the same method produce a
nested OR.
| Modifier and Type | Method and Description |
|---|---|
void |
clearAncestorBankIdTerms()
Clears all ancestor bank
Id terms. |
void |
clearAncestorBankTerms()
Clears all ancestor bank terms.
|
void |
clearAssessmentIdTerms()
Clears all assessment
Id terms. |
void |
clearAssessmentOfferedIdTerms()
Clears all assessment offered
Id terms. |
void |
clearAssessmentOfferedTerms()
Clears all assessment offered terms.
|
void |
clearAssessmentTerms()
Clears all assessment terms.
|
void |
clearDescendantBankIdTerms()
Clears all descendant bank
Id terms. |
void |
clearDescendantBankTerms()
Clears all descendant bank terms.
|
void |
clearItemIdTerms()
Clears all item
Id terms. |
void |
clearItemTerms()
Clears all item terms.
|
BankQuery |
getAncestorBankQuery()
Gets the query for an ancestor bank.
|
AssessmentOfferedQuery |
getAssessmentOfferedQuery()
Gets the query for an assessment offered.
|
AssessmentQuery |
getAssessmentQuery()
Gets the query for an assessment.
|
BankQueryRecord |
getBankQueryRecord(Type bankRecordType)
Gets the bank query record corresponding to the given
Bank
record Type. |
BankQuery |
getDescendantBankQuery()
Gets the query for a descendant bank.
|
ItemQuery |
getItemQuery()
Gets the query for an item.
|
void |
matchAncestorBankId(Id bankId,
boolean match)
Sets the bank
Id for to match banks in which the
specified bank is an acestor. |
void |
matchAnyAncestorBank(boolean match)
Matches a bank that has any ancestor.
|
void |
matchAnyAssessment(boolean match)
Matches assessment banks that have any assessment assigned.
|
void |
matchAnyAssessmentOffered(boolean match)
Matches assessment banks that have any assessment offering assigned.
|
void |
matchAnyDescendantBank(boolean match)
Matches a bank that has any descendant.
|
void |
matchAnyItem(boolean match)
Matches assessment banks that have any item assigned.
|
void |
matchAssessmentId(Id assessmentId,
boolean match)
Sets the assessment
Id for this query. |
void |
matchAssessmentOfferedId(Id assessmentOfferedId,
boolean match)
Sets the assessment offered
Id for this query. |
void |
matchDescendantBankId(Id bankId,
boolean match)
Sets the bank
Id for to match banks in which the
specified bank is a descendant. |
void |
matchItemId(Id itemId,
boolean match)
Sets the item
Id for this query. |
boolean |
supportsAncestorBankQuery()
Tests if a
BankQuery is available. |
boolean |
supportsAssessmentOfferedQuery()
Tests if an
AssessmentOfferedQuery is available. |
boolean |
supportsAssessmentQuery()
Tests if an
AssessmentQuery is available. |
boolean |
supportsDescendantBankQuery()
Tests if a
BankQuery is available. |
boolean |
supportsItemQuery()
Tests if a
ItemQuery 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, supportsSubjectRelevancyQueryclearIdTerms, matchIdclearRecordTerms, matchAnyRecord, matchRecordTypegetRecordTypes, hasRecordTypeclearAnyTerms, clearKeywordTerms, getStringMatchTypes, matchAny, matchKeyword, supportsStringMatchTypeclearBrandingIdTerms, clearBrandingTerms, clearLicenseTerms, clearProviderIdTerms, clearProviderTerms, getBrandingQuery, getProviderQuery, matchAnyBranding, matchAnyLicense, matchAnyProvider, matchBrandingId, matchLicense, matchProviderId, supportsBrandingQuery, supportsProviderQueryvoid matchItemId(Id itemId, boolean match)
Id for this query.itemId - an item Id match - true for a positive match, false
for a negative matchNullArgumentException - itemId is
null mandatory - This method must be implemented. void clearItemIdTerms()
Id terms.mandatory - This method must be implemented. boolean supportsItemQuery()
ItemQuery is available. true if an item query is available,
false otherwisemandatory - This method must be implemented. ItemQuery getItemQuery()
OR term.UnimplementedException - supportsItemQuery()
is false optional - This method must be implemented if
supportsItemQuery() is true. void matchAnyItem(boolean match)
match - true to match banks with any item,
false to match assessments with no itemmandatory - This method must be implemented. void clearItemTerms()
mandatory - This method must be implemented. void matchAssessmentId(Id assessmentId, boolean match)
Id for this query.assessmentId - an assessment Id match - true for a positive match, false
for a negative matchNullArgumentException - assessmentId is
null mandatory - This method must be implemented. void clearAssessmentIdTerms()
Id terms.mandatory - This method must be implemented. boolean supportsAssessmentQuery()
AssessmentQuery is available. true if an assessment query is available,
false otherwisemandatory - This method must be implemented. AssessmentQuery getAssessmentQuery()
OR term.UnimplementedException -
supportsAssessmentQuery() is false optional - This method must be implemented if
supportsAssessmentQuery() is true. void matchAnyAssessment(boolean match)
match - true to match banks with any assessment,
false to match banks with no assessmentmandatory - This method must be implemented. void clearAssessmentTerms()
mandatory - This method must be implemented. void matchAssessmentOfferedId(Id assessmentOfferedId, boolean match)
Id for this query.assessmentOfferedId - an assessment Id match - true for a positive match, false
for a negative matchNullArgumentException - assessmentOfferedId
is null mandatory - This method must be implemented. void clearAssessmentOfferedIdTerms()
Id terms.mandatory - This method must be implemented. boolean supportsAssessmentOfferedQuery()
AssessmentOfferedQuery is available. true if an assessment offered query is
available, false otherwisemandatory - This method must be implemented. AssessmentOfferedQuery getAssessmentOfferedQuery()
OR term.UnimplementedException -
supportsAssessmentOfferedQuery() is false
optional - This method must be implemented if
supportsAssessmentOfferedQuery() is true.
void matchAnyAssessmentOffered(boolean match)
match - true to match banks with any assessment
offering, false to match banks with no offeringmandatory - This method must be implemented. void clearAssessmentOfferedTerms()
mandatory - This method must be implemented. void matchAncestorBankId(Id bankId, boolean match)
Id for to match banks in which the
specified bank is an acestor.bankId - a bank Id match - true for a positive match, false
for a negative matchNullArgumentException - bankId is
null mandatory - This method must be implemented. void clearAncestorBankIdTerms()
Id terms.mandatory - This method must be implemented. boolean supportsAncestorBankQuery()
BankQuery is available. true if a bank query is available, false
otherwisemandatory - This method must be implemented. BankQuery getAncestorBankQuery()
OR term.UnimplementedException -
supportsAncestorBankQuery() is false optional - This method must be implemented if
supportsAncestorBankQuery() is true.
void matchAnyAncestorBank(boolean match)
match - true to match banks with any ancestor
banks, false to match root banksmandatory - This method must be implemented. void clearAncestorBankTerms()
mandatory - This method must be implemented. void matchDescendantBankId(Id bankId, boolean match)
Id for to match banks in which the
specified bank is a descendant.bankId - a bank Id match - true for a positive match, false
for a negative matchNullArgumentException - bankId is
null mandatory - This method must be implemented. void clearDescendantBankIdTerms()
Id terms.mandatory - This method must be implemented. boolean supportsDescendantBankQuery()
BankQuery is available. true if a bank query is available, false
otherwisemandatory - This method must be implemented. BankQuery getDescendantBankQuery()
OR term.UnimplementedException -
supportsDescendantBankQuery() is false optional - This method must be implemented if
supportsDescendantBankQuery() is true.
void matchAnyDescendantBank(boolean match)
match - true to match banks with any descendant
banks, false to match leaf banksmandatory - This method must be implemented. void clearDescendantBankTerms()
mandatory - This method must be implemented. BankQueryRecord getBankQueryRecord(Type bankRecordType) throws OperationFailedException
Bank
record Type. Multiple record retrievals produce
a nested OR term.bankRecordType - a bank record typeNullArgumentException - bankRecordType
is null OperationFailedException - unable to complete requestUnsupportedException -
hasRecordType(bankRecordType) is false mandatory - This method must be implemented.