com.ibm.commerce.emarketing.beans
Class EmailUserReceiveDataBean

java.lang.Object
  com.ibm.commerce.beans.InputDataBeanImpl
      com.ibm.commerce.beans.SmartDataBeanImpl
          com.ibm.commerce.emarketing.beans.EmailUserReceiveDataBeanBase
              com.ibm.commerce.emarketing.beans.EmailUserReceiveDataBean
All Implemented Interfaces:
DataBean, Delegator, InputDataBean, Protectable, java.io.Serializable, SmartDataBean

public class EmailUserReceiveDataBean
extends EmailUserReceiveDataBeanBase

Used to determine if the user has opted out of receiving e-mail.

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
Copyright.
Fields inherited from class com.ibm.commerce.beans.SmartDataBeanImpl
commandContext
Fields inherited from class com.ibm.commerce.beans.InputDataBeanImpl
requestProperties
Fields inherited from interface com.ibm.commerce.beans.DataBean
emptyString
Constructor Summary
EmailUserReceiveDataBean()
Method Summary
boolean isUserReceive()
Gets whether on not the user wishes to receive e-mail.
void populate()
Populates the databean.
void setUsersId(java.lang.Long usersId)
Sets the ID of the user.
Methods inherited from class com.ibm.commerce.emarketing.beans.EmailUserReceiveDataBeanBase
getDelegate, getOwner
Methods inherited from class com.ibm.commerce.beans.SmartDataBeanImpl
fulfills, getCommandContext, getResources, setCommandContext
Methods inherited from class com.ibm.commerce.beans.InputDataBeanImpl
getRequestProperties, setRequestProperties
Methods inherited from class java.lang.Object
clone, equals, finalize, 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

COPYRIGHT

public static final java.lang.String COPYRIGHT
Copyright.
See Also:
Constant Field Values
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.

populate

public void populate()
              throws java.lang.Exception
Populates the databean.
Specified by:
populate in interface SmartDataBean
Overrides:
populate in class 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 users ID

Feedback