Interface AuctionHouseSearchSession

All Superinterfaces:
AuctionHouseQuerySession, AutoCloseable, Closeable, OsidSession, OsidSession

public interface AuctionHouseSearchSession extends AuctionHouseQuerySession

This session provides methods for searching among AuctionHouses . The search query is constructed using the AuctionHouseQuery .

getAuctionHousesByQuery() is the basic search method and returns a list of Auction Houses . A more advanced search may be performed with getAuctionHousesBySearch() .It accepts an AuctionHouseSearch in addition to the query for the purpose of specifying additional options affecting the entire search, such as ordering. getAuctionHousesBySearch() returns an AuctionHouseSearchResults that can be used to access the resulting AuctionHouseList or be used to perform a search within the result set through AuctionHouseSearch .

AuctionHouses may have a query record indicated by their respective record types. The query record is accessed via the AuctionHouseQuery .

  • Method Details

    • getAuctionHouseSearch

      AuctionHouseSearch getAuctionHouseSearch()
      Gets an auction house search.
      Returns:
      the auction house search
      Compliance:
      mandatory - This method must be implemented.
    • getAuctionHouseSearchOrder

      AuctionHouseSearchOrder getAuctionHouseSearchOrder()
      Gets an auction house search order. The AuctionHouseSearchOrder is supplied to an AuctionHouseSearch to specify the ordering of results.
      Returns:
      the auction house search order
      Compliance:
      mandatory - This method must be implemented.
    • getAuctionHousesBySearch

      AuctionHouseSearchResults getAuctionHousesBySearch(AuctionHouseQuery auctionHouseQuery, AuctionHouseSearch auctionHouseSearch) throws OperationFailedException, PermissionDeniedException
      Gets the search results matching the given search query using the given search.
      Parameters:
      auctionHouseQuery - the auction house query
      auctionHouseSearch - the auction house search
      Returns:
      the returned search results
      Throws:
      NullArgumentException - auctionHouseQuery or auctionHouseSearch is null
      OperationFailedException - unable to complete request
      PermissionDeniedException - authorization failure
      UnsupportedException - auctionHouseQuery or auctionHouseSearch is not of this service
      Compliance:
      mandatory - This method must be implemented.
    • getAuctionHouseQueryFromInspector

      AuctionHouseQuery getAuctionHouseQueryFromInspector(AuctionHouseQueryInspector auctionHouseQueryInspector)
      Gets an auction house query from an inspector. The inspector is available from an AuctionHouseSearchResults .
      Parameters:
      auctionHouseQueryInspector - an auction house query inspector
      Returns:
      the auction house query
      Throws:
      NullArgumentException - auctionHouseQueryInspector is null
      UnsupportedException - auctionHouseQueryInspector is not of this service
      Compliance:
      mandatory - This method must be implemented.