com.ibm.commerce.rfq.commands
Class RFQResponseModifyBaseInfoCmdImpl

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

public class RFQResponseModifyBaseInfoCmdImpl
extends TaskCommandImpl
implements RFQResponseModifyBaseInfoCmd

Implementation used to modify basic information of an RFQ response.

This command uses the following AccessBeans:

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
          Copyright.
 
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand
commandContext
 
Fields inherited from interface com.ibm.commerce.rfq.commands. RFQResponseModifyBaseInfoCmd
defaultCommandClassName, NAME
 
Fields inherited from interface com.ibm.commerce.command. ECCommand
defaultCommandClassName
 
Constructor Summary
RFQResponseModifyBaseInfoCmdImpl()
          RFQResponseModifyBaseInfoCmdImpl constructor.
 
Method Summary
 void performExecute()           Updates RFQ Response basic information This method does the following: Sets response name and remarks.
 void setAcceptaction(java.lang.Integer newAcceptaction)
          Sets RFQ Response accept action
 void setName(java.lang.String newName)
          Sets RFQ Response name
 void setRemarks(java.lang.String newRemarks)
          Sets RFQ Response remarks
 void setResponseId(java.lang.Long newResponseId)
          Sets RFQ Response id
 void validateParameters()           Checks for the validity of the incoming parameters. This method does the following: Checks the Name to make sure the name is not null.
 
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
public static final java.lang.String COPYRIGHT
Copyright.
See Also:
Constant Field Values
Constructor Detail

RFQResponseModifyBaseInfoCmdImpl

public RFQResponseModifyBaseInfoCmdImpl()
RFQResponseModifyBaseInfoCmdImpl constructor.
Method Detail

performExecute

public void performExecute()
                    throws ECException
Updates RFQ Response basic information This method does the following:
Specified by:
performExecute in interface ECCommand
Overrides:
performExecute in class AbstractECTargetableCommand
Throws:
ECApplicationException - If an application error occurs while updating.
ECSystemException - If a system error occurs while updating the RFQ.
ECException

setAcceptaction

public void setAcceptaction(java.lang.Integer newAcceptaction)
Sets RFQ Response accept action
Specified by:
setAcceptaction in interface RFQResponseModifyBaseInfoCmd
Parameters:
newAcceptaction - Integer

setName

public void setName(java.lang.String newName)
Sets RFQ Response name
Specified by:
setName in interface RFQResponseModifyBaseInfoCmd
Parameters:
newName - java.lang.String

setRemarks

public void setRemarks(java.lang.String newRemarks)
Sets RFQ Response remarks
Specified by:
setRemarks in interface RFQResponseModifyBaseInfoCmd
Parameters:
newRemarks - java.lang.String

setResponseId

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

validateParameters

public void validateParameters()
                        throws ECException
Checks for the validity of the incoming parameters. This method does the following:
  1. Checks the Name to make sure the name is not null.
Specified by:
validateParameters in interface ECCommand
Overrides:
validateParameters in class AbstractECTargetableCommand
Throws:
ECSystemException -
  • if system error happen.
ECException