com.ibm.commerce.rfq.commands
Class CopyRFQAttachmentCmdImpl

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

public class CopyRFQAttachmentCmdImpl
extends TaskCommandImpl
implements CopyRFQAttachmentCmd

Implementation class for CopyRFQAttachmentCmd.

This is the default implementation of the CopyRFQAttachmentCmd. This command calls the following TaskCommands:

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.CopyRFQAttachmentCmd
defaultCommandClassName, NAME
Fields inherited from interface com.ibm.commerce.command.ECCommand
defaultCommandClassName
Constructor Summary
CopyRFQAttachmentCmdImpl()
CopyRFQAttachmentCmdImpl constructor comment.
Method Summary
java.lang.Long getNewRFQId()
Gets the newRFQId
java.lang.Long getSourceRFQId()
Gets the sourceRFQId
void performExecute()
Performs the RFQ attachment copy action.
void reset()
Reset the command
void setNewRFQId(java.lang.Long newRFQId)
Sets the newRFQId
void setSourceRFQId(java.lang.Long sourceRFQId)
Sets the sourceRFQId
void validateParameters()
Checks if the source RFQ 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

COPYRIGHT

public static final java.lang.String COPYRIGHT
COPYRIGHT
See Also:
Constant Field Values
Constructor Detail

CopyRFQAttachmentCmdImpl

public CopyRFQAttachmentCmdImpl()
CopyRFQAttachmentCmdImpl constructor comment.
Method Detail

reset

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

performExecute

public void performExecute()
                    throws ECException
Performs the RFQ attachment copy action.
Specified by:
performExecute in interface ECCommand
Overrides:
performExecute in class AbstractECTargetableCommand
Throws:
ECException.
ECException
See Also:

, ECCommand.performExecute()


validateParameters

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

getNewRFQId

public java.lang.Long getNewRFQId()
Gets the newRFQId
Specified by:
getNewRFQId in interface CopyRFQAttachmentCmd
Returns:
Returns a java.lang.Long

setNewRFQId

public void setNewRFQId(java.lang.Long newRFQId)
Sets the newRFQId
Specified by:
setNewRFQId in interface CopyRFQAttachmentCmd
Parameters:
newRFQId - The newRFQId to set

getSourceRFQId

public java.lang.Long getSourceRFQId()
Gets the sourceRFQId
Specified by:
getSourceRFQId in interface CopyRFQAttachmentCmd
Returns:
Returns a java.lang.Long

setSourceRFQId

public void setSourceRFQId(java.lang.Long sourceRFQId)
Sets the sourceRFQId
Specified by:
setSourceRFQId in interface CopyRFQAttachmentCmd
Parameters:
sourceRFQId - The sourceRFQId to set

Feedback