public class CalendarTemplateDAO extends Object implements ICalendarTemplateDAO
BEAN_NAME| Constructor and Description |
|---|
CalendarTemplateDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
create(CalendarTemplate template,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Create a new calendar template
|
void |
delete(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove a template from its primary key
|
List<CalendarTemplate> |
findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the list of calendar templates
|
CalendarTemplate |
findByPrimaryKey(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find a template by its primary key
|
void |
update(CalendarTemplate template,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update an existing template
|
public void create(CalendarTemplate template, fr.paris.lutece.portal.service.plugin.Plugin plugin)
create in interface ICalendarTemplateDAOtemplate - The template to createplugin - The pluginpublic void update(CalendarTemplate template, fr.paris.lutece.portal.service.plugin.Plugin plugin)
update in interface ICalendarTemplateDAOtemplate - The templateplugin - The pluginpublic CalendarTemplate findByPrimaryKey(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
findByPrimaryKey in interface ICalendarTemplateDAOnId - The id of the templateplugin - The pluginpublic List<CalendarTemplate> findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
findAll in interface ICalendarTemplateDAOplugin - The pluginpublic void delete(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface ICalendarTemplateDAOnId - The id of the template to removeplugin - The pluginCopyright © 2015 Mairie de Paris. All rights reserved.