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, wait
accessControlCheck, 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, validateParameters
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
public static final java.lang.String COPYRIGHT
public void performExecute() throws com.ibm.commerce.exception.ECException
performExecute
in interface com.ibm.commerce.command.ECCommand
performExecute
in class com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.exception.ECException
- Thrown when EmailUserReceiveAccessBean
cannot record the opt-out successfully.public void setStoreEntityId(java.lang.Integer pStoreEntityId)
setStoreEntityId
in interface OptEmailTaskCmd
pStoreEntityId
- The store ID.OptEmailTaskCmd#setStoreId(String)
public void setUserReceiveEmail(boolean pUserReceiveEmail)
setUserReceiveEmail
in interface OptEmailTaskCmd
pUserReceiveEmail
- True if the user wants to receive e-mail; false otherwise.OptEmailTaskCmd.setUserReceiveEmail(boolean)
public void setUsersId(java.lang.Long pUsersId)
setUsersId
in interface OptEmailTaskCmd
pUsersId
- The user ID.OptEmailTaskCmd#setUserId(String)