public class DeleteMsgFromStorageCmdImpl extends com.ibm.commerce.messaging.commands.MessagingAdminCmd implements DeleteMsgFromStorageCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright field
|
defaultCommandClassName, NAME
Constructor and Description |
---|
DeleteMsgFromStorageCmdImpl()
The DeleteMsgFromStorageCmdImpl constructor calls its parents constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isGeneric()
Check to see if this is a generic command.
|
boolean |
isReadyToCallExecute()
Check to see if the command is ready to execute.
|
boolean |
isRetriable()
Check to see if this command can be retried on errors (like rollback exceptions).
|
void |
performExecute()
The business logic for this controller command.
|
void |
validateParameters()
ControllerCommandImpl calls
checkParameter in performExecute . |
createSuccessResponse, createSuccessResponseForDynamicList, getOptionalParameter, getOptionalParameter, getRequiredParameter, getRequiredParameter, throwException, throwException
getViewInputProperties, setRequestProperties
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputProperties
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
fulfills, getOwner
public static final java.lang.String COPYRIGHT
public DeleteMsgFromStorageCmdImpl()
public boolean isGeneric()
isGeneric
in interface ControllerCommand
isGeneric
in class ControllerCommandImpl
public boolean isReadyToCallExecute()
isReadyToCallExecute
in interface com.ibm.websphere.command.Command
isReadyToCallExecute
in class AbstractECTargetableCommand
public boolean isRetriable()
isRetriable
in interface ControllerCommand
isRetriable
in class ControllerCommandImpl
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
- Raised with the following messages: _ERR_ADM_REMOTEEXCEPTION, _ERR_ADM_FINDEREXCEPTION, _ERR_ADM_NAMINGEXCEPTION, _ERR_ADM_CREATEEXCEPTION, _ERR_ADM_REMOVEEXCEPTION public void validateParameters() throws ECException
checkParameter
in performExecute
.
It is the responsibility of the command writers to implement 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. This implementation checks
for the existence of the msg_id, transport_id, and table
index (0 for MSGARCHIVE and 1 for MSGSTORE tables).validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException
- Raised with message _ERR_CMD_MISSING_PARAM.