public class OptSMSTaskCmdImpl extends com.ibm.commerce.command.TaskCommandImpl implements OptSMSTaskCmd
OptSMSTaskCmd
.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
Copyright.
|
defaultCommandClassName
Constructor and Description |
---|
OptSMSTaskCmdImpl() |
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 SMS messages.
|
void |
setUserReceiveSMS(boolean pUserReceiveSMS)
Sets if the user wishes to receive SMS messages or not.
|
void |
setUsersId(java.lang.Long pUsersId)
Sets the user ID of the user opting opting out of receive SMS messages.
|
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 SMSUserReceiveAccessBean
cannot record the opt-out successfully.public void setStoreEntityId(java.lang.Integer pStoreEntityId)
setStoreEntityId
in interface OptSMSTaskCmd
pStoreEntityId
- The store ID.OptSMSTaskCmd#setStoreId(String)
public void setUserReceiveSMS(boolean pUserReceiveSMS)
setUserReceiveSMS
in interface OptSMSTaskCmd
pUserReceiveSMS
- True if the user wants to receive SMS messages; false otherwise.OptSMSTaskCmd.setUserReceiveSMS(boolean)
public void setUsersId(java.lang.Long pUsersId)
setUsersId
in interface OptSMSTaskCmd
pUsersId
- The user ID.OptSMSTaskCmd#setUserId(String)