public class ModifyAuctionTaskCmdImpl extends AuctionTaskBaseCmdImpl implements ModifyAuctionTaskCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
defaultCommandClassName, NAME
AUCTION_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, setShortDescription
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAuction, setFulfillmentCenterId, setLongDescription, setReservationId, setShortDescription
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
public static final java.lang.String COPYRIGHT
public ModifyAuctionTaskCmdImpl()
public java.lang.Long getBidRuleId()
getBidRuleId
in class AuctionTaskBaseCmdImpl
public int getCloseType()
getCloseType
in class AuctionTaskBaseCmdImpl
public java.math.BigDecimal getCurrentAskPrice()
getCurrentAskPrice
in class AuctionTaskBaseCmdImpl
public java.lang.Double getCurrentAvailableQuantity()
getCurrentAvailableQuantity
in class AuctionTaskBaseCmdImpl
public java.math.BigDecimal getDeposit()
getDeposit
in class AuctionTaskBaseCmdImpl
public java.lang.Integer getDurationDays()
getDurationDays
in class AuctionTaskBaseCmdImpl
public java.sql.Timestamp getEndTime()
getEndTime
in class AuctionTaskBaseCmdImpl
public java.lang.String getPricingRuleType()
getPricingRuleType
in class AuctionTaskBaseCmdImpl
public java.lang.String getProductDisplayPage()
getProductDisplayPage
in class AuctionTaskBaseCmdImpl
public java.lang.Double getQuantity()
getQuantity
in class AuctionTaskBaseCmdImpl
public java.math.BigDecimal getReservePrice()
getReservePrice
in class AuctionTaskBaseCmdImpl
public java.lang.String getRuleDisplayPage()
getRuleDisplayPage
in class AuctionTaskBaseCmdImpl
public java.math.BigDecimal getStartPrice()
getStartPrice
in class AuctionTaskBaseCmdImpl
public java.sql.Timestamp getStartTime()
getStartTime
in class AuctionTaskBaseCmdImpl
public boolean isDirty(java.lang.String field)
field
- The field to be checked.public boolean isReadyToCallExecute()
isReadyToCallExecute
in interface com.ibm.websphere.command.Command
isReadyToCallExecute
in class AuctionTaskBaseCmdImpl
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AuctionTaskBaseCmdImpl
ECException
- if EJB related errors are encountered.public void setAuctionReferenceNumber(java.lang.Long newAuctionReferenceNumber) throws ECApplicationException, ECSystemException
setAuctionReferenceNumber
in interface ModifyAuctionTaskCmd
newAuctionReferenceNumber
- 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 AuctionTaskBaseCmd
setBidRuleId
in class AuctionTaskBaseCmdImpl
br_id
- The bid rule ID.ECException
- if any problems are encountered.public void setCloseType(int aType) throws ECException
setCloseType
in interface AuctionTaskBaseCmd
setCloseType
in class AuctionTaskBaseCmdImpl
aType
- The close type.ECException
- if any problems are encountered.public void setCurrentAskPrice(java.math.BigDecimal aPrice) throws ECException
setCurrentAskPrice
in interface AuctionTaskBaseCmd
setCurrentAskPrice
in class AuctionTaskBaseCmdImpl
aprice
- The current asks price.ECException
- if any problems are encountered.public void setDeposit(java.math.BigDecimal amount) throws ECException
setDeposit
in interface AuctionTaskBaseCmd
setDeposit
in class AuctionTaskBaseCmdImpl
amount
- The deposit amount.ECException
- if any problems are encountered.public void setDurationDays(java.lang.Integer days)
setDurationDays
in interface AuctionTaskBaseCmd
setDurationDays
in class AuctionTaskBaseCmdImpl
days
- The duration days.public void setDurationTime(java.lang.Integer hours, java.lang.Integer minutes)
setDurationTime
in interface AuctionTaskBaseCmd
setDurationTime
in class AuctionTaskBaseCmdImpl
hours
- The duration hours.minutes
- The duration minutes.public void setDurationTimestamp(java.sql.Timestamp newDurationTimeStamp) throws ECApplicationException
setDurationTimestamp
in interface AuctionTaskBaseCmd
setDurationTimestamp
in class AuctionTaskBaseCmdImpl
newDurationTimeStamp
- The duration timestamp.ECApplicationException
- if any problems are encountered.public void setEndTime(java.sql.Timestamp newEndTimeStamp) throws ECApplicationException
setEndTime
in interface AuctionTaskBaseCmd
setEndTime
in class AuctionTaskBaseCmdImpl
newEndTimeStamp
- The auction end timestamp.ECApplicationException
- if any problems are encountered.public void setPricingRuleType(java.lang.String s) throws ECException
setPricingRuleType
in interface AuctionTaskBaseCmd
setPricingRuleType
in class AuctionTaskBaseCmdImpl
s
- The pricing rule type.ECException
- if any problems are encountered.public void setProductDisplayPage(java.lang.String s) throws ECException
setProductDisplayPage
in interface AuctionTaskBaseCmd
setProductDisplayPage
in class AuctionTaskBaseCmdImpl
s
- The product display page.ECException
- if any problems are encountered.public void setQuantity(java.lang.Double q)
setQuantity
in interface AuctionTaskBaseCmd
setQuantity
in class AuctionTaskBaseCmdImpl
q
- The auction quantity.public void setReservePrice(java.math.BigDecimal aPrice) throws ECException
setReservePrice
in interface AuctionTaskBaseCmd
setReservePrice
in class AuctionTaskBaseCmdImpl
aPrice
- The reserved price.ECException
- if any problems are encountered.public void setRuleDisplayPage(java.lang.String s) throws ECException
setRuleDisplayPage
in interface AuctionTaskBaseCmd
setRuleDisplayPage
in class AuctionTaskBaseCmdImpl
s
- The rule display page.ECException
- if any problems are encountered.public void setStartPrice(java.math.BigDecimal newStartPrice)
setStartPrice
in interface AuctionTaskBaseCmd
setStartPrice
in class AuctionTaskBaseCmdImpl
newStartPrice
- The auction starting price.public void setStartTime(java.sql.Timestamp s) throws ECException
setStartTime
in interface AuctionTaskBaseCmd
setStartTime
in class AuctionTaskBaseCmdImpl
s
- The auction start time.ECException
- if there are any problems.public void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException
- if any problems are
found with the parameters.