public interface BidSearchSession extends BidQuerySession
This session provides methods for searching among Bid
objects. The search query is constructed using the BidQuery.
getBidsByQuery()
is the basic search method and returns
a list of Bids.
A more advanced search may be performed
with getBidsBySearch().
It accepts a BidSearch
in addition to the query for the purpose of specifying additional
options affecting the entire search, such as ordering.
getBidsBySearch()
returns a BidSearchResults
that
can be used to access the resulting BidList
or be used to
perform a search within the result set through BidSearch.
This session defines views that offer differing behaviors for searching.
Bids may have a query record indicated by their respective record
types. The query record is accessed via the BidQuery.
Modifier and Type | Method and Description |
---|---|
BidQuery |
getBidQueryFromInspector(BidQueryInspector bidQueryInspector)
Gets a bid query from an inspector.
|
BidSearchResults |
getBidsBySearch(BidQuery bidQuery,
BidSearch bidSearch)
Gets the search results matching the given search query using the
given search.
|
BidSearch |
getBidSearch()
Gets a bid search.
|
BidSearchOrder |
getBidSearchOrder()
Gets a bid search order.
|
canSearchBids, getAuctionHouse, getAuctionHouseId, getBidQuery, getBidsByQuery, useFederatedAuctionHouseView, useIsolatedAuctionHouseView
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactions
close
BidSearch getBidSearch()
mandatory
- This method must be implemented. BidSearchOrder getBidSearchOrder()
BidSearchOrder
is supplied
to a BidSearch
to specify the ordering of results.mandatory
- This method must be implemented. BidSearchResults getBidsBySearch(BidQuery bidQuery, BidSearch bidSearch) throws OperationFailedException, PermissionDeniedException
bidQuery
- the bid querybidSearch
- the bid searchNullArgumentException
- bidQuery
or
bidSearch
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureUnsupportedException
- bidQuery
or
bidSearch
is not of this servicemandatory
- This method must be implemented. BidQuery getBidQueryFromInspector(BidQueryInspector bidQueryInspector)
BidSearchResults.
bidQueryInspector
- a bid query inspectorNullArgumentException
- bidQueryInspector
is null
UnsupportedException
- bidQueryInspector
is not of this servicemandatory
- This method must be implemented.