public interface AuctionSearchSession extends AuctionQuerySession
This session provides methods for searching among Auction
objects. The search query is constructed using the
AuctionQuery.
getAuctionsByQuery()
is the basic search method and
returns a list of Auctions.
A more advanced search may be
performed with getAuctionsBySearch().
It accepts an
AuctionSearch
in addition to the query for the purpose of
specifying additional options affecting the entire search, such as
ordering. getAuctionsBySearch()
returns an
AuctionSearchResults
that can be used to access the resulting
AuctionList
or be used to perform a search within the
result set through AuctionSearch.
This session defines views that offer differing behaviors for searching.
Auctions may have a query record indicated by their respective record
types. The query record is accessed via the AuctionQuery.
Modifier and Type | Method and Description |
---|---|
AuctionQuery |
getAuctionQueryFromInspector(AuctionQueryInspector auctionQueryInspector)
Gets an auction query from an inspector.
|
AuctionSearchResults |
getAuctionsBySearch(AuctionQuery auctionQuery,
AuctionSearch auctionSearch)
Gets the search results matching the given search query using the
given search.
|
AuctionSearch |
getAuctionSearch()
Gets an auction search.
|
AuctionSearchOrder |
getAuctionSearchOrder()
Gets an auction search order.
|
canSearchAuctions, getAuctionHouse, getAuctionHouseId, getAuctionQuery, getAuctionsByQuery, useFederatedAuctionHouseView, useIsolatedAuctionHouseView
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactions
close
AuctionSearch getAuctionSearch()
mandatory
- This method must be implemented. AuctionSearchOrder getAuctionSearchOrder()
AuctionSearchOrder
is
supplied to an AuctionSearch
to specify the ordering of
results.mandatory
- This method must be implemented. AuctionSearchResults getAuctionsBySearch(AuctionQuery auctionQuery, AuctionSearch auctionSearch) throws OperationFailedException, PermissionDeniedException
auctionQuery
- the auction queryauctionSearch
- the auction searchNullArgumentException
- auctionQuery
or
auctionSearch
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureUnsupportedException
- auctionQuery
or
auctionSearch
is not of this servicemandatory
- This method must be implemented. AuctionQuery getAuctionQueryFromInspector(AuctionQueryInspector auctionQueryInspector)
AuctionSearchResults.
auctionQueryInspector
- an auction query inspectorNullArgumentException
- auctionQueryInspector
is null
UnsupportedException
- auctionQueryInspector
is not of this servicemandatory
- This method must be implemented.