Auction task base command interface.
Field Summary | |
---|---|
static java.sql.Timestamp |
AUCTION_BASE_TIMESTAMP The timestamp for the auction. |
static java.lang.String |
COPYRIGHT Copyright statement. |
static java.lang.String |
defaultCommandClassName The default implementation class name. |
static java.lang.String |
NAME The full class name for this interface file. |
Method Summary | |
---|---|
com.ibm.commerce.negotiation.objects.AuctionAccessBean |
getAuction() Returns the access bean representing the auction. |
void |
setBidRuleId(java.lang.Long br_id) Stores the identifier of the bid control rule used by the auction. |
void |
setCloseType(int aType) Stores an integer representing the auction close type. |
void |
setCurrentAskPrice(java.math.BigDecimal aPrice) Stores the current asking price for the item on a Dutch auction. |
void |
setDeposit(java.math.BigDecimal amount) Stores the value of the deposit that should accompany each bid for the auction. |
void |
setDurationDays(java.lang.Integer param) Stores the number of days between successive bids for which the auction would stay active. |
void |
setDurationTime(java.lang.Integer hours,
java.lang.Integer minutes) Hours and minute for the duration field on auction closing rule. |
void |
setDurationTimestamp(java.sql.Timestamp dur) Stores the duration timestamp. |
void |
setEndTime(java.sql.Timestamp end) Stores the end date and time for the auction. |
void |
setFulfillmentCenterId(java.lang.Integer newFulfillmentCenterId) Stores the identifier for the fulfillment center. |
void |
setLongDescription(java.lang.Integer langid,
java.lang.String ld) Stores the long description for the auction for the specified language. |
void |
setPricingRuleType(java.lang.String s) Stores the pricing rule for the auction. |
void |
setProductDisplayPage(java.lang.String s) Stores the path and name of the product display page. |
void |
setQuantity(java.lang.Double quant) Stores the quantity of the item on auction. |
void |
setReservationId(java.lang.Long v) Stores the identifier for the reservation. |
void |
setReservePrice(java.math.BigDecimal aPrice) Stores the minimum price for which the item will be sold. |
void |
setRuleDisplayPage(java.lang.String s) Stores the path and name of the web page that displays the auction rules. |
void |
setShortDescription(java.lang.Integer langid,
java.lang.String s) Stores the short description for the specified language. |
void |
setStartPrice(java.math.BigDecimal s) Stores the starting price for the Dutch auction. |
void |
setStartTime(java.sql.Timestamp s)
Stores the starting date and time for the auction. |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
public static final java.lang.String defaultCommandClassName
public static final java.lang.String NAME
public static final java.sql.Timestamp AUCTION_BASE_TIMESTAMP
Method Detail |
---|
public com.ibm.commerce.negotiation.objects.AuctionAccessBean getAuction()
public void setBidRuleId(java.lang.Long br_id) throws ECException
br_id
- is the bid rule ID.throws
- ECException if anything goes wrong.ECException
public void setCloseType(int aType) throws ECException
Auction closing rule has the following valid values:
aType
-ECException
public void setCurrentAskPrice(java.math.BigDecimal aPrice) throws ECException
aPrice
-ECException
public void setDeposit(java.math.BigDecimal amount) throws ECException
amount
-ECException
public void setDurationDays(java.lang.Integer param)
param
- is the number of days.public void setDurationTime(java.lang.Integer hours, java.lang.Integer minutes)
hours
-minutes
-public void setDurationTimestamp(java.sql.Timestamp dur) throws ECException
dur
- is the timestamp.ECException
public void setEndTime(java.sql.Timestamp end) throws ECException
end
- is the timestamp.ECException
public void setFulfillmentCenterId(java.lang.Integer newFulfillmentCenterId) throws ECException
newFulfillmentCenterId
-ECException
public void setLongDescription(java.lang.Integer langid, java.lang.String ld) throws ECException
langid
- Language Id.ld
- Long description.ECException
public void setPricingRuleType(java.lang.String s) throws ECException
ND for nondiscriminative, D for discriminative.
s
- is the string.ECException
public void setProductDisplayPage(java.lang.String s) throws ECException
s
- is the page name.ECException
public void setQuantity(java.lang.Double quant) throws ECException
quant
- is the quantity.ECException
public void setReservationId(java.lang.Long v)
v
-public void setReservePrice(java.math.BigDecimal aPrice) throws ECException
ECException
public void setRuleDisplayPage(java.lang.String s) throws ECException
s
- is the rule page name.ECException
public void setShortDescription(java.lang.Integer langid, java.lang.String s) throws ECException
langid
- The language Id.s
- The short description.ECException
public void setStartPrice(java.math.BigDecimal s) throws ECException
s
- is the price.ECException
public void setStartTime(java.sql.Timestamp s) throws ECException
s
- is the time stamp.ECException