com.ibm.commerce.rfq.commands
Class RespondProductPQCmdImpl
java.lang.Object
|
+--com.ibm.commerce.command.AbstractECCommand
|
+--com.ibm.commerce.command.TaskCommandImpl
|
+--com.ibm.commerce.rfq.commands.RespondProductPQCmdImpl
- All Implemented Interfaces:
- ECCommand, RespondProductPQCmd, TaskCommand
- public class RespondProductPQCmdImpl
- extends TaskCommandImpl
- implements RespondProductPQCmd
Implementation class for responding to the price and quantity of a product
Field Summary |
protected java.lang.Long |
responseId
|
protected com.ibm.commerce.rfq.commands.RFQResProduct |
resProduct
|
Methods inherited from class com.ibm.commerce.command.AbstractECCommand |
accessControlCheck, checkIsAllowed, checkResourcePermission, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, 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.command.ECCommand |
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties |
responseId
protected java.lang.Long responseId
resProduct
protected com.ibm.commerce.rfq.commands.RFQResProduct resProduct
RespondProductPQCmdImpl
public RespondProductPQCmdImpl()
- Constructs an instance of CreateRFQCmdImpl.
getCatentryId
public java.lang.Long getCatentryId()
- Gets catentryId
- Returns:
- java.lang.Long
getPrice
public java.math.BigDecimal getPrice()
- Gets price
- Returns:
- java.math.BigDecimal
getQuantity
public java.lang.Double getQuantity()
- Gets quantity
- Returns:
- java.lang.Double
getResponseId
public java.lang.Long getResponseId()
- Gets responseId
- Returns:
- java.lang.Long
getResProduct
public com.ibm.commerce.rfq.utils.RFQResProduct getResProduct()
- Gets resProduct
- Returns:
- com.ibm.commerce.rfq.utils.RFQResProduct
performExecute
public void performExecute()
throws ECApplicationException,
ECException
- Respond to the product price and quantity
- 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.
setResponseId
public void setResponseId(java.lang.Long newResponseId)
- Sets the field of responseId
- Specified by:
setResponseId
in interface RespondProductPQCmd
- Parameters:
newResponseId
- java.lang.Long
setResProduct
public void setResProduct(com.ibm.commerce.rfq.utils.RFQResProduct newResProduct)
- Sets the field of resProduct
- Specified by:
setResProduct
in interface RespondProductPQCmd
- Parameters:
newResProduct
- com.ibm.commerce.rfq.utils.RFQResProduct
validateParameters
public void validateParameters()
throws ECApplicationException
- Validate response paramters.
- Specified by:
validateParameters
in interface ECCommand
- Overrides:
validateParameters
in class AbstractECCommand
- Following copied from interface:
com.ibm.commerce.command.ECCommand
- Throws:
ECException.
-