com.ibm.commerce.rfq.commands
Class RespondRFQLevelCommentsTCCmdImpl

java.lang.Object
  |
  +--com.ibm.commerce.command.AbstractECCommand
        |
        +--com.ibm.commerce.command.TaskCommandImpl
              |
              +--com.ibm.commerce.rfq.commands.RespondRFQLevelCommentsTCCmdImpl
All Implemented Interfaces:
ECCommand, RespondRFQLevelCommentsTCCmd, TaskCommand

public class RespondRFQLevelCommentsTCCmdImpl
extends TaskCommandImpl
implements RespondRFQLevelCommentsTCCmd

Implementation for responding to Order Item TCs.


Field Summary
protected  java.util.Vector commentsVector
           
protected  java.lang.Long requestId
           
protected  java.lang.Long responseId
           
static java.lang.Integer VALUE_CHANGE_FLAG
           
 
Fields inherited from class com.ibm.commerce.command.AbstractECCommand
commandContext
 
Fields inherited from interface com.ibm.commerce.rfq.commands.RespondRFQLevelCommentsTCCmd
COPYRIGHT, defaultCommandClassName, NAME
 
Constructor Summary
RespondRFQLevelCommentsTCCmdImpl()
          Constructor an instance of CreateOrderCommentsTCCmdImpl.
 
Method Summary
 java.util.Vector getCommentsVector()
          Gets commentsVector
 java.lang.Long getRequestId()
          Gets requestId
 java.lang.Long getResponseId()
          Gets responseId
 void performExecute()
          Responds Order Comments TCs Step1: create the tcs that be responded Step2: create the relationships between the TCs of the request and response.
 void setCommentsVector(java.util.Vector newCommentsVector)
          Sets the field of commentsVector
 void setRequestId(java.lang.Long newRequestId)
          Sets the field of requestId
 void setResponseId(java.lang.Long newResponseId)
          Sets the field of responseId
 void validateParameters()
          Validate response paramters.
 
Methods inherited from class com.ibm.commerce.command.AbstractECCommand
accessControlCheck, checkIsAllowed, checkResourcePermission, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties
 

Field Detail

commentsVector

protected java.util.Vector commentsVector

requestId

protected java.lang.Long requestId

responseId

protected java.lang.Long responseId

VALUE_CHANGE_FLAG

public static java.lang.Integer VALUE_CHANGE_FLAG
Constructor Detail

RespondRFQLevelCommentsTCCmdImpl

public RespondRFQLevelCommentsTCCmdImpl()
Constructor an instance of CreateOrderCommentsTCCmdImpl.
Method Detail

getCommentsVector

public java.util.Vector getCommentsVector()
Gets commentsVector
Returns:
java.util.Vector

getRequestId

public java.lang.Long getRequestId()
Gets requestId
Returns:
java.lang.Long

getResponseId

public java.lang.Long getResponseId()
Gets responseId
Returns:
java.lang.Long

performExecute

public void performExecute()
                    throws ECApplicationException,
                           ECException
Responds Order Comments TCs Step1: create the tcs that be responded Step2: create the relationships between the TCs of the request and response.
Specified by:
performExecute in interface ECCommand
Overrides:
performExecute in class AbstractECCommand
Following copied from interface: com.ibm.commerce.command.ECCommand
Throws:
com.ibm.commerce.command.CommandException - The superclass for all ECExceptions.

setCommentsVector

public void setCommentsVector(java.util.Vector newCommentsVector)
Sets the field of commentsVector
Specified by:
setCommentsVector in interface RespondRFQLevelCommentsTCCmd
Parameters:
newCommentsVector - java.util.Vector

setRequestId

public void setRequestId(java.lang.Long newRequestId)
Sets the field of requestId
Specified by:
setRequestId in interface RespondRFQLevelCommentsTCCmd
Parameters:
newRequestId - java.lang.Long

setResponseId

public void setResponseId(java.lang.Long newResponseId)
Sets the field of responseId
Specified by:
setResponseId in interface RespondRFQLevelCommentsTCCmd
Parameters:
newResponseId - java.lang.Long

validateParameters

public void validateParameters()
                        throws ECApplicationException
Validate response paramters.
Specified by:
validateParameters in interface ECCommand
Overrides:
validateParameters in class AbstractECCommand
Following copied from interface: com.ibm.commerce.command.ECCommand
Throws:
ECException. -