public final class NewsLetterTemplateDAO extends Object implements INewsLetterTemplateDAO
| Constructor and Description |
|---|
NewsLetterTemplateDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nNewsLetterTemplateId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove a record from the table
|
void |
insert(NewsLetterTemplate newsletter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
NewsLetterTemplate |
load(int nTemplateId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
loads the data of the newsletter's template from the table
|
fr.paris.lutece.util.ReferenceList |
selectTemplatesByRef(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns the list of all templates
|
List<NewsLetterTemplate> |
selectTemplatesCollectionByType(String strTopicType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns a list of templates depending on the given type
|
Collection<NewsLetterTemplate> |
selectTemplatesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns the list of all templates
|
fr.paris.lutece.util.ReferenceList |
selectTemplatesListByType(String strTopicType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns the list of all templates
|
Collection<NewsLetterTemplate> |
selectTemplatesListByWorkgoup(String strWorkgroupKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the list of temmplates associated with a given workgroup
|
void |
store(NewsLetterTemplate newsLetterTemplate,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update a given record in the table.
|
public Collection<NewsLetterTemplate> selectTemplatesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectTemplatesList in interface INewsLetterTemplateDAOplugin - The pluginpublic fr.paris.lutece.util.ReferenceList selectTemplatesListByType(String strTopicType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectTemplatesListByType in interface INewsLetterTemplateDAOstrTopicType - the topic type of templatesplugin - The pluginpublic List<NewsLetterTemplate> selectTemplatesCollectionByType(String strTopicType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectTemplatesCollectionByType in interface INewsLetterTemplateDAOstrTopicType - the topic type of templates to getplugin - The pluginpublic void insert(NewsLetterTemplate newsletter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface INewsLetterTemplateDAOnewsletter - The Instance of the object NewsLetterTemplateplugin - the pluginpublic NewsLetterTemplate load(int nTemplateId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface INewsLetterTemplateDAOnTemplateId - the template identifierplugin - the pluginpublic void store(NewsLetterTemplate newsLetterTemplate, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface INewsLetterTemplateDAOnewsLetterTemplate - The Instance of the object NewsLetterTemplateplugin - the pluginpublic void delete(int nNewsLetterTemplateId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface INewsLetterTemplateDAOnNewsLetterTemplateId - the template identifierplugin - the Pluginpublic fr.paris.lutece.util.ReferenceList selectTemplatesByRef(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectTemplatesByRef in interface INewsLetterTemplateDAOplugin - The pluginpublic Collection<NewsLetterTemplate> selectTemplatesListByWorkgoup(String strWorkgroupKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectTemplatesListByWorkgoup in interface INewsLetterTemplateDAOstrWorkgroupKey - The key of the workgroupplugin - The pluginCopyright © 2014 Mairie de Paris. All rights reserved.