com.ibm.commerce.utf.commands
Class DeleteRFQAttachmentCmdImpl
java.lang.Object
|
+--com.ibm.commerce.command.AbstractECCommand
|
+--com.ibm.commerce.command.TaskCommandImpl
|
+--com.ibm.commerce.utf.commands.DeleteRFQAttachmentCmdImpl
- All Implemented Interfaces:
- DeleteRFQAttachmentCmd, ECCommand, TaskCommand
- public class DeleteRFQAttachmentCmdImpl
- extends TaskCommandImpl
- implements DeleteRFQAttachmentCmd
Task command implementation to delete one or more attachments that are associated with the RFQ.
Methods inherited from class com.ibm.commerce.command.AbstractECCommand |
accessControlCheck, checkIsAllowed, checkResourcePermission, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties |
attachArray
public java.lang.Long[] attachArray
tradingId
public java.lang.Long tradingId
DeleteRFQAttachmentCmdImpl
public DeleteRFQAttachmentCmdImpl()
- DeleteRFQAttachmentCmdImpl constructor comment.
deleteAllAttachments
public void deleteAllAttachments()
throws ECException
deleteSpecifiedAttachments
public void deleteSpecifiedAttachments()
throws ECException
getAttachArray
public java.lang.Long[] getAttachArray()
getTradingId
public java.lang.Long getTradingId()
performExecute
public void performExecute()
throws ECException
- Description copied from interface:
ECCommand
- Contains the actual business logic of the command
It should be implemented by all the command writer.
- Specified by:
performExecute
in interface ECCommand
- Overrides:
performExecute
in class AbstractECCommand
- Following copied from interface:
com.ibm.commerce.command.ECCommand
- Throws:
com.ibm.commerce.command.CommandException
- The superclass for all ECExceptions.
setAttachArray
public void setAttachArray(java.lang.Long[] newAttachArray)
- Description copied from interface:
DeleteRFQAttachmentCmd
- Stores the list of attachments to be deleted.
- Specified by:
setAttachArray
in interface DeleteRFQAttachmentCmd
- Following copied from interface:
com.ibm.commerce.utf.commands.DeleteRFQAttachmentCmd
- Parameters:
newAttachArray
- The array of attachment IDs.
setTradingId
public void setTradingId(java.lang.Long newTradingId)
- Description copied from interface:
DeleteRFQAttachmentCmd
- Store the ID of the trading agreement for the RFQ.
- Specified by:
setTradingId
in interface DeleteRFQAttachmentCmd
- Following copied from interface:
com.ibm.commerce.utf.commands.DeleteRFQAttachmentCmd
- Parameters:
newTradingId
- The trading agreement ID.
validateParameters
public void validateParameters()
throws ECException
- Description copied from interface:
ECCommand
- Performs server side parameter checking. This method replaces the checkParameters() method in a previous
version of the code.
- Specified by:
validateParameters
in interface ECCommand
- Overrides:
validateParameters
in class AbstractECCommand
- Following copied from interface:
com.ibm.commerce.command.ECCommand
- Throws:
ECException.
-