OSID Logo
OSID Specifications
bidding package
Version 3.1.0
Interfaceosid.bidding.AuctionForm
Implementsosid.OsidGovernatorForm
Implemented Byosid.bidding.batch.AuctionBatchForm
Used Byosid.bidding.AuctionAdminSession
Description

This is the form for creating and updating Auctions.Like all OsidForm objects, various data elements may be set here for use in the create and update methods in the AuctionAdminSession. For each data element that may be set, metadata may be examined to provide display hints or data constraints.

MethodgetCurrnecyTypeMetadata
Description

Gets the metadata for the currency type.

Returnosid.Metadata metadata for the currency type
Compliancemandatory This method must be implemented.
MethodsetCurrencyType
Description

Sets the currency type

Parametersosid.type.TypecurrencyType the new currency type
ErrorsINVALID_ARGUMENT currencyType is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT currencyType is null
Compliancemandatory This method must be implemented.
MethodclearCurrencyType
Description

Removes the currency type.

ErrorsNO_ACCESS Metadata.isRequired() is true or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetMinimumBiddersMetadata
Description

Gets the metadata for the minimum bidders.

Returnosid.Metadata metadata for the minimum bidders
Compliancemandatory This method must be implemented.
MethodsetMinimumBidders
Description

Sets the minimum bidders.

Parameterscardinalbidders the new minimum bidders
ErrorsINVALID_ARGUMENT bidders is invalid
NO_ACCESS Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodclearMinimumBidders
Description

Removes the minimum bidders.

ErrorsNO_ACCESS Metadata.isRequired() is true or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetSealedMetadata
Description

Gets the metadata for the sealed flag.

Returnosid.Metadata metadata for the sealed flag
Compliancemandatory This method must be implemented.
MethodsetSealed
Description

Sets the sealed flag.

Parametersbooleansealed the new sealed flag
ErrorsINVALID_ARGUMENT sealed is invalid
NO_ACCESS Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodclearSealed
Description

Removes the sealed flag.

ErrorsNO_ACCESS Metadata.isRequired() is true or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetSellerMetadata
Description

Gets the metadata for the seller.

Returnosid.Metadata metadata for the seller
Compliancemandatory This method must be implemented.
MethodsetSeller
Description

Sets the seller.

Parametersosid.id.IdresourceId the new resource Id
ErrorsINVALID_ARGUMENT resourceId is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT resourceId is null
Compliancemandatory This method must be implemented.
MethodclearSeller
Description

Removes the item.

ErrorsNO_ACCESS Metadata.isRequired() is true or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetItemMetadata
Description

Gets the metadata for the item.

Returnosid.Metadata metadata for the item
Compliancemandatory This method must be implemented.
MethodsetItem
Description

Sets the item.

Parametersosid.id.IdresourceId the new resource Id
ErrorsINVALID_ARGUMENT resourceId is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT resourceId is null
Compliancemandatory This method must be implemented.
MethodclearItem
Description

Removes the item.

ErrorsNO_ACCESS Metadata.isRequired() is true or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetLotSizeMetadata
Description

Gets the metadata for the lot size.

Returnosid.Metadata metadata for the lot size
Compliancemandatory This method must be implemented.
MethodsetLotSize
Description

Sets the lot size.

Parameterscardinalsize the new lot size
ErrorsINVALID_ARGUMENT size is invalid
NO_ACCESS Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodclearLotSize
Description

Removes the lot size.

ErrorsNO_ACCESS Metadata.isRequired() is true or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetItemLimitMetadata
Description

Gets the metadata for the item limit.

Returnosid.Metadata metadata for the item limit
Compliancemandatory This method must be implemented.
MethodsetItemLimit
Description

Sets the item limit.

Parameterscardinallimit the new item limit
ErrorsINVALID_ARGUMENT limit is invalid
NO_ACCESS Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodclearItemLimit
Description

Removes the item limit.

ErrorsNO_ACCESS Metadata.isRequired() is true or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetStartingPriceMetadata
Description

Gets the metadata for the starting price.

Returnosid.Metadata metadata for the starting price
Compliancemandatory This method must be implemented.
MethodsetStartingPrice
Description

Sets the starting price.

Parametersosid.financials.Currencyprice the new starting price
ErrorsINVALID_ARGUMENT price is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT price is null
Compliancemandatory This method must be implemented.
MethodclearStartingPrice
Description

Removes the starting price.

ErrorsNO_ACCESS Metadata.isRequired() is true or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetPriceIncrementMetadata
Description

Gets the metadata for the price increment.

Returnosid.Metadata metadata for the price increment
Compliancemandatory This method must be implemented.
MethodsetPriceIncrement
Description

Sets the price increment.

Parametersosid.financials.Currencyprice the new price increment
ErrorsINVALID_ARGUMENT price is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT price is null
Compliancemandatory This method must be implemented.
MethodclearPriceIncrement
Description

Removes the price increment.

ErrorsNO_ACCESS Metadata.isRequired() is true or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetReservePriceMetadata
Description

Gets the metadata for the reserve price.

Returnosid.Metadata metadata for the reserve price
Compliancemandatory This method must be implemented.
MethodsetReservePrice
Description

Sets the reserve price.

Parametersosid.financials.Currencyprice the new reserve price
ErrorsINVALID_ARGUMENT price is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT price is null
Compliancemandatory This method must be implemented.
MethodclearReservePrice
Description

Removes the reserve price.

ErrorsNO_ACCESS Metadata.isRequired() is true or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetBuyoutPriceMetadata
Description

Gets the metadata for the buyout price.

Returnosid.Metadata metadata for the buyout price
Compliancemandatory This method must be implemented.
MethodsetBuyoutPrice
Description

Sets the buyout price.

Parametersosid.financials.Currencyprice the new buyout price
ErrorsINVALID_ARGUMENT price is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT price is null
Compliancemandatory This method must be implemented.
MethodclearBuyoutPrice
Description

Removes the buyout price.

ErrorsNO_ACCESS Metadata.isRequired() is true or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetAuctionFormRecord
Description

Gets the AuctionFormRecord corresponding to the given auction record Type.

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