java.lang.ObjectCacheableCommandImpl
com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.command.TaskCommandImpl
com.ibm.commerce.negotiation.commands.AuctionTaskBaseCmdImpl
com.ibm.commerce.negotiation.commands.ModifyAuctionTaskCmdImpl
Modify Auction command. This command will update an existing auction. This command calls the following TaskCommands:
This command uses the following AccessBeans:Field Summary | |
static java.lang.String | COPYRIGHT Copyright statement. |
protected java.util.Hashtable | dirtyFlags Hashtable of values for verification. |
Fields inherited from class com.ibm.commerce.negotiation.commands.AuctionTaskBaseCmdImpl |
auctionAccessBean, auctionReferenceNumber, auctionType, bidRuleExist, bidRuleId, closeType, currency, currentAskPrice, currentAvailableQuantity, currentTimeStamp, deposit, durationDays, durationTimeStamp, endTime, fulfillmentCenterId, languageId, longDescriptions, ownerId, pricingRuleType, productDisplayPage, productId, quantity, reservationId, reservePrice, ruleDisplayPage, shortDescriptions, startPrice, startTime, status |
Fields inherited from class com.ibm.commerce.command.AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.negotiation.commands.ModifyAuctionTaskCmd |
defaultCommandClassName, NAME |
Fields inherited from interface com.ibm.commerce.negotiation.commands.AuctionTaskBaseCmd |
AUCTION_BASE_TIMESTAMP |
Fields inherited from interface com.ibm.commerce.command.ECCommand |
defaultCommandClassName |
Constructor Summary | |
ModifyAuctionTaskCmdImpl() CreateAuctionCmdImpl1 constructor comment. |
Method Summary | |
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 ask 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) Check if a field has been updated. |
boolean | isReadyToCallExecute() Determine if the command can be run. |
void | performExecute() Update 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 ask 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) Set 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() Validate auction paramters. |
Methods inherited from class com.ibm.commerce.command.AbstractECTargetableCommand |
accessControlCheck, checkIsAllowed, checkParameters, checkResourcePermission, createCommandExecutionEvent, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.ibm.commerce.negotiation.commands.AuctionTaskBaseCmd |
getAuction, setFulfillmentCenterId, setLongDescription, setReservationId, setShortDescription |
Field Detail |
public static final java.lang.String COPYRIGHT
protected java.util.Hashtable dirtyFlags
Constructor Detail |
public ModifyAuctionTaskCmdImpl()
Method Detail |
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
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.