java.lang.Object | +--CacheableCommandImpl | +--com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.TaskCommandImpl | +--com.ibm.commerce.rfq.commands.RespondProductPQCmdImpl
Implementation class for responding to the price and quantity of a product.
This command uses the following AccessBeans:
RFQResponseProductAccessBean
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT Copyright. |
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.rfq.commands. RespondProductPQCmd |
defaultCommandClassName,
NAME |
Fields inherited from interface com.ibm.commerce.command. ECCommand |
defaultCommandClassName |
Constructor Summary | |
---|---|
RespondProductPQCmdImpl() Constructs an instance of CreateRFQCmdImpl. |
Method Summary | |
---|---|
java.lang.Long |
getCatentryId() Gets catentryId |
java.math.BigDecimal |
getPrice() Gets price |
java.lang.Double |
getQuantity() Gets quantity |
java.lang.Long |
getResponseId() Gets responseId |
com.ibm.commerce.rfq.utils.RFQResProduct |
getResProduct() Gets resProduct |
java.lang.Long |
getRFQResponseProductId() Gets the RFQ response product ID. |
void |
performExecute() Respond to the product price and quantity |
void |
setResponseId(java.lang.Long newResponseId) Sets the field of responseId |
void |
setResProduct(com.ibm.commerce.rfq.utils.RFQResProduct newResProduct) Sets the field of resProduct |
void |
validateParameters() Validate response 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,
isReadyToCallExecute,
reset,
setAccCheck,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait,
wait, wait |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
Constructor Detail |
---|
public RespondProductPQCmdImpl()
Method Detail |
---|
public java.lang.Long getCatentryId()
public java.math.BigDecimal getPrice()
public java.lang.Double getQuantity()
public java.lang.Long getResponseId()
public com.ibm.commerce.rfq.utils.RFQResProduct getResProduct()
public void performExecute() throws ECApplicationException, ECException
performExecute
in interface
ECCommand
performExecute
in class
AbstractECTargetableCommand
ECApplicationException
java.lang.Exception
ECException
public void setResponseId(java.lang.Long newResponseId)
setResponseId
in interface
RespondProductPQCmd
newResponseId
- java.lang.Longpublic void setResProduct(com.ibm.commerce.rfq.utils.RFQResProduct newResProduct)
setResProduct
in interface
RespondProductPQCmd
newResProduct
-
com.ibm.commerce.rfq.utils.RFQResProductpublic void validateParameters() throws ECApplicationException
validateParameters
in interface
ECCommand
validateParameters
in class
AbstractECTargetableCommand
ECApplicationException
public java.lang.Long getRFQResponseProductId()
getRFQResponseProductId
in interface
RespondProductPQCmd