public class ModifyAuctionTaskCmdImpl extends AuctionTaskBaseCmdImpl implements ModifyAuctionTaskCmd
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
defaultCommandClassName, NAMEAUCTION_BASE_TIMESTAMP| 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.
|
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.
|
compareUptoMinute, getAuction, getAuctionReferenceNumber, getAuctionType, getCurrency, getErrorContent, getErrorFlag, getFulfillmentCenterId, getLanguageId, getLongDescription, getOwnerId, getProductId, getReservationId, getShortDescription, isErrorFlag, reset, saveDescriptions, setAuctionType, setCurrency, setCurrentAvailableQuantity, setErrorContent, setErrorFlag, setFulfillmentCenterId, setLanguageId, setLongDescription, setOwnerId, setProductId, setReservationId, setShortDescriptionaccessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCachegetCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAuction, setFulfillmentCenterId, setLongDescription, setReservationId, setShortDescriptionexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputPropertiescheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiespublic static final java.lang.String COPYRIGHT
public ModifyAuctionTaskCmdImpl()
public java.lang.Long getBidRuleId()
getBidRuleId in class AuctionTaskBaseCmdImplpublic int getCloseType()
getCloseType in class AuctionTaskBaseCmdImplpublic java.math.BigDecimal getCurrentAskPrice()
getCurrentAskPrice in class AuctionTaskBaseCmdImplpublic java.lang.Double getCurrentAvailableQuantity()
getCurrentAvailableQuantity in class AuctionTaskBaseCmdImplpublic java.math.BigDecimal getDeposit()
getDeposit in class AuctionTaskBaseCmdImplpublic java.lang.Integer getDurationDays()
getDurationDays in class AuctionTaskBaseCmdImplpublic java.sql.Timestamp getEndTime()
getEndTime in class AuctionTaskBaseCmdImplpublic java.lang.String getPricingRuleType()
getPricingRuleType in class AuctionTaskBaseCmdImplpublic java.lang.String getProductDisplayPage()
getProductDisplayPage in class AuctionTaskBaseCmdImplpublic java.lang.Double getQuantity()
getQuantity in class AuctionTaskBaseCmdImplpublic java.math.BigDecimal getReservePrice()
getReservePrice in class AuctionTaskBaseCmdImplpublic java.lang.String getRuleDisplayPage()
getRuleDisplayPage in class AuctionTaskBaseCmdImplpublic java.math.BigDecimal getStartPrice()
getStartPrice in class AuctionTaskBaseCmdImplpublic java.sql.Timestamp getStartTime()
getStartTime in class AuctionTaskBaseCmdImplpublic boolean isDirty(java.lang.String field)
field - The field to be checked.public boolean isReadyToCallExecute()
isReadyToCallExecute in interface com.ibm.websphere.command.CommandisReadyToCallExecute in class AuctionTaskBaseCmdImplpublic void performExecute()
throws ECException
performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AuctionTaskBaseCmdImplECException - if EJB related errors are encountered.public void setAuctionReferenceNumber(java.lang.Long newAuctionReferenceNumber)
throws ECApplicationException,
ECSystemException
setAuctionReferenceNumber in interface ModifyAuctionTaskCmdnewAuctionReferenceNumber - The auction reference number.ECApplicationException - if an invalid reference number is specified.ECSystemException - if any other error is encountered.public void setBidRuleId(java.lang.Long br_id)
throws ECException
setBidRuleId in interface AuctionTaskBaseCmdsetBidRuleId in class AuctionTaskBaseCmdImplbr_id - The bid rule ID.ECException - if any problems are encountered.public void setCloseType(int aType)
throws ECException
setCloseType in interface AuctionTaskBaseCmdsetCloseType in class AuctionTaskBaseCmdImplaType - The close type.ECException - if any problems are encountered.public void setCurrentAskPrice(java.math.BigDecimal aPrice)
throws ECException
setCurrentAskPrice in interface AuctionTaskBaseCmdsetCurrentAskPrice in class AuctionTaskBaseCmdImplaprice - The current asks price.ECException - if any problems are encountered.public void setDeposit(java.math.BigDecimal amount)
throws ECException
setDeposit in interface AuctionTaskBaseCmdsetDeposit in class AuctionTaskBaseCmdImplamount - The deposit amount.ECException - if any problems are encountered.public void setDurationDays(java.lang.Integer days)
setDurationDays in interface AuctionTaskBaseCmdsetDurationDays in class AuctionTaskBaseCmdImpldays - The duration days.public void setDurationTime(java.lang.Integer hours,
java.lang.Integer minutes)
setDurationTime in interface AuctionTaskBaseCmdsetDurationTime in class AuctionTaskBaseCmdImplhours - The duration hours.minutes - The duration minutes.public void setDurationTimestamp(java.sql.Timestamp newDurationTimeStamp)
throws ECApplicationException
setDurationTimestamp in interface AuctionTaskBaseCmdsetDurationTimestamp in class AuctionTaskBaseCmdImplnewDurationTimeStamp - The duration timestamp.ECApplicationException - if any problems are encountered.public void setEndTime(java.sql.Timestamp newEndTimeStamp)
throws ECApplicationException
setEndTime in interface AuctionTaskBaseCmdsetEndTime in class AuctionTaskBaseCmdImplnewEndTimeStamp - The auction end timestamp.ECApplicationException - if any problems are encountered.public void setPricingRuleType(java.lang.String s)
throws ECException
setPricingRuleType in interface AuctionTaskBaseCmdsetPricingRuleType in class AuctionTaskBaseCmdImpls - The pricing rule type.ECException - if any problems are encountered.public void setProductDisplayPage(java.lang.String s)
throws ECException
setProductDisplayPage in interface AuctionTaskBaseCmdsetProductDisplayPage in class AuctionTaskBaseCmdImpls - The product display page.ECException - if any problems are encountered.public void setQuantity(java.lang.Double q)
setQuantity in interface AuctionTaskBaseCmdsetQuantity in class AuctionTaskBaseCmdImplq - The auction quantity.public void setReservePrice(java.math.BigDecimal aPrice)
throws ECException
setReservePrice in interface AuctionTaskBaseCmdsetReservePrice in class AuctionTaskBaseCmdImplaPrice - The reserved price.ECException - if any problems are encountered.public void setRuleDisplayPage(java.lang.String s)
throws ECException
setRuleDisplayPage in interface AuctionTaskBaseCmdsetRuleDisplayPage in class AuctionTaskBaseCmdImpls - The rule display page.ECException - if any problems are encountered.public void setStartPrice(java.math.BigDecimal newStartPrice)
setStartPrice in interface AuctionTaskBaseCmdsetStartPrice in class AuctionTaskBaseCmdImplnewStartPrice - The auction starting price.public void setStartTime(java.sql.Timestamp s)
throws ECException
setStartTime in interface AuctionTaskBaseCmdsetStartTime in class AuctionTaskBaseCmdImpls - The auction start time.ECException - if there are any problems.public void validateParameters()
throws ECException
validateParameters in interface ECCommandvalidateParameters in class AbstractECTargetableCommandECException - if any problems are
found with the parameters.