com.ibm.commerce.rfq.commands
Class RespondRFQLevelCommentsTCCmdImpl

java.lang.Object
  CacheableCommandImpl
      com.ibm.commerce.command.AbstractECTargetableCommand
          com.ibm.commerce.command.TaskCommandImpl
              com.ibm.commerce.rfq.commands.RespondRFQLevelCommentsTCCmdImpl
All Implemented Interfaces:
ECCommand, ECTargetableCommand, RespondRFQLevelCommentsTCCmd, TaskCommand

public class RespondRFQLevelCommentsTCCmdImpl
extends TaskCommandImpl
implements RespondRFQLevelCommentsTCCmd

Implementation for responding to order comments terms and conditions.

This command uses the following AccessBeans:

See Also:
Serialized Form

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.AbstractECTargetableCommand
commandContext
Fields inherited from interface com.ibm.commerce.rfq.commands.RespondRFQLevelCommentsTCCmd
COPYRIGHT, defaultCommandClassName, NAME
Fields inherited from interface com.ibm.commerce.command.ECCommand
defaultCommandClassName
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.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
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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 AbstractECTargetableCommand
Throws:
ECApplicationException
ECException

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 AbstractECTargetableCommand
Throws:
ECApplicationException

Feedback