public final class NewsLetterTemplateHome extends Object
| Modifier and Type | Method and Description | 
|---|---|
| static NewsLetterTemplate | create(NewsLetterTemplate newsletterTemplate,
      fr.paris.lutece.portal.service.plugin.Plugin plugin)Creation of an instance of a newsletter template | 
| static NewsLetterTemplate | findByPrimaryKey(int nKey,
                fr.paris.lutece.portal.service.plugin.Plugin plugin)Returns an object NewsLetter's template from its identifier | 
| static fr.paris.lutece.util.ReferenceList | getTemplateListByRef(fr.paris.lutece.portal.service.plugin.Plugin plugin)Fetches a template list | 
| static List<NewsLetterTemplate> | getTemplatesCollectionByType(String strTopicType,
                            fr.paris.lutece.portal.service.plugin.Plugin plugin)Returns a list of templates depending on the given topic type | 
| static Collection<NewsLetterTemplate> | getTemplatesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)Returns the list of every templates | 
| static fr.paris.lutece.util.ReferenceList | getTemplatesListByType(String strTopicType,
                      fr.paris.lutece.portal.service.plugin.Plugin plugin)Returns a list of templates depending on the given type | 
| static Collection<NewsLetterTemplate> | getTemplatesListByWorkgoup(String strWorkgroupKey,
                          fr.paris.lutece.portal.service.plugin.Plugin plugin)Returns the list of templates associated with a given workgroup | 
| static void | remove(int nNewsLetterTemplateId,
      fr.paris.lutece.portal.service.plugin.Plugin plugin)Remove the record from the template identifier | 
| static NewsLetterTemplate | update(NewsLetterTemplate newsletterTemplate,
      fr.paris.lutece.portal.service.plugin.Plugin plugin)Update of an instance of a newsletter template | 
public static Collection<NewsLetterTemplate> getTemplatesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The Pluginpublic static fr.paris.lutece.util.ReferenceList getTemplatesListByType(String strTopicType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strTopicType - the topic type of templates to retrieveplugin - The Pluginpublic static List<NewsLetterTemplate> getTemplatesCollectionByType(String strTopicType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strTopicType - the topic type of templates to retrieveplugin - The Pluginpublic static NewsLetterTemplate create(NewsLetterTemplate newsletterTemplate, fr.paris.lutece.portal.service.plugin.Plugin plugin)
newsletterTemplate - template An instance of a newsletter template
            which contains the informations to storeplugin - The Pluginpublic static NewsLetterTemplate findByPrimaryKey(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey - the primary key of the newsletter's templateplugin - The Pluginpublic static NewsLetterTemplate update(NewsLetterTemplate newsletterTemplate, fr.paris.lutece.portal.service.plugin.Plugin plugin)
newsletterTemplate - template An instance of a newsletter template
            which contains the informations to storeplugin - The Pluginpublic static void remove(int nNewsLetterTemplateId,
                          fr.paris.lutece.portal.service.plugin.Plugin plugin)
nNewsLetterTemplateId - the template identifierplugin - the Pluginpublic static fr.paris.lutece.util.ReferenceList getTemplateListByRef(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The pluginpublic static Collection<NewsLetterTemplate> getTemplatesListByWorkgoup(String strWorkgroupKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strWorkgroupKey - The workgoup keyplugin - The PluginCopyright © 2019 City of Paris. All rights reserved.