public class OptEmailTaskCmdImpl extends com.ibm.commerce.command.TaskCommandImpl implements OptEmailTaskCmd
OptEmailTaskCmd.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
Copyright.
|
defaultCommandClassName| Constructor and Description |
|---|
OptEmailTaskCmdImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
performExecute()
Performs the command's operations.
|
void |
setStoreEntityId(java.lang.Integer pStoreEntityId)
Sets the store ID of the store from which the user wants to opt out of receiving e-mail.
|
void |
setUserReceiveEmail(boolean pUserReceiveEmail)
Sets if the user wishes to receive e-mail or not.
|
void |
setUsersId(java.lang.Long pUsersId)
Sets the user ID of the user opting opting out of receive e-mail activities.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaccessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameterscheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameterspublic static final java.lang.String COPYRIGHT
public void performExecute()
throws com.ibm.commerce.exception.ECException
performExecute in interface com.ibm.commerce.command.ECCommandperformExecute in class com.ibm.commerce.command.AbstractECTargetableCommandcom.ibm.commerce.exception.ECException - Thrown when EmailUserReceiveAccessBean cannot record the opt-out successfully.public void setStoreEntityId(java.lang.Integer pStoreEntityId)
setStoreEntityId in interface OptEmailTaskCmdpStoreEntityId - The store ID.OptEmailTaskCmd#setStoreId(String)public void setUserReceiveEmail(boolean pUserReceiveEmail)
setUserReceiveEmail in interface OptEmailTaskCmdpUserReceiveEmail - True if the user wants to receive e-mail; false otherwise.OptEmailTaskCmd.setUserReceiveEmail(boolean)public void setUsersId(java.lang.Long pUsersId)
setUsersId in interface OptEmailTaskCmdpUsersId - The user ID.OptEmailTaskCmd#setUserId(String)