public interface BidSearchOrder extends OsidRelationshipSearchOrder
An interface for specifying the ordering of search results.
Modifier and Type | Method and Description |
---|---|
AuctionSearchOrder |
getAuctionSearchOrder()
Gets the auction search order.
|
ResourceSearchOrder |
getBidderSearchOrder()
Gets the bidder search order.
|
AgentSearchOrder |
getBiddingAgentSearchOrder()
Gets the bidding agent search order.
|
BidSearchOrderRecord |
getBidSearchOrderRecord(Type bidRecordType)
Gets the bid order record corresponding to the given bid record
Type. |
void |
orderByAuction(SearchOrderStyle style)
Orders the results by auction.
|
void |
orderByBidder(SearchOrderStyle style)
Orders the results by bidder.
|
void |
orderByBiddingAgent(SearchOrderStyle style)
Orders the results by bidding agent.
|
void |
orderByCurrentBid(SearchOrderStyle style)
Orders the results by the current bid.
|
void |
orderByMaximumBid(SearchOrderStyle style)
Orders the results by the maximum bid.
|
void |
orderByQuantity(SearchOrderStyle style)
Orders the results by the quantity.
|
void |
orderBySettlementAmount(SearchOrderStyle style)
Orders the results by the settlement amount.
|
void |
orderByWinner(SearchOrderStyle style)
Orders the results by winning bids.
|
boolean |
supportsAuctionSearchOrder()
Tests if an auction search order is available.
|
boolean |
supportsBidderSearchOrder()
Tests if a bidder search order is available.
|
boolean |
supportsBiddingAgentSearchOrder()
Tests if a bidding agent search order is available.
|
getEndReasonSearchOrder, orderByEndReason, supportsEndReasonSearchOrder
orderByCreateTime, orderByCumulativeRating, orderByDescription, orderByDisplayName, orderByGenusType, orderByLastModifiedTime, orderByState, orderByStatistic
orderById
getRecordTypes, hasRecordType
orderByEffective, orderByEndDate, orderByStartDate
void orderByAuction(SearchOrderStyle style)
style
- search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. boolean supportsAuctionSearchOrder()
true
if an auction search order is available,
false
otherwisemandatory
- This method must be implemented. AuctionSearchOrder getAuctionSearchOrder()
IllegalStateException
-
supportsAuctionSearchOrder()
is false
mandatory
- This method must be implemented. void orderByBidder(SearchOrderStyle style)
style
- search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. boolean supportsBidderSearchOrder()
true
if a bidder search order is available,
false
otherwisemandatory
- This method must be implemented. ResourceSearchOrder getBidderSearchOrder()
IllegalStateException
-
supportsBidderSearchOrder()
is false
mandatory
- This method must be implemented. void orderByBiddingAgent(SearchOrderStyle style)
style
- search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. boolean supportsBiddingAgentSearchOrder()
true
if a bidding agent search order is
available, false
otherwisemandatory
- This method must be implemented. AgentSearchOrder getBiddingAgentSearchOrder()
IllegalStateException
-
supportsBiddingAgentSearchOrder()
is false
mandatory
- This method must be implemented. void orderByQuantity(SearchOrderStyle style)
style
- search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. void orderByCurrentBid(SearchOrderStyle style)
style
- search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. void orderByMaximumBid(SearchOrderStyle style)
style
- search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. void orderByWinner(SearchOrderStyle style)
style
- search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. void orderBySettlementAmount(SearchOrderStyle style)
style
- search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. BidSearchOrderRecord getBidSearchOrderRecord(Type bidRecordType) throws OperationFailedException
Type.
Multiple retrievals return the same underlying object.bidRecordType
- a bid record typeNullArgumentException
- bidRecordType
is
null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(bidRecordType)
is false
mandatory
- This method must be implemented.