com.ibm.commerce.emarketing.beans

Class EmailUserReceiveDataBean

  • All Implemented Interfaces:
    com.ibm.commerce.beans.DataBean, com.ibm.commerce.beans.InputDataBean, com.ibm.commerce.beans.SmartDataBean, com.ibm.commerce.security.Delegator, com.ibm.commerce.security.Protectable, java.io.Serializable


    public class EmailUserReceiveDataBean
    extends EmailUserReceiveDataBeanBase
    Used to determine if the user has opted out of receiving e-mail.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      Copyright.
      • Fields inherited from interface com.ibm.commerce.beans.DataBean

        emptyString
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean isUserReceive()
      Gets whether on not the user wishes to receive e-mail.
      boolean isUserReceiveSMS()
      Gets whether on not the user wishes to receive SMS messages.
      void populate()
      Populates the databean.
      void setUsersId(java.lang.Long usersId)
      Sets the ID of the user.
      • Methods inherited from class com.ibm.commerce.beans.SmartDataBeanImpl

        fulfills, getCommandContext, getHttpRequest, getHttpResponse, getResources, getViewCommandContext, setCommandContext, setHttpRequest, setHttpResponse, setViewCommandContext
      • Methods inherited from class com.ibm.commerce.beans.InputDataBeanImpl

        getRequestProperties, setRequestProperties
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface com.ibm.commerce.security.Protectable

        fulfills
      • Methods inherited from interface com.ibm.commerce.beans.InputDataBean

        getRequestProperties, setRequestProperties
    • Field Detail

    • Constructor Detail

      • EmailUserReceiveDataBean

        public EmailUserReceiveDataBean()
    • Method Detail

      • isUserReceive

        public boolean isUserReceive()
        Gets whether on not the user wishes to receive e-mail.
        Returns:
        True if the user wishes to receive e-mail; false otherwise.
      • isUserReceiveSMS

        public boolean isUserReceiveSMS()
        Gets whether on not the user wishes to receive SMS messages.
        Returns:
        True if the user wishes to receive SMS messages; false otherwise.
      • populate

        public void populate()
                      throws java.lang.Exception
        Populates the databean.
        Specified by:
        populate in interface com.ibm.commerce.beans.SmartDataBean
        Overrides:
        populate in class com.ibm.commerce.beans.SmartDataBeanImpl
        Throws:
        java.lang.Exception - Thrown when EmailUserReceiveAccessBean cannot lookup the given user.
      • setUsersId

        public void setUsersId(java.lang.Long usersId)
        Sets the ID of the user.
        Parameters:
        usersId - The user's ID.