com.ibm.commerce.rfq.commands
Class RFQResponseModifyOrderitemPAttributeTCCmdImpl

java.lang.Object
  |
  +--CacheableCommandImpl
        |
        +--com.ibm.commerce.command.AbstractECTargetableCommand
              |
              +--com.ibm.commerce.command.TaskCommandImpl
                    |
                    +--com.ibm.commerce.rfq.commands.RFQResponseModifyOrderitemPAttributeTCCmdImpl
All Implemented Interfaces:
ECCommand, ECTargetableCommand, RFQResponseModifyOrderitemPAttributeTCCmd, TaskCommand

public class RFQResponseModifyOrderitemPAttributeTCCmdImpl
extends TaskCommandImpl
implements RFQResponseModifyOrderitemPAttributeTCCmd

Implemetation used to modify an RFQ Response product and related TCs

This command calls the following TaskCommands:

This command uses the following AccessBeans:
See Also:
Serialized Form

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
Deprecated. 
Copyright.
See Also:
Constant Field Values
Constructor Detail

RFQResponseModifyOrderitemPAttributeTCCmdImpl

public RFQResponseModifyOrderitemPAttributeTCCmdImpl()
Deprecated. 
RFQResponseModifyOrderitemPAttributeTCCmdImpl RFQResponseModifyOrderitemPAttributeTCCmdImpl constructor.
Method Detail

modifyProComments

protected void modifyProComments(java.lang.Long catalogId,
                                 java.util.Vector CommentsVector)
                          throws ECException
Deprecated. 
Modify product level comments
Parameters:
catalogId - java.lang.Long
CommentsVector - Vector
Throws:
ECException - if the input argument is incorrect or the process of update TC fail.

modifyProPAttribute

protected void modifyProPAttribute(java.lang.Long catalogId,
                                   java.util.Vector PAttributeVector)
                            throws ECException
Deprecated. 
Modify product level attribute This method does the following:
Parameters:
catalogId - java.lang.Long
PAttributeVector - Vector
Throws:
ECException - if the input argument is incorrect or the process of update TC fail.

performExecute

public void performExecute()
                    throws ECException
Deprecated. 
Processes the products and related TCs of an RFQ response This method does the following:
  1. Gets all products
  2. Modifies the product price,quantity,currency and unit for each product
  3. Modifies the product level comments and specifications if they exist
Specified by:
performExecute in interface ECCommand
Overrides:
performExecute in class AbstractECTargetableCommand
Throws:
ECApplicationException - if using RFQResponseProductAccessBean fail.or modify item level pattribute fail
ECSystemException - if System error happen
ECException

respondProductAttribute

public void respondProductAttribute(java.lang.Long respondId,
                                    java.lang.Long rfqRspProdId,
                                    java.util.Vector productAttributeList)
                             throws ECApplicationException,
ECException
Deprecated. 
Respond the OrderPAttributeTC of a product
Parameters:
respondId - response id
rfqRspProdId - response product id
productAttributeList - response product attributes
Throws:
ECApplicationException
ECException

setProductVector

public void setProductVector(java.util.Vector newProductVector)
Deprecated. 
Sets RFQ Response product list
Specified by:
setProductVector in interface RFQResponseModifyOrderitemPAttributeTCCmd
Parameters:
newProductVector - java.util.Vector

setRequestId

public void setRequestId(java.lang.Long newRequestId)
Deprecated. 
Sets RFQ requestId
Specified by:
setRequestId in interface RFQResponseModifyOrderitemPAttributeTCCmd
Parameters:
newRequestId - java.lang.Long

setResponseId

public void setResponseId(java.lang.Long newResponseId)
Deprecated. 
Sets RFQ Response id
Specified by:
setResponseId in interface RFQResponseModifyOrderitemPAttributeTCCmd
Parameters:
newResponseId - java.lang.Long