org.figure8.join.businessobjects.reporting
Class Subscription
java.lang.Object
org.figure8.join.core.EntityObject
org.figure8.join.businessobjects.reporting.Subscription
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
public class Subscription
- extends EntityObject
Represents a user's subdscription to a mailing list.
- Version:
- $Revision: 1.3 $
- Author:
- Laurent Broudoux
- See Also:
- Serialized Form
Constructor Summary |
Subscription()
Creates a new instance of Subscription |
Subscription(java.lang.String userId,
MailingList mailingList)
Creates a new insatnce of Subscription with mandatory attributes |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Subscription
public Subscription()
- Creates a new instance of Subscription
Subscription
public Subscription(java.lang.String userId,
MailingList mailingList)
- Creates a new insatnce of Subscription with mandatory attributes
- Parameters:
userId
- Identifier of owner that want to subscribemailingList
- Mainling list this user wants to subscribe to
getUserId
public java.lang.String getUserId()
- Returns:
- The identifier of user owning this subscription
setUserId
public void setUserId(java.lang.String userId)
- Parameters:
userId
- The identifier of user owning this subscription
getCreationDate
public java.util.Date getCreationDate()
- Returns:
- The date this subscription was done
setCreationDate
public void setCreationDate(java.util.Date creationDate)
- Parameters:
creationDate
- The date this subscription was done
getMailingList
public MailingList getMailingList()
- Returns:
- The mailing list that is subscribed to
setMailingList
public void setMailingList(MailingList mailingList)
- Parameters:
mailingList
- The mailing list that is subscribed to
Copyright © 2005-2008 Join. All Rights Reserved.