com.ibm.commerce.utf.commands
Class DeleteRFQAttachmentCmdImpl

java.lang.Object
  CacheableCommandImpl
      com.ibm.commerce.command.AbstractECTargetableCommand
          com.ibm.commerce.command.TaskCommandImpl
              com.ibm.commerce.utf.commands.DeleteRFQAttachmentCmdImpl
All Implemented Interfaces:
DeleteRFQAttachmentCmd, ECCommand, ECTargetableCommand, TaskCommand

public class DeleteRFQAttachmentCmdImpl
extends TaskCommandImpl
implements DeleteRFQAttachmentCmd

This is the default implementation of the DeleteRFQAttachmentCmd. This command uses the following AccessBeans:

See Also:
Serialized Form

Field Summary
java.lang.Long[] attachArray
Attachment Array.
java.lang.Long tradingId
Trading Id.
Fields inherited from class com.ibm.commerce.command.AbstractECTargetableCommand
commandContext
Fields inherited from interface com.ibm.commerce.utf.commands.DeleteRFQAttachmentCmd
COPYRIGHT, defaultCommandClassName, NAME
Fields inherited from interface com.ibm.commerce.command.ECCommand
defaultCommandClassName
Constructor Summary
DeleteRFQAttachmentCmdImpl()
Default Constructor.
Method Summary
java.lang.Long[] getAttachArray()
The Attachment Id array to be deleted
java.lang.Long getTradingId()
The Trading id that associated with the attachments
void performExecute()
Delete RFQ Attachment perform Execute
void reset()
Reset the command.
void setAttachArray(java.lang.Long[] newAttachArray)
Sets attachment id array to be deleted
void setTradingId(java.lang.Long newTradingId)
Sets Trading Id
void validateParameters()
Checks if the tradingId 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

attachArray

public java.lang.Long[] attachArray
Attachment Array.

tradingId

public java.lang.Long tradingId
Trading Id.
Constructor Detail

DeleteRFQAttachmentCmdImpl

public DeleteRFQAttachmentCmdImpl()
Default Constructor.
Method Detail

reset

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

getAttachArray

public java.lang.Long[] getAttachArray()
The Attachment Id array to be deleted
Returns:
The array of attachment id

getTradingId

public java.lang.Long getTradingId()
The Trading id that associated with the attachments
Returns:
The trading id

performExecute

public void performExecute()
                    throws ECException
Delete RFQ Attachment perform Execute
Specified by:
performExecute in interface ECCommand
Overrides:
performExecute in class AbstractECTargetableCommand
Throws:
ECException
ECSystemException
See Also:
ECCommand#performExecute()

setAttachArray

public void setAttachArray(java.lang.Long[] newAttachArray)
Sets attachment id array to be deleted
Specified by:
setAttachArray in interface DeleteRFQAttachmentCmd
Parameters:
newAttachArray - The array of attachment IDs.

setTradingId

public void setTradingId(java.lang.Long newTradingId)
Sets Trading Id
Specified by:
setTradingId in interface DeleteRFQAttachmentCmd
Parameters:
newTradingId - trading Id

validateParameters

public void validateParameters()
                        throws ECException
Checks if the tradingId is set
Specified by:
validateParameters in interface ECCommand
Overrides:
validateParameters in class AbstractECTargetableCommand
Throws:
ECException
See Also:
ECCommand#validateParameters()

Feedback