com.ibm.commerce.emarketing.commands

Class OptSMSTaskCmdImpl

  • java.lang.Object
    • com.ibm.websphere.command.CacheableCommandImpl
      • com.ibm.commerce.command.MeasuredCacheableCommandImpl
        • com.ibm.commerce.command.AbstractECTargetableCommand
          • com.ibm.commerce.command.TaskCommandImpl
            • com.ibm.commerce.emarketing.commands.OptSMSTaskCmdImpl
  • All Implemented Interfaces:
    com.ibm.commerce.command.CacheableECCommand, com.ibm.commerce.command.ECCommand, com.ibm.commerce.command.ECTargetableCommand, com.ibm.commerce.command.TaskCommand, OptSMSTaskCmd, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command


    public class OptSMSTaskCmdImpl
    extends com.ibm.commerce.command.TaskCommandImpl
    implements OptSMSTaskCmd
    The default implementation of OptSMSTaskCmd.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from class com.ibm.commerce.command.AbstractECTargetableCommand

        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
      • Methods inherited from interface com.ibm.commerce.command.CacheableECCommand

        execute
      • Methods inherited from interface com.ibm.commerce.command.ECCommand

        checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
    • Field Detail

    • Constructor Detail

      • OptSMSTaskCmdImpl

        public OptSMSTaskCmdImpl()
    • Method Detail

      • performExecute

        public void performExecute()
                            throws com.ibm.commerce.exception.ECException
        Performs the command's operations.
        Specified by:
        performExecute in interface com.ibm.commerce.command.ECCommand
        Overrides:
        performExecute in class com.ibm.commerce.command.AbstractECTargetableCommand
        Throws:
        com.ibm.commerce.exception.ECException - Thrown when SMSUserReceiveAccessBean cannot record the opt-out successfully.
      • setStoreEntityId

        public 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.
        Specified by:
        setStoreEntityId in interface OptSMSTaskCmd
        Parameters:
        pStoreEntityId - The store ID.
        See Also:
        OptSMSTaskCmd#setStoreId(String)
      • setUsersId

        public void setUsersId(java.lang.Long pUsersId)
        Sets the user ID of the user opting opting out of receive SMS messages.
        Specified by:
        setUsersId in interface OptSMSTaskCmd
        Parameters:
        pUsersId - The user ID.
        See Also:
        OptSMSTaskCmd#setUserId(String)