|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectlumis.service.newsletter.Subscription
public class Subscription
Field Summary | |
---|---|
static int |
FORMAT_HTML
|
static int |
FORMAT_TEXT
|
Constructor Summary | |
---|---|
Subscription()
|
Method Summary | |
---|---|
java.util.Collection<Category> |
getCategories()
Returns the categories. |
java.lang.String |
getEmail()
Returns the email for this subscription. |
int |
getEmailFormat()
Returns the emailFormat. |
java.lang.String |
getId()
Returns the id. |
java.lang.String |
getUserId()
Returns the userId. |
void |
setCategories(java.util.Collection<Category> categories)
Sets the categories. |
void |
setEmail(java.lang.String email)
Sets the email. |
void |
setEmailFormat(int emailFormat)
Sets the emailFormat. |
void |
setId(java.lang.String id)
Sets the id. |
void |
setUserId(java.lang.String userId)
Sets the userId. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int FORMAT_TEXT
public static final int FORMAT_HTML
Constructor Detail |
---|
public Subscription()
Method Detail |
---|
public int getEmailFormat()
public void setEmailFormat(int emailFormat)
emailFormat
- the emailFormat value to setpublic java.lang.String getId()
public void setId(java.lang.String id)
id
- the id value to setpublic java.lang.String getUserId()
getEmail()
must be defined.
public void setUserId(java.lang.String userId)
userId
- the userId value to setgetUserId()
public java.util.Collection<Category> getCategories()
public void setCategories(java.util.Collection<Category> categories)
categories
- the categories value to setpublic java.lang.String getEmail()
getUserId()
must be specified.
public void setEmail(java.lang.String email)
email
- the email value to set.getEmail()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |