Interface ICalendarTemplateDAO
- All Known Implementing Classes:
CalendarTemplateDAO
public interface ICalendarTemplateDAO
Calendar Template DAO Interface
- Author:
- Laurent Payen
-
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(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 tableselect(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data from the tableselectAll(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 Details
-
insert
Insert a new record int the table- Parameters:
template- instance of the template object to insertplugin- The plugin
-
update
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
Load the data from the table- Parameters:
nId- The id of the templateplugin- The plugin- Returns:
- The instance of the template
-
selectAll
Get all the calendar templates- Parameters:
plugin- The plugin- Returns:
- The list of calendar templates
-