java.lang.Object | +--CacheableCommandImpl | +--com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.TaskCommandImpl | +--com.ibm.commerce.rfq.commands.RFQResponseModifyOrderitemPAttributeTCCmdImpl
Implemetation used to modify an RFQ Response product and related TCs
This command calls the following TaskCommands:
This command uses the following AccessBeans:OperatorAccessBean
PAttrValueAccessBean
RFQResponseProductAccessBean
RFQResponseTCRLAccessBean
TermConditionAccessBean
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT Deprecated. Copyright. |
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.rfq.commands. RFQResponseModifyOrderitemPAttributeTCCmd |
defaultCommandClassName,
NAME |
Fields inherited from interface com.ibm.commerce.command. ECCommand |
defaultCommandClassName |
Constructor Summary | |
---|---|
RFQResponseModifyOrderitemPAttributeTCCmdImpl() Deprecated. RFQResponseModifyOrderitemPAttributeTCCmdImpl RFQResponseModifyOrderitemPAttributeTCCmdImpl constructor. |
Method Summary | |
---|---|
protected
void |
modifyProComments(java.lang.Long catalogId,
java.util.Vector CommentsVector) Deprecated. Modify product level comments Get comments list. |
protected
void |
modifyProPAttribute(java.lang.Long catalogId,
java.util.Vector PAttributeVector) Deprecated. Modify product level attribute This method does the following: Get product specifications list. |
void |
performExecute() Deprecated. Processes the products and related TCs of an RFQ response This method does the following: Gets all products Modifies the product price,quantity,currency and unit for each product Modifies the product level comments and specifications if they exist |
void |
respondProductAttribute(java.lang.Long respondId,
java.lang.Long rfqRspProdId,
java.util.Vector productAttributeList) Deprecated. Respond the OrderPAttributeTC of a product |
void |
setProductVector(java.util.Vector newProductVector) Deprecated. Sets RFQ Response product list |
void |
setRequestId(java.lang.Long newRequestId) Deprecated. Sets RFQ requestId |
void |
setResponseId(java.lang.Long newResponseId) Deprecated. Sets RFQ Response id |
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,
validateParameters |
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 RFQResponseModifyOrderitemPAttributeTCCmdImpl()
Method Detail |
---|
protected void modifyProComments(java.lang.Long catalogId, java.util.Vector CommentsVector) throws ECException
catalogId
- java.lang.LongCommentsVector
- VectorECException
- if the input argument is incorrect or the process of update TC
fail.protected void modifyProPAttribute(java.lang.Long catalogId, java.util.Vector PAttributeVector) throws ECException
catalogId
- java.lang.LongPAttributeVector
- VectorECException
- if the input argument is incorrect or the process of update TC
fail.public void performExecute() throws ECException
performExecute
in interface
ECCommand
performExecute
in class
AbstractECTargetableCommand
ECApplicationException
- if using RFQResponseProductAccessBean
fail.or modify item level pattribute fail
ECSystemException
- if System error happenECException
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 attributes
ECApplicationException
ECException
public void setProductVector(java.util.Vector newProductVector)
setProductVector
in interface
RFQResponseModifyOrderitemPAttributeTCCmd
newProductVector
- java.util.Vectorpublic void setRequestId(java.lang.Long newRequestId)
setRequestId
in interface
RFQResponseModifyOrderitemPAttributeTCCmd
newRequestId
- java.lang.Longpublic void setResponseId(java.lang.Long newResponseId)
setResponseId
in interface
RFQResponseModifyOrderitemPAttributeTCCmd
newResponseId
- java.lang.Long