OSID Logo
OSID Specifications
bidding package
Version 3.0.0
Release Candidate Preview
Interfaceosid.bidding.AuctionForm
Implementsosid.OsidGovernatorForm
osid.OsidTemporalForm
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_ARGUMENT currencyType is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT currencyType is null
CompliancemandatoryThis method must be implemented.
MethodclearCurrencyType
Description

Removes the currency type.

ErrorsNO_ACCESS Metadata.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_ARGUMENT bidders is invalid
NO_ACCESS Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodclearMinimumBidders
Description

Removes the minimum bidders.

ErrorsNO_ACCESS Metadata.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_ARGUMENT sealed is invalid
NO_ACCESS Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodclearSealed
Description

Removes the sealed flag.

ErrorsNO_ACCESS Metadata.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_ARGUMENT resourceId is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT resourceId is null
CompliancemandatoryThis method must be implemented.
MethodclearSeller
Description

Removes the item.

ErrorsNO_ACCESS Metadata.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_ARGUMENT resourceId is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT resourceId is null
CompliancemandatoryThis method must be implemented.
MethodclearItem
Description

Removes the item.

ErrorsNO_ACCESS Metadata.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_ARGUMENT size is invalid
NO_ACCESS Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodclearLotSize
Description

Removes the lot size.

ErrorsNO_ACCESS Metadata.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_ARGUMENT limit is invalid
NO_ACCESS Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodclearItemLimit
Description

Removes the item limit.

ErrorsNO_ACCESS Metadata.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_ARGUMENT price is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT price is null
CompliancemandatoryThis method must be implemented.
MethodclearStartingPrice
Description

Removes the starting price.

ErrorsNO_ACCESS Metadata.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_ARGUMENT price is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT price is null
CompliancemandatoryThis method must be implemented.
MethodclearPriceIncrement
Description

Removes the price increment.

ErrorsNO_ACCESS Metadata.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_ARGUMENT price is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT price is null
CompliancemandatoryThis method must be implemented.
MethodclearReservePrice
Description

Removes the reserve price.

ErrorsNO_ACCESS Metadata.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_ARGUMENT price is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT price is null
CompliancemandatoryThis method must be implemented.
MethodclearBuyoutPrice
Description

Removes the buyout price.

ErrorsNO_ACCESS Metadata.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_ARGUMENT auctionRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(auctionRecordType) is false
CompliancemandatoryThis method must be implemented.