com.ibm.commerce.emarketing.commands

Interface OptSMSTaskCmd

  • All Superinterfaces:
    com.ibm.websphere.command.CacheableCommand, com.ibm.commerce.command.CacheableECCommand, com.ibm.websphere.command.Command, com.ibm.commerce.command.ECCommand, com.ibm.commerce.command.TaskCommand
    All Known Implementing Classes:
    OptSMSTaskCmdImpl


    public interface OptSMSTaskCmd
    extends com.ibm.commerce.command.TaskCommand
    The interface for any TaskCommand that is to be used for recording users opting out of receiving SMS messages.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      Copyright.
      static java.lang.String defaultCommandClassName
      The name of the default implementation of this interface.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      void setStoreEntityId(java.lang.Integer storeEntityId)
      Sets the store entity ID.
      void setUserReceiveSMS(boolean userReceiveSMS)
      Sets whether the user wants to receive SMS Messages (true) or not (false).
      void setUsersId(java.lang.Long usersId)
      Sets the users ID.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • 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, performExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
    • Field Detail

      • defaultCommandClassName

        static final java.lang.String defaultCommandClassName
        The name of the default implementation of this interface.
        See Also:
        Constant Field Values
    • Method Detail

      • setStoreEntityId

        void setStoreEntityId(java.lang.Integer storeEntityId)
        Sets the store entity ID.
        Parameters:
        storeEntityId - The store entity ID.
      • setUserReceiveSMS

        void setUserReceiveSMS(boolean userReceiveSMS)
        Sets whether the user wants to receive SMS Messages (true) or not (false).
        Parameters:
        userReceiveSMS - True if the user wants to receive SMS messages; false otherwise.
      • setUsersId

        void setUsersId(java.lang.Long usersId)
        Sets the users ID.
        Parameters:
        usersId - The users ID.