public class ModifyAuctionTaskCmdImpl extends AuctionTaskBaseCmdImpl implements ModifyAuctionTaskCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
protected java.util.Hashtable | dirtyFlags
Hashtable of values for verification.
|
Constructor and Description |
---|
ModifyAuctionTaskCmdImpl()
CreateAuctionCmdImpl constructor comment.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Long | getBidRuleId()
Gets the bid rule identifier.
|
int | getCloseType()
Gets the way auction will be closed.
|
java.math.BigDecimal | getCurrentAskPrice()
Gets the current asks price.
|
java.lang.Double | getCurrentAvailableQuantity()
Gets the current available quantity.
|
java.math.BigDecimal | getDeposit()
Gets the deposit amount.
|
java.lang.Integer | getDurationDays()
Gets the duration days.
|
protected java.sql.Timestamp | getDurationTimeStamp()
Gets the duration timestamp.
|
java.sql.Timestamp | getEndTime()
Gets the auction end time.
|
java.lang.String | getPricingRuleType()
Gets the pricing rule type.
|
java.lang.String | getProductDisplayPage()
Gets the product display page.
|
java.lang.Double | getQuantity()
Gets the quantity.
|
java.math.BigDecimal | getReservePrice()
Gets the reserve price.
|
java.lang.String | getRuleDisplayPage()
Gets the rule display page.
|
java.math.BigDecimal | getStartPrice()
Gets the start price.
|
java.sql.Timestamp | getStartTime()
Gets the auction start time.
|
boolean | isDirty(java.lang.String field)
Checks if a field has been updated.
|
boolean | isReadyToCallExecute()
Determines if the command can be run.
|
void | performExecute()
Updates auction.
|
void | setAuctionReferenceNumber(java.lang.Long newAuctionReferenceNumber)
Sets Auction Reference Number
|
void | setBidRuleId(java.lang.Long br_id)
Sets the bid rule ID.
|
void | setCloseType(int aType)
Sets the close type.
|
void | setCurrentAskPrice(java.math.BigDecimal aPrice)
Sets current asks price for dutch auction.
|
void | setDeposit(java.math.BigDecimal amount)
Sets the deposit.
|
void | setDurationDays(java.lang.Integer days)
Stores the incoming value for the day duration.
|
void | setDurationTime(java.lang.Integer hours, java.lang.Integer minutes)
Sets up the duration timestamp based on hours and minutes.
|
void | setDurationTimestamp(java.sql.Timestamp newDurationTimeStamp)
Sets duration timestamp
|
void | setEndTime(java.sql.Timestamp newEndTimeStamp)
Sets auction end date timestamp.
|
void | setPricingRuleType(java.lang.String s)
Sets the pricing rule type.
|
void | setProductDisplayPage(java.lang.String s)
Sets the product display page.
|
void | setQuantity(java.lang.Double q)
Sets auction quantity.
|
void | setReservePrice(java.math.BigDecimal aPrice)
Sets the reserved price.
|
void | setRuleDisplayPage(java.lang.String s)
Sets the rule display page.
|
void | setStartPrice(java.math.BigDecimal newStartPrice)
Sets the auction starting price.
|
void | setStartTime(java.sql.Timestamp s)
Sets the auction start time.
|
void | validateParameters()
Validates auction parameters.
|
public static final java.lang.String COPYRIGHT
protected java.util.Hashtable dirtyFlags
public ModifyAuctionTaskCmdImpl()
public java.lang.Long getBidRuleId()
public int getCloseType()
public java.math.BigDecimal getCurrentAskPrice()
public java.lang.Double getCurrentAvailableQuantity()
public java.math.BigDecimal getDeposit()
public java.lang.Integer getDurationDays()
protected java.sql.Timestamp getDurationTimeStamp()
public java.sql.Timestamp getEndTime()
public java.lang.String getPricingRuleType()
public java.lang.String getProductDisplayPage()
public java.lang.Double getQuantity()
public java.math.BigDecimal getReservePrice()
public java.lang.String getRuleDisplayPage()
public java.math.BigDecimal getStartPrice()
public java.sql.Timestamp getStartTime()
public boolean isDirty(java.lang.String field)
public boolean isReadyToCallExecute()
public void performExecute() throws ECException
public void setAuctionReferenceNumber(java.lang.Long newAuctionReferenceNumber) throws ECApplicationException, ECSystemException
public void setBidRuleId(java.lang.Long br_id) throws ECException
public void setCloseType(int aType) throws ECException
public void setCurrentAskPrice(java.math.BigDecimal aPrice) throws ECException
public void setDeposit(java.math.BigDecimal amount) throws ECException
public void setDurationDays(java.lang.Integer days)
public void setDurationTime(java.lang.Integer hours, java.lang.Integer minutes)
public void setDurationTimestamp(java.sql.Timestamp newDurationTimeStamp) throws ECApplicationException
public void setEndTime(java.sql.Timestamp newEndTimeStamp) throws ECApplicationException
public void setPricingRuleType(java.lang.String s) throws ECException
public void setProductDisplayPage(java.lang.String s) throws ECException
public void setQuantity(java.lang.Double q)
public void setReservePrice(java.math.BigDecimal aPrice) throws ECException
public void setRuleDisplayPage(java.lang.String s) throws ECException
public void setStartPrice(java.math.BigDecimal newStartPrice)
public void setStartTime(java.sql.Timestamp s) throws ECException
public void validateParameters() throws ECException