|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.newsletter.business.NewsLetterTemplateHome
public final class NewsLetterTemplateHome
This class provides instances management methods (create, find, ...) for NewsLetterTemplate objects
| Method Summary | |
|---|---|
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 java.util.List<NewsLetterTemplate> |
getTemplatesCollectionByType(int nType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an list of templates depending on the given type |
static java.util.Collection<NewsLetterTemplate> |
getTemplatesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an list of all templates |
static fr.paris.lutece.util.ReferenceList |
getTemplatesListByType(int nType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns a list of templates depending on the given type |
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static java.util.Collection<NewsLetterTemplate> getTemplatesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The Plugin
public static fr.paris.lutece.util.ReferenceList getTemplatesListByType(int nType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nType - the type of templates to retrieveplugin - The Plugin
public static java.util.List<NewsLetterTemplate> getTemplatesCollectionByType(int nType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nType - the type of templates to retrieveplugin - The Plugin
public 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 Plugin
public static NewsLetterTemplate findByPrimaryKey(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey - the primary key of the newsletter's templateplugin - The Plugin
public 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 Plugin
public 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 plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||