public interface AuctionTaskBaseCmd extends TaskCommand
| Modifier and Type | Field and Description |
|---|---|
static java.sql.Timestamp |
AUCTION_BASE_TIMESTAMP
The timestamp for the auction.
|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
static java.lang.String |
defaultCommandClassName
The default implementation class name.
|
static java.lang.String |
NAME
The full class name for this interface file.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputPropertiescheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParametersstatic final java.lang.String COPYRIGHT
static final java.lang.String defaultCommandClassName
static final java.lang.String NAME
static final java.sql.Timestamp AUCTION_BASE_TIMESTAMP
AuctionAccessBean getAuction()
void setBidRuleId(java.lang.Long br_id)
throws ECException
br_id - is the bid rule ID.throws - ECException if anything goes wrong.ECExceptionvoid setCloseType(int aType)
throws ECException
Auction closing rule has the following valid values:
aType - ECExceptionvoid setCurrentAskPrice(java.math.BigDecimal aPrice)
throws ECException
aPrice - ECExceptionvoid setDeposit(java.math.BigDecimal amount)
throws ECException
amount - ECExceptionvoid setDurationDays(java.lang.Integer param)
param - is the number of days.void setDurationTime(java.lang.Integer hours,
java.lang.Integer minutes)
hours - minutes - void setDurationTimestamp(java.sql.Timestamp dur)
throws ECException
dur - is the timestamp.ECExceptionvoid setEndTime(java.sql.Timestamp end)
throws ECException
end - is the timestamp.ECExceptionvoid setFulfillmentCenterId(java.lang.Integer newFulfillmentCenterId)
throws ECException
newFulfillmentCenterId - ECExceptionvoid setLongDescription(java.lang.Integer langid,
java.lang.String ld)
throws ECException
langid - Language ID.ld - Long description.ECExceptionvoid setPricingRuleType(java.lang.String s)
throws ECException
ND for nondiscriminative, D for discriminative.
s - is the string.ECExceptionvoid setProductDisplayPage(java.lang.String s)
throws ECException
s - is the page name.ECExceptionvoid setQuantity(java.lang.Double quant)
throws ECException
quant - is the quantity.ECExceptionvoid setReservationId(java.lang.Long v)
v - void setReservePrice(java.math.BigDecimal aPrice)
throws ECException
aPrice. - ECExceptionvoid setRuleDisplayPage(java.lang.String s)
throws ECException
s - is the rule page name.ECExceptionvoid setShortDescription(java.lang.Integer langid,
java.lang.String s)
throws ECException
langid - The language ID.s - The short description.ECExceptionvoid setStartPrice(java.math.BigDecimal s)
throws ECException
s - is the price.ECExceptionvoid setStartTime(java.sql.Timestamp s)
throws ECException
s - is the time stamp.ECException