com.ibm.commerce.emarketing.commands

Interface OptEmailTaskCmd

  • 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:
    OptEmailTaskCmdImpl


    public interface OptEmailTaskCmd
    extends com.ibm.commerce.command.TaskCommand
    The interface for any TaskCommand that is to be used for recording users opting out of receiving e-mail activities.
    • 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 setUserReceiveEmail(boolean userReceiveEmail)
      Sets whether the user wants to receive e-mail (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.
      • setUserReceiveEmail

        void setUserReceiveEmail(boolean userReceiveEmail)
        Sets whether the user wants to receive e-mail (true) or not (false).
        Parameters:
        userReceiveEmail - True if the user wants to receive e-mail; false otherwise.
      • setUsersId

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