|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.newsletter.util.NewsletterUtils
public final class NewsletterUtils
This classe provides utility methods for newsletters.
| Constructor Summary | |
|---|---|
NewsletterUtils()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
convertForJavascript(java.lang.String strIn)
Cleans a string in order to make it usable in a javascript script |
static java.lang.String |
fillTemplateWithDocumentInfos(java.lang.String strTemplatePath,
fr.paris.lutece.plugins.document.business.Document document,
int nPortletId,
fr.paris.lutece.portal.service.plugin.Plugin plugin,
java.util.Locale locale)
Fills a given document template with the document data |
static java.lang.String |
getHtmlTemplatePath(int nTemplateId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Retrieve the html template for the given template id |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NewsletterUtils()
| Method Detail |
|---|
public static java.lang.String getHtmlTemplatePath(int nTemplateId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nTemplateId - the id of the template to retrieveplugin - the plugin
public static java.lang.String convertForJavascript(java.lang.String strIn)
strIn - the string to clean
public static java.lang.String fillTemplateWithDocumentInfos(java.lang.String strTemplatePath,
fr.paris.lutece.plugins.document.business.Document document,
int nPortletId,
fr.paris.lutece.portal.service.plugin.Plugin plugin,
java.util.Locale locale)
t - the html templatedocument - the object gathering the document datanPortletId - the portlet idplugin - the plugin needed to retrieve propertieslocale - the locale used to build the template
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||