com.ibm.commerce.rfq.commands
Class AddTargetListCmdImpl

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

public class AddTargetListCmdImpl
extends TaskCommandImpl
implements AddTargetListCmd

Implementation class for AddTargetListCmd.

This is the default implementation of the AddTargetListCmd. This command uses the following AccessBeans/DataBeans:

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. AddTargetListCmd
defaultCommandClassName, NAME
 
Fields inherited from interface com.ibm.commerce.command. ECCommand
defaultCommandClassName
 
Constructor Summary
AddTargetListCmdImpl()
          AddTargetListCmdImpl constructor comment.
 
Method Summary
 java.lang.Long getRfqId()
          Gets the rfqId
 java.lang.Integer getTargetStoreId()
          Gets the targetStoreId
 void performExecute()
          Performs add store to RFQ target list
 void reset()
          Reset the command
 void setRfqId(java.lang.Long rfqId)
          Sets the rfqId
 void setTargetStoreId(java.lang.Integer targetStoreId)
          Sets the targetStoreId
 void validateParameters()
          Checks if the rfqId id value is set.
 
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, 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

AddTargetListCmdImpl

public AddTargetListCmdImpl()
AddTargetListCmdImpl constructor comment.
Method Detail

reset

public void reset()
Reset the command
Overrides:
reset in class AbstractECTargetableCommand

performExecute

public void performExecute()
                    throws ECException
Performs add store to RFQ target list
Specified by:
performExecute in interface ECCommand
Overrides:
performExecute in class AbstractECTargetableCommand
Throws:
ECException.
ECException
See Also:
validateParameters(), CreateRFQBasicInfoCmd,

, ECCommand.performExecute()


validateParameters

public void validateParameters()
                        throws ECException
Checks if the rfqId id value is set. Checks if the targetStoreId value is set.
Specified by:
validateParameters in interface ECCommand
Overrides:
validateParameters in class AbstractECTargetableCommand
Throws:
ECException - The exception describing the failure.
See Also:
ECCommand.validateParameters()

getRfqId

public java.lang.Long getRfqId()
Gets the rfqId
Specified by:
getRfqId in interface AddTargetListCmd
Returns:
Returns a java.lang.Long

setRfqId

public void setRfqId(java.lang.Long rfqId)
Sets the rfqId
Specified by:
setRfqId in interface AddTargetListCmd
Parameters:
rfqId - The rfqId to set

getTargetStoreId

public java.lang.Integer getTargetStoreId()
Gets the targetStoreId
Specified by:
getTargetStoreId in interface AddTargetListCmd
Returns:
Returns a java.lang.Integer

setTargetStoreId

public void setTargetStoreId(java.lang.Integer targetStoreId)
Sets the targetStoreId
Specified by:
setTargetStoreId in interface AddTargetListCmd
Parameters:
targetStoreId - The targetStoreId to set