public interface RequestTransactionQuery extends OsidRelationshipQuery
This is the query for searching requests. Each method match specifies
an AND
term while multiple invocations of the same method
produce a nested OR.
Modifier and Type | Method and Description |
---|---|
void |
clearBrokerIdTerms()
Clears the broker
Id query terms. |
void |
clearBrokerTerms()
Clears the broker query terms.
|
void |
clearRequestIdTerms()
Clears the request
Id query terms. |
void |
clearRequestTerms()
Clears the request query terms.
|
void |
clearSubmitDateTerms()
Clears the submit date query terms.
|
void |
clearSubmitterIdTerms()
Clears the submitter
Id query terms. |
void |
clearSubmitterTerms()
Clears the submitter query terms.
|
void |
clearSubmittingAgentIdTerms()
Clears the submitting agent
Id query terms. |
void |
clearSubmittingAgentTerms()
Clears the submitting agent query terms.
|
BrokerQuery |
getBrokerQuery()
Gets the query for a broker.
|
RequestQuery |
getRequestQuery()
Gets the query for a request.
|
RequestTransactionQueryRecord |
getRequestTransactionQueryRecord(Type requesttransactionRecordType)
Gets the request transaction query record corresponding to the given
Requesttrsnaction record Type. |
ResourceQuery |
getSubmitterQuery()
Gets the query for a submitter.
|
AgentQuery |
getSubmittingAgentQuery()
Gets the query for a submitting agent.
|
void |
matchAnyRequest(boolean match)
Matches transactions with any request.
|
void |
matchBrokerId(Id brokerId,
boolean match)
Sets the broker
Id for this query. |
void |
matchRequestId(Id requestId,
boolean match)
Sets the request
Id for this query. |
void |
matchSubmitDate(DateTime from,
DateTime to,
boolean match)
Matches transactions with a submit date in the given range inclusive.
|
void |
matchSubmitterId(Id resourceId,
boolean match)
Sets the submitter
Id for this query. |
void |
matchSubmittingAgentId(Id agentId,
boolean match)
Sets the submitting agent
Id for this query. |
boolean |
supportsBrokerQuery()
Tests if a
BrokerQuery is available. |
boolean |
supportsRequestQuery()
Tests if a
RequestQuery is available. |
boolean |
supportsSubmitterQuery()
Tests if a
ResourceQuery is available. |
boolean |
supportsSubmittingAgentQuery()
Tests if an
AgentQuery is available. |
clearEndReasonIdTerms, clearEndReasonTerms, getEndReasonQuery, matchAnyEndReason, matchEndReasonId, supportsEndReasonQuery
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
clearDateTerms, clearEffectiveTerms, clearEndDateTerms, clearStartDateTerms, matchAnyEndDate, matchAnyStartDate, matchDate, matchEffective, matchEndDate, matchStartDate
void matchBrokerId(Id brokerId, boolean match)
Id
for this query.brokerId
- the broker Id
match
- true
for a positive match, false
for a negative matchNullArgumentException
- brokerId
is
null
mandatory
- This method must be implemented. void clearBrokerIdTerms()
Id
query terms.mandatory
- This method must be implemented. boolean supportsBrokerQuery()
BrokerQuery
is available. true
if a broker query is available,
false
otherwisemandatory
- This method must be implemented. BrokerQuery getBrokerQuery()
OR
term.UnimplementedException
- supportsBrokerQuery()
is false
optional
- This method must be implemented if
supportsBrokerQuery()
is true.
void clearBrokerTerms()
mandatory
- This method must be implemented. void matchSubmitDate(DateTime from, DateTime to, boolean match)
from
- the range startto
- the range endmatch
- true
for a positive match, false
for a negative matchInvalidArgumentException
- from
is
greater than to
NullArgumentException
- from
or
to
is null
mandatory
- This method must be implemented. void clearSubmitDateTerms()
mandatory
- This method must be implemented. void matchSubmitterId(Id resourceId, boolean match)
Id
for this query.resourceId
- the resource Id
match
- true
for a positive match, false
for a negative matchNullArgumentException
- resourceId
is
null
mandatory
- This method must be implemented. void clearSubmitterIdTerms()
Id
query terms.mandatory
- This method must be implemented. boolean supportsSubmitterQuery()
ResourceQuery
is available. true
if a resource query is available,
false
otherwisemandatory
- This method must be implemented. ResourceQuery getSubmitterQuery()
OR
term.UnimplementedException
-
supportsSubmitterQuery()
is false
optional
- This method must be implemented if
supportsSubmitterQuery()
is true.
void clearSubmitterTerms()
mandatory
- This method must be implemented. void matchSubmittingAgentId(Id agentId, boolean match)
Id
for this query.agentId
- the agent Id
match
- true
for a positive match, false
for a negative matchNullArgumentException
- agentId
is
null
mandatory
- This method must be implemented. void clearSubmittingAgentIdTerms()
Id
query terms.mandatory
- This method must be implemented. boolean supportsSubmittingAgentQuery()
AgentQuery
is available. true
if an agent query is available,
false
otherwisemandatory
- This method must be implemented. AgentQuery getSubmittingAgentQuery()
OR
term.UnimplementedException
-
supportsSubmittingAgentQuery()
is false
optional
- This method must be implemented if
supportsSubmittingAgentQuery()
is true.
void clearSubmittingAgentTerms()
mandatory
- This method must be implemented. void matchRequestId(Id requestId, boolean match)
Id
for this query.requestId
- the request Id
match
- true
for a positive match, false
for a negative matchNullArgumentException
- requestId
is
null
mandatory
- This method must be implemented. void clearRequestIdTerms()
Id
query terms.mandatory
- This method must be implemented. boolean supportsRequestQuery()
RequestQuery
is available. true
if a request query is available,
false
otherwisemandatory
- This method must be implemented. RequestQuery getRequestQuery()
OR
term.UnimplementedException
- supportsRequestQuery()
is false
optional
- This method must be implemented if
supportsRequestQuery()
is true.
void matchAnyRequest(boolean match)
match
- true
for to match transactions with any
request, match, false
to match transaction with
no requestsmandatory
- This method must be implemented. void clearRequestTerms()
mandatory
- This method must be implemented. RequestTransactionQueryRecord getRequestTransactionQueryRecord(Type requesttransactionRecordType) throws OperationFailedException
Requesttrsnaction
record Type.
Multiple
record retrievals produce a nested OR
term.requesttransactionRecordType
- a request transaction record typeNullArgumentException
-
requestTransactionRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(requestTransactionRecordType)
is
false
mandatory
- This method must be implemented.