com.ibm.commerce.messaging.commands
Class ResendMsgCmdImpl
java.lang.Object
MessagingAdminCmd
com.ibm.commerce.messaging.commands.ResendMsgCmdImpl
- All Implemented Interfaces:
- AccCommand, ControllerCommand, ECCommand, Protectable, ResendMsgCmd, ToolsControllerCommand
- public class ResendMsgCmdImpl
- extends MessagingAdminCmd
- implements ResendMsgCmd
ResendMsgCmdImpl is the default implementation of ResendMsgCmd. This command is used to send message either from MSGARCHIVE or MSGSTORE table.
- See Also:
- Serialized Form
Field Summary |
static java.lang.String |
COPYRIGHT
The IBM copyright notice field. |
Method Summary |
void |
performExecute()
/** The business logic of this command. |
void |
validateParameters()
ControllerCommandImpl calls checkParameter in its performExecute. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.ibm.commerce.command.ControllerCommand |
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- The IBM copyright notice field.
- See Also:
- Constant Field Values
ResendMsgCmdImpl
public ResendMsgCmdImpl()
performExecute
public void performExecute()
throws ECException
- /** The business logic of this command.
Its execution is based on the mode, 0 or 1. If the mode is 0, this command retrieves and assembles the messaging objects found in MSGARCHIVE table. Otherwise, it will do the same job on MSGSTORE table. The sending operation is sendTransacted.
-
- Specified by:
- performExecute in interface ECCommand
-
- Throws:
- ECException
validateParameters
public void validateParameters()
throws ECException
- ControllerCommandImpl calls checkParameter in its performExecute. It is the responsibility of the command writers to implements this method if they want to perform server side parameter checking. They should either call checkParameters inside their performExecute or call super.performExecute() as the first statement in the performExecute method.
Required parameters:
transport_id
msg_id
mode
-
- Specified by:
- validateParameters in interface ECCommand
-
- Throws:
- ECException - Raised with ERR_CMD_MISSING_PARAM when the needed parameters cannot be found in the request properties.
Feedback
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.