public interface BranchQuery extends OsidObjectQuery, OsidOperableQuery
This is the query for searching branches Each method specifies an
AND term while multiple invocations of the same method
produce a nested OR.
| Modifier and Type | Method and Description |
|---|---|
void |
clearLatestJournalEntryIdTerms()
Clears the latest journal entry
Id terms. |
void |
clearLatestJournalEntryTerms()
Clears the latest journal entry terms.
|
void |
clearOriginJournalEntryIdTerms()
Clears the origin journal entry
Id terms. |
void |
clearOriginJournalEntryTerms()
Clears the origin journal entry terms.
|
BranchQueryRecord |
getBranchQueryRecord(Type branchRecordType)
Gets the branch query record corresponding to the given
Branch
record Type. |
JournalEntryQuery |
getLatestJournalEntryQuery()
Gets the query for a latest journal entry.
|
JournalEntryQuery |
getOriginJournalEntryQuery()
Gets the query for an origin journal entry.
|
void |
matchLatestJournalEntryId(Id journalEntryId,
boolean match)
Sets the latest journal entry
Id for this query. |
void |
matchOriginJournalEntryId(Id journalEntryId,
boolean match)
Sets the origin journal entry
Id for this query. |
boolean |
supportsLatestJournalEntryQuery()
Tests if a
JournalEntryQuery is available. |
boolean |
supportsOriginJournalEntryQuery()
Tests if a
JournalEntryQuery 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, supportsStringMatchTypeclearActiveTerms, clearDisabledTerms, clearEnabledTerms, clearOperationalTerms, matchActive, matchDisabled, matchEnabled, matchOperationalvoid matchOriginJournalEntryId(Id journalEntryId, boolean match)
Id for this query.journalEntryId - a journal entry Id Id match - true for a positive match, false
for a negative matchNullArgumentException - journalEntryId
is null mandatory - This method must be implemented. void clearOriginJournalEntryIdTerms()
Id terms.mandatory - This method must be implemented. boolean supportsOriginJournalEntryQuery()
JournalEntryQuery is available. true if a journal entry query is available,
false otherwisemandatory - This method must be implemented. JournalEntryQuery getOriginJournalEntryQuery()
OR term.UnimplementedException -
supportsOriginJournalEntryQuery() is false
optional - This method must be implemented if
supportsOriginJournalEntryQuery() is true.
void clearOriginJournalEntryTerms()
mandatory - This method must be implemented. void matchLatestJournalEntryId(Id journalEntryId, boolean match)
Id for this query.journalEntryId - a journal entry Id Id match - true for a positive match, false
for a negative matchNullArgumentException - journalEntryId
is null mandatory - This method must be implemented. void clearLatestJournalEntryIdTerms()
Id terms.mandatory - This method must be implemented. boolean supportsLatestJournalEntryQuery()
JournalEntryQuery is available. true if a journal entry query is available,
false otherwisemandatory - This method must be implemented. JournalEntryQuery getLatestJournalEntryQuery()
OR term.UnimplementedException -
supportsOriginJournalEntryQuery() is false
optional - This method must be implemented if
supportsOriginJournalEntryQuery() is true.
void clearLatestJournalEntryTerms()
mandatory - This method must be implemented. BranchQueryRecord getBranchQueryRecord(Type branchRecordType) throws OperationFailedException
Branch
record Type. Multiple retrievals produce a
nested OR term.branchRecordType - a branch record typeNullArgumentException - branchRecordType
is null OperationFailedException - unable to complete requestUnsupportedException -
hasRecordType(branchRecordType) is false
mandatory - This method must be implemented.