public final class CalendarTemplateDAO extends UtilDAO implements ICalendarTemplateDAO
BEAN_NAME
Constructor and Description |
---|
CalendarTemplateDAO() |
Modifier and Type | Method and Description |
---|---|
void |
delete(int nIdCalendarTemplate,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
void |
insert(CalendarTemplate calendarTemplate,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record int the table
|
CalendarTemplate |
select(int nIdCalendarTemplate,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
List<CalendarTemplate> |
selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get all the calendar templates
|
void |
update(CalendarTemplate calendarTemplate,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
getNewPrimaryKey
public void insert(CalendarTemplate calendarTemplate, fr.paris.lutece.portal.service.plugin.Plugin plugin)
ICalendarTemplateDAO
insert
in interface ICalendarTemplateDAO
calendarTemplate
- instance of the template object to insertplugin
- The pluginpublic void update(CalendarTemplate calendarTemplate, fr.paris.lutece.portal.service.plugin.Plugin plugin)
ICalendarTemplateDAO
update
in interface ICalendarTemplateDAO
calendarTemplate
- the reference of the templateplugin
- The pluginpublic void delete(int nIdCalendarTemplate, fr.paris.lutece.portal.service.plugin.Plugin plugin)
ICalendarTemplateDAO
delete
in interface ICalendarTemplateDAO
nIdCalendarTemplate
- int identifier of the template to deleteplugin
- The pluginpublic CalendarTemplate select(int nIdCalendarTemplate, fr.paris.lutece.portal.service.plugin.Plugin plugin)
ICalendarTemplateDAO
select
in interface ICalendarTemplateDAO
nIdCalendarTemplate
- The id of the templateplugin
- The pluginpublic List<CalendarTemplate> selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
ICalendarTemplateDAO
selectAll
in interface ICalendarTemplateDAO
plugin
- The pluginCopyright © 2018 City of Paris. All rights reserved.