public interface BidQuery extends OsidRelationshipQuery
This is the query for searching bids. 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 |
clearAuctionHouseIdTerms()
Clears the auction house
Id query terms. |
void |
clearAuctionHouseTerms()
Clears the auction house query terms.
|
void |
clearAuctionIdTerms()
Clears the auction
Id query terms. |
void |
clearAuctionTerms()
Clears the auction query terms.
|
void |
clearBidderIdTerms()
Clears the resource
Id query terms. |
void |
clearBidderTerms()
Clears the resource query terms.
|
void |
clearBiddingAgentIdTerms()
Clears the agent
Id query terms. |
void |
clearBiddingAgentTerms()
Clears the agent query terms.
|
void |
clearCurrentBidTerms()
Clears the current bid query terms.
|
void |
clearMaximumBidTerms()
Clears the max bid query terms.
|
void |
clearQuantityTerms()
Clears the quantity query terms.
|
void |
clearSettlementAmountTerms()
Clears the settlement amount query terms.
|
void |
clearWinnerTerms()
Clears the winner query terms.
|
AuctionHouseQuery |
getAuctionHouseQuery()
Gets the query for a auction house.
|
AuctionQuery |
getAuctionQuery()
Gets the query for an auction.
|
ResourceQuery |
getBidderQuery()
Gets the query for a resource.
|
AgentQuery |
getBiddingAgentQuery()
Gets the query for an agent.
|
BidQueryRecord |
getBidQueryRecord(Type bidRecordType)
Gets the bid query record corresponding to the given
Bid
record Type. |
void |
matchAuctionHouseId(Id auctionHouseId,
boolean match)
Sets the auction house
Id for this query to match bids
assigned to auction houses. |
void |
matchAuctionId(Id auctionId,
boolean match)
Sets the auction
Id for this query. |
void |
matchBidderId(Id resourceId,
boolean match)
Sets the resource
Id for this query. |
void |
matchBiddingAgentId(Id agentId,
boolean match)
Sets the agent
Id for this query. |
void |
matchCurrentBid(Currency start,
Currency end,
boolean match)
Matches bids with a current bidsbetween the given range inclusive.
|
void |
matchMaximumBid(Currency start,
Currency end,
boolean match)
Matches bids with a max bid between the given range inclusive.
|
void |
matchQuantity(long start,
long end,
boolean match)
Matches bids with quantities between the given range inclusive.
|
void |
matchSettlementAmount(Currency start,
Currency end,
boolean match)
Matches bids with a settlement amount between the given range
inclusive.
|
void |
matchWinner(boolean match)
Matches winning bids.
|
boolean |
supportsAuctionHouseQuery()
Tests if a
AuctionHouseQuery is available. |
boolean |
supportsAuctionQuery()
Tests if an
AuctionQuery is available. |
boolean |
supportsBidderQuery()
Tests if a
ResourceQuery is available. |
boolean |
supportsBiddingAgentQuery()
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 matchAuctionId(Id auctionId, boolean match)
Id
for this query.auctionId
- the auction Id
match
- true
for a positive match, false
for a negative matchNullArgumentException
- auctionId
is
null
mandatory
- This method must be implemented. void clearAuctionIdTerms()
Id
query terms.mandatory
- This method must be implemented. boolean supportsAuctionQuery()
AuctionQuery
is available. true
if an auction query is available,
false
otherwisemandatory
- This method must be implemented. AuctionQuery getAuctionQuery()
OR
term.UnimplementedException
- supportsAuctionQuery()
is false
optional
- This method must be implemented if
supportsAuctionQuery()
is true.
void clearAuctionTerms()
mandatory
- This method must be implemented. void matchBidderId(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 clearBidderIdTerms()
Id
query terms.mandatory
- This method must be implemented. boolean supportsBidderQuery()
ResourceQuery
is available. true
if a resource query is available,
false
otherwisemandatory
- This method must be implemented. ResourceQuery getBidderQuery()
OR
term.UnimplementedException
- supportsBidderQuery()
is false
optional
- This method must be implemented if
supportsBidderQuery()
is true.
void clearBidderTerms()
mandatory
- This method must be implemented. void matchBiddingAgentId(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 clearBiddingAgentIdTerms()
Id
query terms.mandatory
- This method must be implemented. boolean supportsBiddingAgentQuery()
AgentQuery
is available. true
if an agent query is available,
false
otherwisemandatory
- This method must be implemented. AgentQuery getBiddingAgentQuery()
OR
term.UnimplementedException
-
supportsBiddingAgentQuery()
is false
optional
- This method must be implemented if
supportsBiddingAgentQuery()
is true.
void clearBiddingAgentTerms()
mandatory
- This method must be implemented. void matchQuantity(long start, long end, boolean match)
start
- start rangeend
- end rangematch
- true
for a positive match, false
for a negative matchInvalidArgumentException
- start
is
greater than end
mandatory
- This method must be implemented. void clearQuantityTerms()
mandatory
- This method must be implemented. void matchCurrentBid(Currency start, Currency end, boolean match)
start
- start rangeend
- end rangematch
- true
for a positive match, false
for a negative matchInvalidArgumentException
- start
is
greater than end
or
start.getCurencyType()
!= end.getCurrencyType()
NullArgumentException
- currency
is
null
mandatory
- This method must be implemented. void clearCurrentBidTerms()
mandatory
- This method must be implemented. void matchMaximumBid(Currency start, Currency end, boolean match)
start
- start rangeend
- end rangematch
- true
for a positive match, false
for a negative matchInvalidArgumentException
- start
is
greater than end
or
start.getCurencyType()
!= end.getCurrencyType()
NullArgumentException
- currency
is
null
mandatory
- This method must be implemented. void clearMaximumBidTerms()
mandatory
- This method must be implemented. void matchWinner(boolean match)
match
- true
for a positive match, false
for a negative matchmandatory
- This method must be implemented. void clearWinnerTerms()
mandatory
- This method must be implemented. void matchSettlementAmount(Currency start, Currency end, boolean match)
start
- start rangeend
- end rangematch
- true
for a positive match, false
for a negative matchInvalidArgumentException
- start
is
greater than end
or
start.getCurencyType()
!= end.getCurrencyType()
NullArgumentException
- currency
is
null
mandatory
- This method must be implemented. void clearSettlementAmountTerms()
mandatory
- This method must be implemented. void matchAuctionHouseId(Id auctionHouseId, boolean match)
Id
for this query to match bids
assigned to auction houses.auctionHouseId
- the auction house Id
match
- true
for a positive match, false
for a negative matchNullArgumentException
- auctionHouseId
is null
mandatory
- This method must be implemented. void clearAuctionHouseIdTerms()
Id
query terms.mandatory
- This method must be implemented. boolean supportsAuctionHouseQuery()
AuctionHouseQuery
is available. true
if a auction house query is available,
false
otherwisemandatory
- This method must be implemented. AuctionHouseQuery getAuctionHouseQuery()
OR
term.UnimplementedException
-
supportsAuctionHouseQuery()
is false
optional
- This method must be implemented if
supportsAuctionHouseQuery()
is true.
void clearAuctionHouseTerms()
mandatory
- This method must be implemented. BidQueryRecord getBidQueryRecord(Type bidRecordType) throws OperationFailedException
Bid
record Type.
Multiple record retrievals produce
a nested OR
term.bidRecordType
- a bid record typeNullArgumentException
- bidRecordType
is
null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(bidRecordType)
is false
mandatory
- This method must be implemented.