org.opencms.newsletter
Interface I_CmsNewsletterRecipient

All Known Implementing Classes:
CmsSimpleNewsletterRecipient

public interface I_CmsNewsletterRecipient

Interface for recipients of I_CmsNewsletter objects.


Method Summary
 java.lang.String getEmail()
          Returns the email address of the recipient.
 java.lang.String getFirstname()
          Returns the firstname of the recipient.
 java.lang.String getFullName()
          Returns the nicename of the recipient.
 java.lang.String getLastname()
          Returns the lastname of the recipient.
 boolean isSubscriber(I_CmsNewsletterContent content)
          Returns true in case this newsletter recipient has subscribed to the given content.
 

Method Detail

getEmail

java.lang.String getEmail()
Returns the email address of the recipient.

Returns:
the email address of the recipient.

getFirstname

java.lang.String getFirstname()
Returns the firstname of the recipient.

Returns:
the firstname of the recipient.

getFullName

java.lang.String getFullName()
Returns the nicename of the recipient.

Returns:
the nicename of the recipient.

getLastname

java.lang.String getLastname()
Returns the lastname of the recipient.

Returns:
the lastname of the recipient.

isSubscriber

boolean isSubscriber(I_CmsNewsletterContent content)
Returns true in case this newsletter recipient has subscribed to the given content.

Parameters:
content - the content to check for subscription
Returns:
true in case this newsletter recipient has subscribed to the given content