OSID Logo
OSID Specifications
bidding package
Version 3.1.0
Interfaceosid.bidding.Auction
Implementsosid.OsidGovernator
Used Byosid.bidding.AuctionAdminSession
osid.bidding.AuctionList
osid.bidding.AuctionLookupSession
osid.bidding.Bid
Description

An Auction governs how Bids may be performed.

MethodgetCurrencyType
Description

Gets the currency type used in this auction.

Returnosid.type.Type currency type
Compliancemandatory This method must be implemented.
MethodgetMinimumBidders
Description

Gets the minimum number of bidders required for this auction to complete.

Returncardinal the minimum number of bidders
Compliancemandatory This method must be implemented.
MethodisSealed
Description

Tests if bids in this auction are visible.

Returnboolean true if this auction is sealed, false otherwise
Compliancemandatory This method must be implemented.
MethodgetSellerId
Description

Gets the seller Id.

Returnosid.id.Id a resource Id
Compliancemandatory This method must be implemented.
MethodgetSeller
Description

Gets the seller.

Returnosid.resource.Resource a resource
ErrorsOPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetItemId
Description

Gets the item Id.

Returnosid.id.Id a resource Id
Compliancemandatory This method must be implemented.
MethodgetItem
Description

Gets the item.

Returnosid.resource.Resource a resource
ErrorsOPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetLotSize
Description

Gets the number of items up for bid.

Returncardinal the initial number of items
Compliancemandatory This method must be implemented.
MethodgetRemainingItems
Description

Gets the number of items remaining.

Returncardinal the number of items remaining
Compliancemandatory This method must be implemented.
MethodlimitsItems
Description

Tests if this auction has a maxmimum number of items that can be bought.

Returnboolean true if the auction has an item limit, false otherwise
Compliancemandatory This method must be implemented.
MethodgetItemLimit
Description

Gets the limit on the number of items that can be bought.

Returncardinal the item limit
ErrorsILLEGAL_STATE limitsItems() is false
Compliancemandatory This method must be implemented.
MethodgetStartingPrice
Description

Gets the starting price per item.

Returnosid.financials.Currency the starting price
Compliancemandatory This method must be implemented.
MethodgetPriceIncrement
Description

Gets the minimum increment amount for successive bids.

Returnosid.financials.Currency the increment
Compliancemandatory This method must be implemented.
MethodhasReservePrice
Description

Tests if a buyout price is available.

Returnboolean true if the auction has a reserve price, false otherwise
Compliancemandatory This method must be implemented.
MethodgetReservePrice
Description

Gets the reserve price.

Returnosid.financials.Currency the reserve price
ErrorsILLEGAL_STATE hasReservePrice() is false
Compliancemandatory This method must be implemented.
MethodhasBuyoutPrice
Description

Tests if a buyout price is available.

Returnboolean true if the item can be bought out, false otherwise
Compliancemandatory This method must be implemented.
MethodgetBuyoutPrice
Description

Gets the buyout price.

Returnosid.financials.Currency the buyout price
ErrorsILLEGAL_STATE hasBuyoutPrice() is false
Compliancemandatory This method must be implemented.
MethodgetAuctionRecord
Description

Gets the auction record corresponding to the given Auction record Type.This method ie used to retrieve an object implementing the requested record. The auctionRecordType may be the Type returned in getRecordTypes() or any of its parents in a Type hierarchy where hasRecordType(auctionRecordType) is true.

Parametersosid.type.TypeauctionRecordType the type of auction record to retrieve
Returnosid.bidding.records.AuctionRecord the auction record
ErrorsNULL_ARGUMENT auctionRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(auctionRecordType) is false
Compliancemandatory This method must be implemented.