fr.paris.lutece.plugins.newsletter.service
Class NewsletterService

java.lang.Object
  extended by fr.paris.lutece.plugins.newsletter.service.NewsletterService

public class NewsletterService
extends java.lang.Object

The newsletter service


Constructor Summary
NewsletterService()
           
 
Method Summary
 java.lang.String copyFileFromDocument(fr.paris.lutece.plugins.document.business.Document document, java.lang.String strFileType, java.lang.String strDestFolderPath)
          copy specified document's type file into a given folder
static NewsletterService getInstance()
          Returns the instance of the singleton
 void init()
          Initialize the Newsletter service
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NewsletterService

public NewsletterService()
Method Detail

init

public void init()
Initialize the Newsletter service


getInstance

public static NewsletterService getInstance()
Returns the instance of the singleton

Returns:
The instance of the singleton

copyFileFromDocument

public java.lang.String copyFileFromDocument(fr.paris.lutece.plugins.document.business.Document document,
                                             java.lang.String strFileType,
                                             java.lang.String strDestFolderPath)
copy specified document's type file into a given folder

Parameters:
document - the document
strFileType - the file type
strDestFolderPath - the destination folder
Returns:
name of the copy file or null if there is no copied file


Copyright © 2012 Mairie de Paris. All Rights Reserved.