lumis.service.newsletter
Class Subscription

Package class diagram package Subscription
java.lang.Object
  extended by lumis.service.newsletter.Subscription

public class Subscription
extends Object

Since:
4.0.8

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

FORMAT_TEXT

public static final int FORMAT_TEXT
See Also:
Constant Field Values

FORMAT_HTML

public static final int FORMAT_HTML
See Also:
Constant Field Values
Constructor Detail

Subscription

public Subscription()
Method Detail

getEmailFormat

public int getEmailFormat()
Returns the emailFormat.

Returns:
the emailFormat
Since:
4.0.8

setEmailFormat

public void setEmailFormat(int emailFormat)
Sets the emailFormat.

Parameters:
emailFormat - the emailFormat value to set
Since:
4.0.8

getId

public String getId()
Returns the id.

Returns:
the id
Since:
4.0.8

setId

public void setId(String id)
Sets the id.

Parameters:
id - the id value to set
Since:
4.0.8

getUserId

public String getUserId()
Returns the userId. Either this or getEmail() must be defined.

Returns:
the userId, or null if not specified.
Since:
4.0.8

setUserId

public void setUserId(String userId)
Sets the userId.

Parameters:
userId - the userId value to set
Since:
4.0.8
See Also:
getUserId()

getCategories

public Collection<Category> getCategories()
Returns the categories.

Returns:
the categories
Since:
4.0.8

setCategories

public void setCategories(Collection<Category> categories)
Sets the categories.

Parameters:
categories - the categories value to set
Since:
4.0.8

getEmail

public String getEmail()
Returns the email for this subscription. Either this or getUserId() must be specified.

Returns:
the email, or null if not specified.
Since:
4.0.9

setEmail

public void setEmail(String email)
Sets the email.

Parameters:
email - the email value to set.
Since:
4.0.9
See Also:
getEmail()


Lumisportal  4.1.0.071221 - Copyright © 2001-2007, Lumis. All Rights Reserved.