com.ibm.commerce.rfq.commands
Class RFQResponseCreateCmdImpl
com.ibm.commerce.rfq.commands.RFQResponseBaseCmdImpl
|
+--com.ibm.commerce.rfq.commands.RFQResponseCreateCmdImpl
- All Implemented Interfaces:
- AccCommand, ControllerCommand, ECCommand, Protectable, RFQResponseBaseCmd, RFQResponseCreateCmd, ToolsControllerCommand
- public class RFQResponseCreateCmdImpl
- extends RFQResponseBaseCmdImpl
- implements RFQResponseCreateCmd
Implementation class for creating an RFQ response.
Fields inherited from class com.ibm.commerce.rfq.commands.RFQResponseBaseCmdImpl |
commentsRFQLevelList, createTime, errorContent, errorFlag, majorVersion, minorVersion, ownerId, requestId, responseId, responseName, responseRemarks, resProductsList, updateTime |
Method Summary |
protected RFQResponseAccessBean |
createResponse()
Insert a response record in database. |
protected void |
doAcknowlegement()
response creation acknowledgement |
protected void |
initParameters()
Retrieves create response parameters. |
void |
performExecute()
Contains the actual business logic of the command
It should be implemented by all the command writer. |
void |
respondPriceAndQuantity(java.lang.Long resId,
com.ibm.commerce.rfq.commands.RFQResProduct resProduct)
Respond to the price and quantity of a product |
void |
respondProduct()
Respond to the price, quantity and OrderItemPAttributeTC of each product |
void |
respondProductAttribute(java.lang.Long respondId,
java.lang.Long catEntryId1,
java.util.Vector productAttributeList)
Respond the OrderPAttributeTC of a product |
protected void |
respondRFQLevelTC()
Respond to the OrderCommentsTC of an rfq |
void |
validateParameters()
Validate response parameters. |
Methods inherited from class com.ibm.commerce.rfq.commands.RFQResponseBaseCmdImpl |
getCommentsRFQLevelList, getCreateTime, getErrorContent, getErrorFlag, getMajorVersion, getMinorVersion, getOwnerId, getRequestId, getResponseId, getResponseName, getResponseRemarks, getResProductsList, getToolXMLObject, getUpdateTime, getViewTaskName, getWizardNavagationFile, setCommentsRFQLevelList, setCommentsRFQLevelList, setCreateTime, setErrorContent, setErrorFlag, setMajorVersion, setMinorVersion, setRequestId, setRequestProperties, setResponseId, setResponseId, setResponseName, setResponseRemarks, setResProductsList, setResProductsList, setToolXMLObject, setUpdateTime, setViewTaskName |
Methods inherited from interface com.ibm.commerce.command.ControllerCommand |
execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setDefaultProperties |
SUBMIT_ERROR_STATUS_ERROR
public static java.lang.String SUBMIT_ERROR_STATUS_ERROR
RFQResponseCreateCmdImpl
public RFQResponseCreateCmdImpl()
- constructs an instance of RFQResponseCreateCmdImpl.
createResponse
protected RFQResponseAccessBean createResponse()
throws ECApplicationException,
ECException
- Insert a response record in database.
doAcknowlegement
protected void doAcknowlegement()
throws ECApplicationException
- response creation acknowledgement
initParameters
protected void initParameters()
throws ECApplicationException
- Retrieves create response parameters.
performExecute
public void performExecute()
throws ECException
- Description copied from interface:
ECCommand
- Contains the actual business logic of the command
It should be implemented by all the command writer.
- Specified by:
performExecute
in interface ECCommand
- Following copied from interface:
com.ibm.commerce.command.ECCommand
- Throws:
com.ibm.commerce.command.CommandException
- The superclass for all ECExceptions.
respondPriceAndQuantity
public void respondPriceAndQuantity(java.lang.Long resId,
com.ibm.commerce.rfq.commands.RFQResProduct resProduct)
throws ECApplicationException,
ECException
- Respond to the price and quantity of a product
respondProduct
public void respondProduct()
throws ECApplicationException,
ECException
- Respond to the price, quantity and OrderItemPAttributeTC of each product
respondProductAttribute
public void respondProductAttribute(java.lang.Long respondId,
java.lang.Long catEntryId1,
java.util.Vector productAttributeList)
throws ECApplicationException,
ECException
- Respond the OrderPAttributeTC of a product
respondRFQLevelTC
protected void respondRFQLevelTC()
throws ECApplicationException,
ECException
- Respond to the OrderCommentsTC of an rfq
validateParameters
public void validateParameters()
throws ECException
- Validate response parameters.
- Specified by:
validateParameters
in interface ECCommand
- Following copied from interface:
com.ibm.commerce.command.ECCommand
- Throws:
ECException.
-