public interface INewsLetterTemplateDAO
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.
|
Collection<NewsLetterTemplate> selectTemplatesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- The pluginfr.paris.lutece.util.ReferenceList selectTemplatesListByType(String strTopicType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strTopicType
- the topic type of templatesplugin
- The pluginList<NewsLetterTemplate> selectTemplatesCollectionByType(String strTopicType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strTopicType
- the topic type of templates to getplugin
- The pluginvoid insert(NewsLetterTemplate newsletter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
newsletter
- The Instance of the object NewsLetterTemplateplugin
- the pluginNewsLetterTemplate load(int nTemplateId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nTemplateId
- the template identifierplugin
- the pluginvoid store(NewsLetterTemplate newsLetterTemplate, fr.paris.lutece.portal.service.plugin.Plugin plugin)
newsLetterTemplate
- The Instance of the object NewsLetterTemplateplugin
- the pluginvoid delete(int nNewsLetterTemplateId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nNewsLetterTemplateId
- the template identifierplugin
- the Pluginfr.paris.lutece.util.ReferenceList selectTemplatesByRef(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- The pluginCollection<NewsLetterTemplate> selectTemplatesListByWorkgoup(String strWorkgroupKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strWorkgroupKey
- The key of the workgroupplugin
- The pluginCopyright © 2019 City of Paris. All rights reserved.