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,
InputDataBean,
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. |
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- Copyright.
- See Also:
-
Constant Field Values
EmailUserReceiveDataBean
public EmailUserReceiveDataBean()
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