org.opencms.newsletter
Class CmsNewsletterDistributor

java.lang.Object
  extended by org.opencms.newsletter.CmsNewsletterDistributor

public class CmsNewsletterDistributor
extends java.lang.Object

A content distributor that sends the extracted xmlcontent data to the recepient via email.

Class to send a newsletter to a number of CmsNewsletterRecipients

Since:
6.0.2
Version:
$Revision: 1.6 $
Author:
Jan Baudisch, Achim Westermann

Constructor Summary
CmsNewsletterDistributor()
           
 
Method Summary
 void distribute(CmsObject cms, java.util.List recipients, I_CmsNewsletter newsletter)
          Sends a I_CmsNewsletter to a list of I_CmsNewsletterRecipient objects.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CmsNewsletterDistributor

public CmsNewsletterDistributor()
Method Detail

distribute

public void distribute(CmsObject cms,
                       java.util.List recipients,
                       I_CmsNewsletter newsletter)
Sends a I_CmsNewsletter to a list of I_CmsNewsletterRecipient objects.

Parameters:
recipients - a list of CmsNewsletterRecipient objects
newsletter - the newsletter to be distributed
cms - the CmsObject