public class RFQResponseCreateCmdImpl extends RFQResponseBaseCmdImpl implements RFQResponseCreateCmd
This command calls the following TaskCommands:
CreateResponseBasicInfoCmdCreateResponseFulfillmentTCCmdRespondPAttributeCmdRespondProductPQCmdRespondRFQLevelAttachmentsCmdRespondRFQLevelCommentsTCCmdCatalogEntryAccessBeanRFQAccessBean| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
NAMEdefaultCommandClassName| Constructor and Description |
|---|
RFQResponseCreateCmdImpl()
constructs an instance of RFQResponseCreateCmdImpl.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Long |
getRspProdId()
Returns the response product ID set by respondPriceAndQuantity.
|
void |
performExecute()
Create a response
Step 1: Create an entry in the rfqrsp table using the TRADING_ID as the RFQRESPONSEID
Step 2: Respond FulfillmentTC
Step 3: Create Response attachment.
|
void |
respondCategoryPriceAdjustment()
Respond to the Category Price Adjustments of each product
|
void |
respondPriceAdjustment(java.lang.Long resId,
com.ibm.commerce.rfq.utils.RFQResProduct resProduct)
Respond to the price adjustment of a product
|
void |
respondPriceAndQuantity(java.lang.Long resId,
com.ibm.commerce.rfq.utils.RFQResProduct resProduct)
Respond to the price and quantity of a product
|
void |
respondProduct()
Respond to the price, quantity and OrderItemPAttributeTC of each product
Respond to fixed pricing product.
|
void |
respondProductAttribute(java.lang.Long respondId,
java.lang.Long rfqRspProdId,
java.util.Vector productAttributeList)
Respond the OrderPAttributeTC of a product
|
void |
setRspProdId(java.lang.Long rspProdId)
Sets the response product ID
|
void |
validateParameters()
Validate response parameters.
|
getAttachmentsRFQLevelList, getCommentsRFQLevelList, getCreateTime, getEndTime, getErrorContent, getErrorFlag, getFfmcenterObj, getField1, getField2, getField3, getField4, getField5, getField6, getMajorVersion, getMinorVersion, getOwnerId, getRequestId, getResCatPriceAdjustList, getResFixedPriceDynamicKitsList, getResFixedPriceProductsList, getResPercentagePriceDynamicKitsList, getResPercentagePriceProductsList, getResponseAcceptaction, getResponseId, getResponseName, getResponseRemarks, getResProductsList, getStartTime, getToolXMLObject, getUpdateTime, getViewTaskName, getWizardNavagationFile, setAttachmentsRFQLevelList, setAttachmentsRFQLevelList, setCommentsRFQLevelList, setCommentsRFQLevelList, setCreateTime, setEndTime, setErrorContent, setErrorFlag, setFfmcenterObj, setFfmcenterObj, setField1, setField2, setField3, setField4, setField5, setField6, setMajorVersion, setMinorVersion, setRequestId, setRequestProperties, setResCatPriceAdjustList, setResCatPriceAdjustList, setResFixedPriceDynamicKitsList, setResFixedPriceDynamicKitsList, setResFixedPriceProductsList, setResFixedPriceProductsList, setResPercentagePriceDynamicKitsList, setResPercentagePriceDynamicKitsList, setResPercentagePriceProductsList, setResPercentagePriceProductsList, setResponseAcceptaction, setResponseAcceptaction, setResponseId, setResponseId, setResponseName, setResponseRemarks, setResProductsList, setResProductsList, setStartTime, setToolXMLObject, setUpdateTime, setViewTaskNamegetEntityId, getEntityObject, getFlowContext, getStateIdentifier, isReadyToCallExecute, reset, setEntityId, setEntityObject, setFlowContext, setRequestPropterties, setStateIdentifiergetViewInputPropertiescheckPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputPropertiesaccessControlCheck, 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, waitgetCommentsRFQLevelList, setFfmcenterObj, setRequestId, setResponseAcceptaction, setResponseName, setResponseRemarks, setResProductsListcheckPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputPropertiesaccessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwnercheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesfulfills, getOwnerpublic static final java.lang.String COPYRIGHT
public RFQResponseCreateCmdImpl()
public void performExecute()
throws ECException
performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECExceptionpublic void respondPriceAdjustment(java.lang.Long resId,
com.ibm.commerce.rfq.utils.RFQResProduct resProduct)
throws ECException
resId - response idresProduct - response product objectECApplicationExceptionECExceptionpublic void respondPriceAndQuantity(java.lang.Long resId,
com.ibm.commerce.rfq.utils.RFQResProduct resProduct)
throws ECApplicationException,
ECException
resId - response idresProduct - response product objectECApplicationExceptionECExceptionpublic void respondCategoryPriceAdjustment()
throws ECApplicationException,
ECException
public void respondProduct()
throws ECApplicationException,
ECException
ECApplicationExceptionECExceptionpublic void respondProductAttribute(java.lang.Long respondId,
java.lang.Long rfqRspProdId,
java.util.Vector productAttributeList)
throws ECApplicationException,
ECException
respondId - response idrfqRspProdId - response product idproductAttributeList - response product attributesECApplicationExceptionECExceptionpublic void validateParameters()
throws ECException
validateParameters in interface ECCommandvalidateParameters in class AbstractECTargetableCommandECExceptionpublic java.lang.Long getRspProdId()
public void setRspProdId(java.lang.Long rspProdId)
rspProdId - The response product ID