OSID Logo
OSID Specifications
bidding package
Version 3.1.0
Interfaceosid.bidding.BidForm
Implementsosid.OsidRelationshipForm
Implemented Byosid.bidding.batch.BidBatchForm
Used Byosid.bidding.BidAdminSession
Description

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

MethodgetQuantityMetadata
Description

Gets the metadata for the quantity.

Returnosid.Metadata metadata for the quantity
Compliancemandatory This method must be implemented.
MethodsetQuantity
Description

Sets the quantity.

Parameterscardinalquantity the new quantity
ErrorsINVALID_ARGUMENT quantity is invalid
NO_ACCESS Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodclearQuantity
Description

Removes the quantity.

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

Gets the metadata for the maximum bid.

Returnosid.Metadata metadata for the maximum bid
Compliancemandatory This method must be implemented.
MethodsetMaximumBid
Description

Sets the maximum bid.

Parametersosid.financials.Currencybid the new maximum bid
ErrorsINVALID_ARGUMENT bid is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT bid is null
Compliancemandatory This method must be implemented.
MethodclearMaximumBid
Description

Removes the maximum bid.

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

Gets the BidFormRecord corresponding to the given bid record Type.

Parametersosid.type.TypebidRecordType a bid record type
Returnosid.bidding.records.BidFormRecord the bid form record
ErrorsNULL_ARGUMENT bidRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(bidRecordType) is false
Compliancemandatory This method must be implemented.