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

This session manages queries and sequencing to create "smart" dynamic catalogs. An AuctionQuery can be retrieved from this session and auctionHouseped to this AuctionHouse to create a virtual collection of Auctions. The auctions may be sequenced using the AuctionSearchOrder from this session.

This AuctionHouse has a default query that matches any auction and a default search order that specifies no sequencing. The queries may be examined using an AuctionQueryInspector. The query may be modified by converting the inspector back to an AuctionQuery.

MethodgetAuctionHouseId
Description

Gets the AuctionHouse Id associated with this session.

Returnosid.id.Id the AuctionHouse Id associated with this session
Compliancemandatory This method must be implemented.
MethodgetAuctionHouse
Description

Gets the AuctionHouse associated with this session.

Returnosid.bidding.AuctionHouse the auction house
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodcanManageSmartAuctionHouses
Description

Tests if this user can manage smart auction houses. A return of true does not guarantee successful authorization. A return of false indicates that it is known methods in this session will result in a PERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer operations to unauthorized users.

Returnboolean false if smart auction house management is not authorized, true otherwise
Compliancemandatory This method must be implemented.
MethodgetAuctionQuery
Description

Gets an auction query.

Returnosid.bidding.AuctionQuery the auction query
Compliancemandatory This method must be implemented.
MethodgetAuctionSearchOrder
Description

Gets an auction search order.

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

Applies an auction query to this auction house.

Parametersosid.bidding.AuctionQueryauctionQuery the auction query
ErrorsNULL_ARGUMENT auctionQuery is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
UNSUPPORTED auctionQuery not of this service
Compliancemandatory This method must be implemented.
MethodinspectAuctionQuery
Description

Gets an auction query inspector for this auction house.

Returnosid.bidding.AuctionQueryInspector the auction query inspector
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
Compliancemandatory This method must be implemented.
MethodapplyAuctionSequencing
Description

Applies an auction search order to this auction house.

Parametersosid.bidding.AuctionSearchOrderauctionSearchOrder the auction search order
ErrorsNULL_ARGUMENT auctionSearchOrder is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
UNSUPPORTED auctionSearchOrder not of this service
Compliancemandatory This method must be implemented.
MethodgetAuctionQueryFromInspector
Description

Gets an auction query from an inspector.

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.