|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.service.newsletter.Subscription
public class Subscription
Field Summary | |
---|---|
static int |
FORMAT_HTML
|
static int |
FORMAT_TEXT
|
Constructor Summary | |
---|---|
Subscription()
|
Method Summary | |
---|---|
Collection<Category> |
getCategories()
Returns the categories. |
String |
getEmail()
Returns the email for this subscription. |
int |
getEmailFormat()
Returns the emailFormat. |
String |
getId()
Returns the id. |
String |
getUserId()
Returns the userId. |
void |
setCategories(Collection<Category> categories)
Sets the categories. |
void |
setEmail(String email)
Sets the email. |
void |
setEmailFormat(int emailFormat)
Sets the emailFormat. |
void |
setId(String id)
Sets the id. |
void |
setUserId(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 String getId()
public void setId(String id)
id
- the id value to setpublic String getUserId()
getEmail()
must be defined.
public void setUserId(String userId)
userId
- the userId value to setgetUserId()
public Collection<Category> getCategories()
public void setCategories(Collection<Category> categories)
categories
- the categories value to setpublic String getEmail()
getUserId()
must be specified.
public void setEmail(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 |