public class DeleteMailCmdImpl extends ControllerCommandImpl implements DeleteMailCmd
ApplyCalculationUsageCmd
OrderItemAccessBean
TradingAgreementAccessBean
TermConditionAccessBean
BusinessPolicyAccessBean
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
defaultCommandClassName, NAME
Constructor and Description |
---|
DeleteMailCmdImpl()
DeleteMailImpl constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getMsgId()
This method returns the Message Reference number
which has to be deleted.
|
java.lang.String |
getUrl()
Fetches the url.
|
java.lang.Long |
getUserId()
Fetches the user ID.
|
boolean |
isReadyToCallExecute()
Verifies that the this command is ready to be executed.
|
void |
performExecute()
performExecute
Marks the status as 'D' in the message member relation table.
|
void |
setMsgId(java.lang.String[] newMsgId)
Sets message ID list for deletion .
|
void |
setRequestProperties(TypedProperty param)
setRequestProperties
Copies key-value input data into member fields.
|
void |
setUrl(java.lang.String newUrl)
Sets the url.
|
void |
setUserId(java.lang.Long newUserId)
Sets the user ID.
|
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, 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, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
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, isGeneric, isRetriable, mergeProperties, setGeneric, 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, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
fulfills, getOwner
public static final java.lang.String COPYRIGHT
public java.lang.String[] getMsgId()
public java.lang.String getUrl()
public java.lang.Long getUserId()
getUserId
in interface ECCommand
getUserId
in class AbstractECTargetableCommand
public boolean isReadyToCallExecute()
isReadyToCallExecute
in interface com.ibm.websphere.command.Command
isReadyToCallExecute
in class AbstractECTargetableCommand
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
- The exception description.public void setMsgId(java.lang.String[] newMsgId)
newMsgId
- public void setRequestProperties(TypedProperty param) throws ECApplicationException
setRequestProperties
in interface ControllerCommand
setRequestProperties
in class ControllerCommandImpl
param
- com.ibm.commerce.datatype.TypedPropertyECApplicationException
- The exception description.public void setUrl(java.lang.String newUrl)
newUrl
- java.lang.Stringpublic void setUserId(java.lang.Long newUserId)
newUserId
- java.lang.Long