public class Subscription extends Object
Modifier and Type | Field and Description |
---|---|
static int |
FORMAT_HTML |
static int |
FORMAT_TEXT |
Constructor and Description |
---|
Subscription() |
Modifier and Type | Method and Description |
---|---|
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 |
getLocale() |
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 |
setLocale(String locale) |
void |
setUserId(String userId)
Sets the userId.
|
public static final int FORMAT_TEXT
public static final int FORMAT_HTML
public int getEmailFormat()
public void setEmailFormat(int emailFormat)
emailFormat
- the emailFormat value to setpublic String getLocale()
public void setLocale(String locale)
public 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()
LumisXP 12.4.0.200625 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.