java.lang.Object | +--MessagingAdminCmd | +--com.ibm.commerce.messaging.commands.ResendMsgCmdImpl
ResendMsgCmdImpl is the default implementation of ResendMsgCmd. This command is used to send message either from MSGARCHIVE or MSGSTORE table.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT The IBM copyright notice field. |
Fields inherited from interface com.ibm.commerce.messaging.commands. ResendMsgCmd |
defaultCommandClassName,
NAME |
Constructor Summary | |
---|---|
ResendMsgCmdImpl() |
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. AccCommand |
accessControlCheck,
getAccCheck,
getForUserId,
getResourceOwners,
setAccCheck,
setForUserId,
setOwner |
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 |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
Constructor Detail |
---|
public ResendMsgCmdImpl()
Method Detail |
---|
public void performExecute() throws ECException
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.
performExecute
in interface
ECCommand
ECException
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
validateParameters
in interface
ECCommand
ECException
- Raised with ERR_CMD_MISSING_PARAM when the needed parameters cannot be found
in the request properties.