com.ibm.commerce.rfq.commands
Class RFQResponseModifyOrderCommentsTCCmdImpl
java.lang.Object
CacheableCommandImpl
com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.command.TaskCommandImpl
com.ibm.commerce.rfq.commands.RFQResponseModifyOrderCommentsTCCmdImpl
- All Implemented Interfaces:
- ECCommand, ECTargetableCommand, RFQResponseModifyOrderCommentsTCCmd, TaskCommand
- public class RFQResponseModifyOrderCommentsTCCmdImpl
- extends TaskCommandImpl
- implements RFQResponseModifyOrderCommentsTCCmd
Implementation to modify an RFQ response level terms and conditions.
This command uses the following AccessBeans:
- See Also:
- Serialized Form
Field Summary |
static java.lang.String |
COPYRIGHT
Copyright. |
Method Summary |
void |
performExecute()
Process the RFQ response level comments
This method does the following:
Gets the response level comments list. |
void |
setCommentsVector(java.util.Vector newCommentsVector)
Sets RFQ Response level comments |
void |
setRequestId(java.lang.Long newRequestId)
Sets RFQ Response requestId |
void |
setResponseId(java.lang.Long newResponseId)
Sets RFQ Response 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 |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- Copyright.
- See Also:
- Constant Field Values
RFQResponseModifyOrderCommentsTCCmdImpl
public RFQResponseModifyOrderCommentsTCCmdImpl()
- RFQResponseModifyOrderCommentsTCCmdImpl constructor comment.
performExecute
public void performExecute()
throws ECException
- Process the RFQ response level comments
This method does the following:
- Gets the response level comments list.
- Converts each comment into class ResponseComments
- If the value is null
- If the TCid < 0, do nothing
- If the TCid exists(>0), delete the old response
- If the value not null
- If the TCid < 0 , create response TCs and RfqResponseTCRelation
- If the TCid exists(>0), update the old response TCs
-
- Specified by:
- performExecute in interface ECCommand
- Overrides:
- performExecute in class AbstractECTargetableCommand
-
- Throws:
- ECException - if the input arguments are incorrect or the process of TCs updating fail.
setCommentsVector
public void setCommentsVector(java.util.Vector newCommentsVector)
- Sets RFQ Response level comments
-
- Specified by:
- setCommentsVector in interface RFQResponseModifyOrderCommentsTCCmd
-
- Parameters:
- newCommentsVector - java.util.Vector
setRequestId
public void setRequestId(java.lang.Long newRequestId)
- Sets RFQ Response requestId
-
- Specified by:
- setRequestId in interface RFQResponseModifyOrderCommentsTCCmd
-
- Parameters:
- newRequestId - java.lang.Long
setResponseId
public void setResponseId(java.lang.Long newResponseId)
- Sets RFQ Response response id
-
- Specified by:
- setResponseId in interface RFQResponseModifyOrderCommentsTCCmd
-
- Parameters:
- newResponseId - java.lang.Long
Feedback
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.