Class Subscriber
java.lang.Object
fr.paris.lutece.plugins.newsletter.business.Subscriber
This class represents business objects Subscriber
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if user confirmed his subscription.Returns the date of the subscriptiongetEmail()Returns the subscriber's emailintgetId()Returns the subscriber's identifiervoidsetConfirmed(boolean bConfirmed) Set to true if user confirmed his subscriptionvoidsetDateSubscription(Timestamp dDateSubscription) Sets the subscription's datevoidSets the subscriber's email (in lower case )voidsetId(int nId) Sets the subscriber's identifier
-
Constructor Details
-
Subscriber
public Subscriber()
-
-
Method Details
-
getId
public int getId()Returns the subscriber's identifier- Returns:
- the subscriber's identifier
-
setId
public void setId(int nId) Sets the subscriber's identifier- Parameters:
nId- the subscriber's identifier
-
getEmail
Returns the subscriber's email- Returns:
- the subscriber's email
-
setEmail
Sets the subscriber's email (in lower case )- Parameters:
strEmail- the subscriber's email
-
getDateSubscription
Returns the date of the subscription- Returns:
- the subscription's date
-
setDateSubscription
Sets the subscription's date- Parameters:
dDateSubscription- the subscription's date
-
getConfirmed
public boolean getConfirmed()Return true if user confirmed his subscription.- Returns:
- true if user confirmed his subscription, false otherwise
-
setConfirmed
public void setConfirmed(boolean bConfirmed) Set to true if user confirmed his subscription- Parameters:
bConfirmed- the new confirmed value.
-