OSID Logo
OSID Specifications
bidding package
Version 3.0.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.Metadatametadata for the currency type
CompliancemandatoryThis method must be implemented.
MethodsetCurrencyType
Description

Sets the currency type

Parametersosid.type.TypecurrencyTypethe new currency type
ErrorsINVALID_ARGUMENTcurrencyType is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTcurrencyType is null
CompliancemandatoryThis method must be implemented.
MethodclearCurrencyType
Description

Removes the currency type.

ErrorsNO_ACCESSMetadata.isRequired() is true or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetMinimumBiddersMetadata
Description

Gets the metadata for the minimum bidders.

Returnosid.Metadatametadata for the minimum bidders
CompliancemandatoryThis method must be implemented.
MethodsetMinimumBidders
Description

Sets the minimum bidders.

Parameterscardinalbiddersthe new minimum bidders
ErrorsINVALID_ARGUMENTbidders is invalid
NO_ACCESSMetadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodclearMinimumBidders
Description

Removes the minimum bidders.

ErrorsNO_ACCESSMetadata.isRequired() is true or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetSealedMetadata
Description

Gets the metadata for the sealed flag.

Returnosid.Metadatametadata for the sealed flag
CompliancemandatoryThis method must be implemented.
MethodsetSealed
Description

Sets the sealed flag.

Parametersbooleansealedthe new sealed flag
ErrorsINVALID_ARGUMENTsealed is invalid
NO_ACCESSMetadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodclearSealed
Description

Removes the sealed flag.

ErrorsNO_ACCESSMetadata.isRequired() is true or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetSellerMetadata
Description

Gets the metadata for the seller.

Returnosid.Metadatametadata for the seller
CompliancemandatoryThis method must be implemented.
MethodsetSeller
Description

Sets the seller.

Parametersosid.id.IdresourceIdthe new resource Id
ErrorsINVALID_ARGUMENTresourceId is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTresourceId is null
CompliancemandatoryThis method must be implemented.
MethodclearSeller
Description

Removes the item.

ErrorsNO_ACCESSMetadata.isRequired() is true or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetItemMetadata
Description

Gets the metadata for the item.

Returnosid.Metadatametadata for the item
CompliancemandatoryThis method must be implemented.
MethodsetItem
Description

Sets the item.

Parametersosid.id.IdresourceIdthe new resource Id
ErrorsINVALID_ARGUMENTresourceId is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTresourceId is null
CompliancemandatoryThis method must be implemented.
MethodclearItem
Description

Removes the item.

ErrorsNO_ACCESSMetadata.isRequired() is true or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetLotSizeMetadata
Description

Gets the metadata for the lot size.

Returnosid.Metadatametadata for the lot size
CompliancemandatoryThis method must be implemented.
MethodsetLotSize
Description

Sets the lot size.

Parameterscardinalsizethe new lot size
ErrorsINVALID_ARGUMENTsize is invalid
NO_ACCESSMetadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodclearLotSize
Description

Removes the lot size.

ErrorsNO_ACCESSMetadata.isRequired() is true or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetItemLimitMetadata
Description

Gets the metadata for the item limit.

Returnosid.Metadatametadata for the item limit
CompliancemandatoryThis method must be implemented.
MethodsetItemLimit
Description

Sets the item limit.

Parameterscardinallimitthe new item limit
ErrorsINVALID_ARGUMENTlimit is invalid
NO_ACCESSMetadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodclearItemLimit
Description

Removes the item limit.

ErrorsNO_ACCESSMetadata.isRequired() is true or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetStartingPriceMetadata
Description

Gets the metadata for the starting price.

Returnosid.Metadatametadata for the starting price
CompliancemandatoryThis method must be implemented.
MethodsetStartingPrice
Description

Sets the starting price.

Parametersosid.financials.Currencypricethe new starting price
ErrorsINVALID_ARGUMENTprice is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTprice is null
CompliancemandatoryThis method must be implemented.
MethodclearStartingPrice
Description

Removes the starting price.

ErrorsNO_ACCESSMetadata.isRequired() is true or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetPriceIncrementMetadata
Description

Gets the metadata for the price increment.

Returnosid.Metadatametadata for the price increment
CompliancemandatoryThis method must be implemented.
MethodsetPriceIncrement
Description

Sets the price increment.

Parametersosid.financials.Currencypricethe new price increment
ErrorsINVALID_ARGUMENTprice is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTprice is null
CompliancemandatoryThis method must be implemented.
MethodclearPriceIncrement
Description

Removes the price increment.

ErrorsNO_ACCESSMetadata.isRequired() is true or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetReservePriceMetadata
Description

Gets the metadata for the reserve price.

Returnosid.Metadatametadata for the reserve price
CompliancemandatoryThis method must be implemented.
MethodsetReservePrice
Description

Sets the reserve price.

Parametersosid.financials.Currencypricethe new reserve price
ErrorsINVALID_ARGUMENTprice is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTprice is null
CompliancemandatoryThis method must be implemented.
MethodclearReservePrice
Description

Removes the reserve price.

ErrorsNO_ACCESSMetadata.isRequired() is true or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetBuyoutPriceMetadata
Description

Gets the metadata for the buyout price.

Returnosid.Metadatametadata for the buyout price
CompliancemandatoryThis method must be implemented.
MethodsetBuyoutPrice
Description

Sets the buyout price.

Parametersosid.financials.Currencypricethe new buyout price
ErrorsINVALID_ARGUMENTprice is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTprice is null
CompliancemandatoryThis method must be implemented.
MethodclearBuyoutPrice
Description

Removes the buyout price.

ErrorsNO_ACCESSMetadata.isRequired() is true or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetAuctionFormRecord
Description

Gets the AuctionFormRecord corresponding to the given auction record Type .

Parametersosid.type.TypeauctionRecordTypean auction record type
Returnosid.bidding.records.AuctionFormRecordthe auction form record
ErrorsNULL_ARGUMENTauctionRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(auctionRecordType) is false
CompliancemandatoryThis method must be implemented.