OSID Logo
OSID Specifications
bidding package
Version 3.1.0
Interfaceosid.bidding.AuctionSearchSession
Implementsosid.bidding.AuctionQuerySession
Used Byosid.bidding.BiddingManager
osid.bidding.BiddingProxyManager
Description

This session provides methods for searching among Auctions. 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.

  • federated auction house view: searches include auctions in auction houses of which this auction house is an ancestor in the auction house hierarchy
  • isolated auction house view: searches are restricted to auctions in this auction house

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

MethodgetAuctionSearch
Description

Gets an auction search.

Returnosid.bidding.AuctionSearch the auction search
Compliancemandatory This method must be implemented.
MethodgetAuctionSearchOrder
Description

Gets an auction search order. The AuctionSearchOrder is supplied to an AuctionSearch to specify the ordering of results.

Returnosid.bidding.AuctionSearchOrder the auction search order
Compliancemandatory This method must be implemented.
MethodgetAuctionsBySearch
Description

Gets the search results matching the given search query using the given search.

Parametersosid.bidding.AuctionQueryauctionQuery the auction query
osid.bidding.AuctionSearchauctionSearch the auction search
Returnosid.bidding.AuctionSearchResults the returned search results
ErrorsNULL_ARGUMENT auctionQuery or auctionSearch is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
UNSUPPORTED auctionQuery or auctionSearch is not of this service
Compliancemandatory This method must be implemented.
MethodgetAuctionQueryFromInspector
Description

Gets an auction query from an inspector. The inspector is available from an AuctionSearchResults.

Parametersosid.bidding.AuctionQueryInspectorauctionQueryInspector an auction query inspector
Returnosid.bidding.AuctionQuery the auction query
ErrorsNULL_ARGUMENT auctionQueryInspector is null
UNSUPPORTED auctionQueryInspector is not of this service
Compliancemandatory This method must be implemented.