|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Auction task base command interface.
Field Summary | |
static java.sql.Timestamp |
AUCTION_BASE_TIMESTAMP
|
static java.lang.String |
COPYRIGHT
|
static java.lang.String |
defaultCommandClassName
|
static java.lang.String |
NAME
|
Method Summary | |
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. |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
Field Detail |
public static final java.sql.Timestamp AUCTION_BASE_TIMESTAMP
public static final java.lang.String COPYRIGHT
public static final java.lang.String defaultCommandClassName
public static final java.lang.String NAME
Method Detail |
public 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.public void setCloseType(int aType) throws ECException
Auction closing rule has the following valid values:
aType
- public void setCurrentAskPrice(java.math.BigDecimal aPrice) throws ECException
aPrice
- public void setDeposit(java.math.BigDecimal amount) throws ECException
amount
- 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.public void setEndTime(java.sql.Timestamp end) throws ECException
end
- is the timestamp.public void setFulfillmentCenterId(java.lang.Integer newFulfillmentCenterId) throws ECException
newFulfillmentCenterId
- public void setLongDescription(java.lang.Integer langid, java.lang.String ld) throws ECException
langid
- Language Id.ld
- Long description.public void setPricingRuleType(java.lang.String s) throws ECException
ND for nondiscriminative, D for discriminative.
s
- is the string.public void setProductDisplayPage(java.lang.String s) throws ECException
s
- is the page name.public void setQuantity(java.lang.Double quant) throws ECException
quant
- is the quantity.public void setReservationId(java.lang.Long v)
v
- public void setReservePrice(java.math.BigDecimal aPrice) throws ECException
aPrice.
- public void setRuleDisplayPage(java.lang.String s) throws ECException
s
- is the rule page name.public void setShortDescription(java.lang.Integer langid, java.lang.String s) throws ECException
langid
- The language Id.s
- The short description.public void setStartPrice(java.math.BigDecimal s) throws ECException
s
- is the price.public void setStartTime(java.sql.Timestamp s) throws ECException
s
- is the time stamp.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |