com.ibm.commerce.negotiation.commands
Class AuctionTaskBaseCmdImpl

java.lang.Object
  |
  +--com.ibm.commerce.command.AbstractECCommand
        |
        +--com.ibm.commerce.command.TaskCommandImpl
              |
              +--com.ibm.commerce.negotiation.commands.AuctionTaskBaseCmdImpl
All Implemented Interfaces:
AuctionTaskBaseCmd, ECCommand, TaskCommand
Direct Known Subclasses:
CreateAuctionTaskCmdImpl, ModifyAuctionTaskCmdImpl

public class AuctionTaskBaseCmdImpl
extends TaskCommandImpl
implements AuctionTaskBaseCmd

Base class for auction administration task commands.


Field Summary
protected  AuctionAccessBean auctionAccessBean
           
protected  java.lang.Long auctionReferenceNumber
           
protected  java.lang.String auctionType
           
protected  boolean bidRuleExist
           
protected  java.lang.Long bidRuleId
           
protected  int closeType
           
protected  java.lang.String currency
           
protected  java.math.BigDecimal currentAskPrice
           
protected  java.lang.Double currentAvailableQuantity
           
protected  java.sql.Timestamp currentTimeStamp
           
protected  java.math.BigDecimal deposit
           
protected  java.lang.Integer durationDays
           
protected  java.sql.Timestamp durationTimeStamp
           
protected  java.sql.Timestamp endTime
           
protected  java.lang.Integer fulfillmentCenterId
           
protected  java.lang.Integer languageId
           
protected  java.util.Hashtable longDescriptions
           
protected  java.lang.Long ownerId
           
protected  java.lang.String pricingRuleType
           
protected  java.lang.String productDisplayPage
           
protected  java.lang.Long productId
           
protected  java.lang.Double quantity
           
protected  java.lang.Long reservationId
           
protected  java.math.BigDecimal reservePrice
           
protected  java.lang.String ruleDisplayPage
           
protected  java.util.Hashtable shortDescriptions
           
protected  java.math.BigDecimal startPrice
           
protected  java.sql.Timestamp startTime
           
protected  java.lang.String status
           
 
Fields inherited from class com.ibm.commerce.command.AbstractECCommand
commandContext
 
Fields inherited from interface com.ibm.commerce.negotiation.commands.AuctionTaskBaseCmd
AUCTION_BASE_TIMESTAMP, COPYRIGHT, defaultCommandClassName, NAME
 
Constructor Summary
AuctionTaskBaseCmdImpl()
          AuctionTaskBaseCmdImpl default constructor.
 
Method Summary
protected static java.sql.Timestamp addTimestamp(java.sql.Timestamp t1, java.sql.Timestamp t2)
          Utility method to add two timestamps.
protected  int checkBidRule()
          Validate the bid rule.
static int compareUptoMinute(java.sql.Timestamp time1, java.sql.Timestamp time2)
          Compare two timestamps up to the minute level.
protected  java.sql.Timestamp dayChangeInTimestamp(java.sql.Timestamp t1, int dayChanged)
          returns a new timestamp of the original timestamp with an increment of the specified days.
 AuctionAccessBean getAuction()
          Returns the access bean representing the auction.
 java.lang.Long getAuctionReferenceNumber()
          Gets auction's Id (aka identifier).
 java.lang.String getAuctionType()
          Returns the auction type.
protected  java.sql.Timestamp getBaseTimeStamp()
          Returns the base timestamp.
 java.lang.Long getBidRuleId()
          Returns the bid rule Id.
 int getCloseType()
          Gets the auction's closing type.
 java.lang.String getCurrency()
          Get the currency type for the auction.
 java.math.BigDecimal getCurrentAskPrice()
          Get Dutch auction's current ask price.
 java.lang.Double getCurrentAvailableQuantity()
          Gets the current available quantity for an auction.
protected  java.sql.Timestamp getCurrentTimeStamp()
          Gets current time stamp.
 java.math.BigDecimal getDeposit()
          Gets deposit required by the auction.
 java.lang.Integer getDurationDays()
          Get duration days related to auction closing rule.
protected  java.sql.Timestamp getDurationTimeStamp()
          Get duration time stamp.
 java.sql.Timestamp getEndTime()
          Gets auction's end time.
 java.util.Hashtable getErrorContent()
          Get error hashtable.
 boolean getErrorFlag()
          Get error flag.
 java.lang.Integer getFulfillmentCenterId()
          get fulfillment center Id.
protected  java.lang.Integer getFulfillmentCenterId(java.lang.Long catId, java.lang.Double quantity)
          Resolves fulfill center base on product Id and allocation quantity.
 java.lang.Integer getLanguageId()
          Get language Id.
 java.lang.String getLongDescription(java.lang.Integer langid)
          Get long description for the auction.
protected  java.lang.String getMerchantCurrency(java.lang.Integer anMerchantNum)
          Get the default currency type for the given store.
 java.lang.Long getOwnerId()
          Gets auction's owner Id.
 java.lang.String getPricingRuleType()
          Get auction's pricing rule type.
 java.lang.String getProductDisplayPage()
          Gets product display page.
 java.lang.Long getProductId()
          Get product (aka catalog entry) Id.
 java.lang.Double getQuantity()
          Gets Auction quantity.
 java.lang.Long getReservationId()
          Returns the reservation identifier.
 java.math.BigDecimal getReservePrice()
          Returns reserve price.
 java.lang.String getRuleDisplayPage()
          Gets auction's rule display page.
 java.lang.String getShortDescription(java.lang.Integer langid)
          Gets auction's short desciption.
 java.math.BigDecimal getStartPrice()
          Get Dutch auction's openning price.
 java.sql.Timestamp getStartTime()
          Gets auction's start time.
protected  java.lang.String getStatus()
          Get auction's status.
protected  java.sql.Timestamp getUpdatedEndTimestamp()
          Calculates what is the ending time based on auction rule type.
protected  boolean inventoryUpdate(java.lang.Long catId, java.lang.Double qua)
          Reserves inventory for the auction.
 boolean isErrorFlag()
          Gets error flag.
 boolean isReadyToCallExecute()
          Is ready to call Execute method.
 void performExecute()
          Execute the command.
 void reset()
          reset the parameters..
 void saveDescriptions()
          Saves the short and long descriptions for the auction.
 void setAuctionType(java.lang.String s)
          Set auction type for the command.
 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 setCurrency(java.lang.String newCurrency)
          Sets the currency type for the auction.
 void setCurrentAskPrice(java.math.BigDecimal aPrice)
          Stores the current asking price for the item on a Dutch auction.
 void setCurrentAvailableQuantity(java.lang.Double q)
          Set current available quantity.
 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 days)
          Saves the number of days between successive bids for which the auction will be active.
 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)
          Set duration timestamp
 void setEndTime(java.sql.Timestamp newEndTimeStamp)
          Set auction end date timestamp.
 void setErrorContent(java.util.Hashtable newErrorContent)
          Set error content hashtable.
 void setErrorFlag(boolean newErrorFlag)
          Set error flag.
 void setFulfillmentCenterId(java.lang.Integer newFulfillmentCenterId)
          Set fullfillment center id.
 void setLanguageId(java.lang.Integer id)
          Sets language id.
 void setLongDescription(java.lang.Integer langid, java.lang.String ld)
          Stores the long description for the auction for the specified language.
 void setOwnerId(java.lang.Long id)
          Sets auction owner Id.
 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 setProductId(java.lang.Long theId)
          Set product (aka catalog entry) Id.
protected  void setProductOnAuction(java.lang.Integer i)
          set auction flag in catentry table
 void setQuantity(java.lang.Double q)
          Set auction quantity.
 void setReservationId(java.lang.Long newReservationId)
          Stores the identifier for the reservation.
 void setReservePrice(java.math.BigDecimal aPrice)
          Set reserve price.
 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 newStartPrice)
          Stores the starting price for the Dutch auction.
 void setStartTime(java.sql.Timestamp s)
          Stores the starting date and time for the auction.
protected  void setStatus(java.lang.String newStatus)
          Set auction status.
 
Methods inherited from class com.ibm.commerce.command.AbstractECCommand
accessControlCheck, checkIsAllowed, checkResourcePermission, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters
 

Field Detail

auctionAccessBean

protected AuctionAccessBean auctionAccessBean

auctionReferenceNumber

protected java.lang.Long auctionReferenceNumber

auctionType

protected java.lang.String auctionType

bidRuleExist

protected boolean bidRuleExist

bidRuleId

protected java.lang.Long bidRuleId

closeType

protected int closeType

currency

protected java.lang.String currency

currentAskPrice

protected java.math.BigDecimal currentAskPrice

currentAvailableQuantity

protected java.lang.Double currentAvailableQuantity

currentTimeStamp

protected java.sql.Timestamp currentTimeStamp

deposit

protected java.math.BigDecimal deposit

durationDays

protected java.lang.Integer durationDays

durationTimeStamp

protected java.sql.Timestamp durationTimeStamp

endTime

protected java.sql.Timestamp endTime

fulfillmentCenterId

protected java.lang.Integer fulfillmentCenterId

languageId

protected java.lang.Integer languageId

longDescriptions

protected java.util.Hashtable longDescriptions

ownerId

protected java.lang.Long ownerId

pricingRuleType

protected java.lang.String pricingRuleType

productDisplayPage

protected java.lang.String productDisplayPage

productId

protected java.lang.Long productId

quantity

protected java.lang.Double quantity

reservationId

protected java.lang.Long reservationId

reservePrice

protected java.math.BigDecimal reservePrice

ruleDisplayPage

protected java.lang.String ruleDisplayPage

shortDescriptions

protected java.util.Hashtable shortDescriptions

startPrice

protected java.math.BigDecimal startPrice

startTime

protected java.sql.Timestamp startTime

status

protected java.lang.String status
Constructor Detail

AuctionTaskBaseCmdImpl

public AuctionTaskBaseCmdImpl()
AuctionTaskBaseCmdImpl default constructor.
Method Detail

addTimestamp

protected static java.sql.Timestamp addTimestamp(java.sql.Timestamp t1,
                                                 java.sql.Timestamp t2)
Utility method to add two timestamps. extract hours and minutes from the second timestamp and added to the first one.
Parameters:
t1 - java.sql.Timestamp
t2 - java.sql.Timestamp
Returns:
java.sql.Timestamp

checkBidRule

protected int checkBidRule()
                    throws ECApplicationException
Validate the bid rule.
Returns:
1 if it is valid; otherwise ECApplicationException is thrown.
Throws:
ECApplicationException. -  

compareUptoMinute

public static int compareUptoMinute(java.sql.Timestamp time1,
                                    java.sql.Timestamp time2)
Compare two timestamps up to the minute level.

2001-10-20 13:24:34.384 is considered equal to 2001-10-20 13:24:00.0

  1. returns 0 when t1 == t2.
  2. returns 1 when t1 > t2.
  3. returns -1 when t1 < t2.
  4. returns -100 when t1 or t2 is null.
Parameters:
time1 -  
time2 -  
Returns:
int

dayChangeInTimestamp

protected java.sql.Timestamp dayChangeInTimestamp(java.sql.Timestamp t1,
                                                  int dayChanged)
returns a new timestamp of the original timestamp with an increment of the specified days.
Parameters:
t1 - Original timestamp.
dayschanged - Days of the increment.
Returns:
java.sql.Timestamp

getAuction

public AuctionAccessBean getAuction()
Returns the access bean representing the auction.
Specified by:
getAuction in interface AuctionTaskBaseCmd
Returns:
AuctionAccessBean

getAuctionReferenceNumber

public java.lang.Long getAuctionReferenceNumber()
Gets auction's Id (aka identifier).
Returns:
the auction Id.

getAuctionType

public java.lang.String getAuctionType()
Returns the auction type.

O for open cry, SB for sealed bid, and D for Dutch.

Returns:
the type.

getBaseTimeStamp

protected java.sql.Timestamp getBaseTimeStamp()
Returns the base timestamp.
Returns:
the time stamp object.

getBidRuleId

public java.lang.Long getBidRuleId()
Returns the bid rule Id.
Returns:
bid rule Id.

getCloseType

public int getCloseType()
Gets the auction's closing type.

Auction closing rule has the following valid values:

  1. 1=auction closes at a fixed end time.
  2. 2=auction closes if a specified amount of time has elapsed since the last bid.
  3. 3=based on logical OR between 1 and 2.
  4. 4=based on logical AND between 1 and 2.
Returns:
int

getCurrency

public java.lang.String getCurrency()
Get the currency type for the auction.
Returns:
the currency string.

getCurrentAskPrice

public java.math.BigDecimal getCurrentAskPrice()
Get Dutch auction's current ask price.
Returns:
the price.

getCurrentAvailableQuantity

public java.lang.Double getCurrentAvailableQuantity()
Gets the current available quantity for an auction.
Returns:
the quantity.

getCurrentTimeStamp

protected java.sql.Timestamp getCurrentTimeStamp()
Gets current time stamp.
Returns:
the Timestamp

getDeposit

public java.math.BigDecimal getDeposit()
Gets deposit required by the auction.
Returns:
BigDecimal

getDurationDays

public java.lang.Integer getDurationDays()
Get duration days related to auction closing rule.
Returns:
the Integer object.

getDurationTimeStamp

protected java.sql.Timestamp getDurationTimeStamp()
Get duration time stamp.
Returns:
the Timestamp.

getEndTime

public java.sql.Timestamp getEndTime()
Gets auction's end time.
Returns:
Timestamp

getErrorContent

public java.util.Hashtable getErrorContent()
Get error hashtable.
Returns:
Hashtable of error codes.

getErrorFlag

public boolean getErrorFlag()
Get error flag.
Parameters:
the - Error Flag

getFulfillmentCenterId

public java.lang.Integer getFulfillmentCenterId()
get fulfillment center Id.
Returns:
the identifier.

getFulfillmentCenterId

protected java.lang.Integer getFulfillmentCenterId(java.lang.Long catId,
                                                   java.lang.Double quantity)
Resolves fulfill center base on product Id and allocation quantity.
Parameters:
catId - is the catalog entry Id.
quantity - is the quantity needs to be allocated.
Returns:
fulfillment center Id.

getLanguageId

public java.lang.Integer getLanguageId()
Get language Id.
Returns:
java.lang.Integer

getLongDescription

public java.lang.String getLongDescription(java.lang.Integer langid)
Get long description for the auction.
Returns:
java.lang.String

getMerchantCurrency

protected java.lang.String getMerchantCurrency(java.lang.Integer anMerchantNum)
Get the default currency type for the given store.
Parameters:
anMerchantNum - is the store Id.

getOwnerId

public java.lang.Long getOwnerId()
Gets auction's owner Id.
Returns:
java.lang.Long

getPricingRuleType

public java.lang.String getPricingRuleType()
Get auction's pricing rule type.

ND for nondiscriminative, D for discriminative.

Returns:
String

getProductDisplayPage

public java.lang.String getProductDisplayPage()
Gets product display page.
Returns:
java.lang.String

getProductId

public java.lang.Long getProductId()
Get product (aka catalog entry) Id.
Returns:
java.lang.String

getQuantity

public java.lang.Double getQuantity()
Gets Auction quantity.
Returns:
java.lang.String

getReservationId

public java.lang.Long getReservationId()
Returns the reservation identifier.
Returns:
java.lang.Long

getReservePrice

public java.math.BigDecimal getReservePrice()
Returns reserve price.
Returns:
java.math.BigDecimal

getRuleDisplayPage

public java.lang.String getRuleDisplayPage()
Gets auction's rule display page.
Returns:
java.lang.String

getShortDescription

public java.lang.String getShortDescription(java.lang.Integer langid)
Gets auction's short desciption.
Returns:
java.lang.String

getStartPrice

public java.math.BigDecimal getStartPrice()
Get Dutch auction's openning price.

getStartTime

public java.sql.Timestamp getStartTime()
Gets auction's start time.
Returns:
java.sql.Timestamp

getStatus

protected java.lang.String getStatus()
Get auction's status.

F for future, C for current, BC for bidding closed, SC for settlement closed.

Returns:
java.lang.String

getUpdatedEndTimestamp

protected java.sql.Timestamp getUpdatedEndTimestamp()
Calculates what is the ending time based on auction rule type.
Returns:
java.sql.Timestamp

inventoryUpdate

protected boolean inventoryUpdate(java.lang.Long catId,
                                  java.lang.Double qua)
                           throws ECApplicationException
Reserves inventory for the auction.
Parameters:
qua - The quantity that needs to be reserved.
catId - The catalog entry Id.

isErrorFlag

public boolean isErrorFlag()
Gets error flag.
Returns:
boolean

isReadyToCallExecute

public boolean isReadyToCallExecute()
Is ready to call Execute method.
Overrides:
isReadyToCallExecute in class AbstractECCommand
Returns:
true if it is ready. False if it is not ready.

performExecute

public void performExecute()
                    throws ECException
Execute the command.
Specified by:
performExecute in interface ECCommand
Overrides:
performExecute in class AbstractECCommand
Following copied from interface: com.ibm.commerce.command.ECCommand
Throws:
com.ibm.commerce.command.CommandException - The superclass for all ECExceptions.

reset

public void reset()
reset the parameters..
Overrides:
reset in class AbstractECCommand

saveDescriptions

public void saveDescriptions()
                      throws java.lang.Exception
Saves the short and long descriptions for the auction.

setAuctionType

public void setAuctionType(java.lang.String s)
                    throws ECException
Set auction type for the command.
  1. O for open cry auction type.
  2. SB for sealed bid auction type.
  3. D for Dutch auction type.
Parameters:
s - The auction type.

setBidRuleId

public void setBidRuleId(java.lang.Long br_id)
                  throws ECException
Stores the identifier of the bid control rule used by the auction.
Specified by:
setBidRuleId in interface AuctionTaskBaseCmd
Parameters:
br_id - is the bid rule ID.
Throws:
throws - ECException if anything goes wrong.

setCloseType

public void setCloseType(int aType)
                  throws ECException
Stores an integer representing the auction close type.

Auction closing rule has the following valid values:

  1. 1=auction closes at a fixed end time.
  2. 2=auction closes if a specified amount of time has elapsed since the last bid.
  3. 3=based on logical OR between 1 and 2.
  4. 4=based on logical AND between 1 and 2.
Specified by:
setCloseType in interface AuctionTaskBaseCmd
Parameters:
aType -  

setCurrency

public void setCurrency(java.lang.String newCurrency)
                 throws ECApplicationException
Sets the currency type for the auction.
Parameters:
newCurrency - java.lang.String

setCurrentAskPrice

public void setCurrentAskPrice(java.math.BigDecimal aPrice)
                        throws ECException
Stores the current asking price for the item on a Dutch auction.
Specified by:
setCurrentAskPrice in interface AuctionTaskBaseCmd
Parameters:
aPrice -  

setCurrentAvailableQuantity

public void setCurrentAvailableQuantity(java.lang.Double q)
Set current available quantity. This quantity is used by Dutch auction type only.
Parameters:
q - The current available quantity.

setDeposit

public void setDeposit(java.math.BigDecimal amount)
                throws ECException
Stores the value of the deposit that should accompany each bid for the auction.
Specified by:
setDeposit in interface AuctionTaskBaseCmd
Parameters:
amount -  

setDurationDays

public void setDurationDays(java.lang.Integer days)
Saves the number of days between successive bids for which the auction will be active.
Specified by:
setDurationDays in interface AuctionTaskBaseCmd
Parameters:
days - java.lang.Integer

setDurationTime

public void setDurationTime(java.lang.Integer hours,
                            java.lang.Integer minutes)
Set up the duration timestamp based on hours and minutes.
Specified by:
setDurationTime in interface AuctionTaskBaseCmd
Parameters:
hours -  
minutes -  

setDurationTimestamp

public void setDurationTimestamp(java.sql.Timestamp newDurationTimeStamp)
                          throws ECApplicationException
Set duration timestamp
Specified by:
setDurationTimestamp in interface AuctionTaskBaseCmd
Parameters:
newDurationTimeStamp -  

setEndTime

public void setEndTime(java.sql.Timestamp newEndTimeStamp)
                throws ECApplicationException
Set auction end date timestamp.
Specified by:
setEndTime in interface AuctionTaskBaseCmd
Parameters:
newEndTimeStamp -  

setErrorContent

public void setErrorContent(java.util.Hashtable newErrorContent)
Set error content hashtable.
Parameters:
newErrorContent -  

setErrorFlag

public void setErrorFlag(boolean newErrorFlag)
Set error flag.
Parameters:
newErrorFlag -  

setFulfillmentCenterId

public void setFulfillmentCenterId(java.lang.Integer newFulfillmentCenterId)
Set fullfillment center id.
Specified by:
setFulfillmentCenterId in interface AuctionTaskBaseCmd
Parameters:
newFulfillmentCenterId -  

setLanguageId

public void setLanguageId(java.lang.Integer id)
Sets language id.
Parameters:
id -  

setLongDescription

public void setLongDescription(java.lang.Integer langid,
                               java.lang.String ld)
                        throws ECException
Stores the long description for the auction for the specified language.
Specified by:
setLongDescription in interface AuctionTaskBaseCmd
Parameters:
langid - Language Id.
ld - Long description.

setOwnerId

public void setOwnerId(java.lang.Long id)
Sets auction owner Id.
Parameters:
id - The owner's Id.

setPricingRuleType

public void setPricingRuleType(java.lang.String s)
                        throws ECException
Stores the pricing rule for the auction.

ND for nondiscriminative, D for discriminative.

Specified by:
setPricingRuleType in interface AuctionTaskBaseCmd
Parameters:
s -  

setProductDisplayPage

public void setProductDisplayPage(java.lang.String s)
                           throws ECException
Stores the path and name of the product display page.
Specified by:
setProductDisplayPage in interface AuctionTaskBaseCmd
Parameters:
s -  

setProductId

public void setProductId(java.lang.Long theId)
                  throws ECException
Set product (aka catalog entry) Id.

setProductOnAuction

protected void setProductOnAuction(java.lang.Integer i)
                            throws javax.ejb.CreateException,
                                   ECApplicationException,
                                   ECSystemException,
                                   java.rmi.RemoteException,
                                   javax.naming.NamingException,
                                   javax.ejb.FinderException
set auction flag in catentry table
Parameters:
i - is the value to be set. 1 for on auction, 0 for not on auction.

setQuantity

public void setQuantity(java.lang.Double q)
Set auction quantity.
Specified by:
setQuantity in interface AuctionTaskBaseCmd
Parameters:
q - is the quntity.

setReservationId

public void setReservationId(java.lang.Long newReservationId)
Stores the identifier for the reservation.
Specified by:
setReservationId in interface AuctionTaskBaseCmd
Parameters:
newReservationId -  

setReservePrice

public void setReservePrice(java.math.BigDecimal aPrice)
                     throws ECException
Set reserve price.
Specified by:
setReservePrice in interface AuctionTaskBaseCmd
Parameters:
aPrice. -  

setRuleDisplayPage

public void setRuleDisplayPage(java.lang.String s)
                        throws ECException
Stores the path and name of the web page that displays the auction rules.
Specified by:
setRuleDisplayPage in interface AuctionTaskBaseCmd
Parameters:
s - is the page name.

setShortDescription

public void setShortDescription(java.lang.Integer langid,
                                java.lang.String s)
                         throws ECException
Stores the short description for the specified language.
Specified by:
setShortDescription in interface AuctionTaskBaseCmd
Parameters:
langid - The language Id.
s - The short description.

setStartPrice

public void setStartPrice(java.math.BigDecimal newStartPrice)
Stores the starting price for the Dutch auction.
Specified by:
setStartPrice in interface AuctionTaskBaseCmd
Parameters:
newStartPrice -  

setStartTime

public void setStartTime(java.sql.Timestamp s)
                  throws ECException
Stores the starting date and time for the auction.
Specified by:
setStartTime in interface AuctionTaskBaseCmd
Parameters:
s - is the new start time.

setStatus

protected void setStatus(java.lang.String newStatus)
Set auction status.
Parameters:
newStatus -