Interface ICalendarTemplateDAO
-
- All Known Implementing Classes:
CalendarTemplateDAO
public interface ICalendarTemplateDAOCalendar Template DAO Interface- Author:
- Laurent Payen
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddelete(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the tablevoidinsert(CalendarTemplate template, fr.paris.lutece.portal.service.plugin.Plugin plugin)Insert a new record int the tableCalendarTemplateselect(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data from the tablejava.util.List<CalendarTemplate>selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)Get all the calendar templatesvoidupdate(CalendarTemplate template, fr.paris.lutece.portal.service.plugin.Plugin plugin)Update the record in the table
-
-
-
Method Detail
-
insert
void insert(CalendarTemplate template, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record int the table- Parameters:
template- instance of the template object to insertplugin- The plugin
-
update
void update(CalendarTemplate template, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table- Parameters:
template- the reference of the templateplugin- The plugin
-
delete
void delete(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the table- Parameters:
nId- int identifier of the template to deleteplugin- The plugin
-
select
CalendarTemplate select(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table- Parameters:
nId- The id of the templateplugin- The plugin- Returns:
- The instance of the template
-
selectAll
java.util.List<CalendarTemplate> selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get all the calendar templates- Parameters:
plugin- The plugin- Returns:
- The list of calendar templates
-
-