public class RFQResponseCreateCmdImpl extends RFQResponseBaseCmdImpl implements RFQResponseCreateCmd
This command calls the following TaskCommands:
CreateResponseBasicInfoCmd
CreateResponseFulfillmentTCCmd
RespondPAttributeCmd
RespondProductPQCmd
RespondRFQLevelAttachmentsCmd
RespondRFQLevelCommentsTCCmd
CatalogEntryAccessBean
RFQAccessBean
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
NAME
defaultCommandClassName
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, setViewTaskName
getEntityId, getEntityObject, getFlowContext, getStateIdentifier, isReadyToCallExecute, reset, setEntityId, setEntityObject, setFlowContext, setRequestPropterties, setStateIdentifier
getViewInputProperties
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputProperties
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
getCommentsRFQLevelList, setFfmcenterObj, setRequestId, setResponseAcceptaction, setResponseName, setResponseRemarks, setResProductsList
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
fulfills, getOwner
public static final java.lang.String COPYRIGHT
public RFQResponseCreateCmdImpl()
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
public void respondPriceAdjustment(java.lang.Long resId, com.ibm.commerce.rfq.utils.RFQResProduct resProduct) throws ECException
resId
- response idresProduct
- response product objectECApplicationException
ECException
public void respondPriceAndQuantity(java.lang.Long resId, com.ibm.commerce.rfq.utils.RFQResProduct resProduct) throws ECApplicationException, ECException
resId
- response idresProduct
- response product objectECApplicationException
ECException
public void respondCategoryPriceAdjustment() throws ECApplicationException, ECException
public void respondProduct() throws ECApplicationException, ECException
ECApplicationException
ECException
public 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 attributesECApplicationException
ECException
public void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException
public java.lang.Long getRspProdId()
public void setRspProdId(java.lang.Long rspProdId)
rspProdId
- The response product ID