Class CalendarTemplateDAO

java.lang.Object
fr.paris.lutece.plugins.appointment.business.calendar.CalendarTemplateDAO
All Implemented Interfaces:
ICalendarTemplateDAO

public final class CalendarTemplateDAO extends Object implements ICalendarTemplateDAO
This class provides Data Access methods for Calendar Template objects
Author:
Laurent Payen
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    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
    select(int nIdCalendarTemplate, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Load the data from the table
    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

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CalendarTemplateDAO

      public CalendarTemplateDAO()
  • Method Details

    • insert

      public void insert(CalendarTemplate calendarTemplate, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Description copied from interface: ICalendarTemplateDAO
      Insert a new record int the table
      Specified by:
      insert in interface ICalendarTemplateDAO
      Parameters:
      calendarTemplate - instance of the template object to insert
      plugin - The plugin
    • update

      public void update(CalendarTemplate calendarTemplate, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Description copied from interface: ICalendarTemplateDAO
      Update the record in the table
      Specified by:
      update in interface ICalendarTemplateDAO
      Parameters:
      calendarTemplate - the reference of the template
      plugin - The plugin
    • delete

      public void delete(int nIdCalendarTemplate, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Description copied from interface: ICalendarTemplateDAO
      Delete a record from the table
      Specified by:
      delete in interface ICalendarTemplateDAO
      Parameters:
      nIdCalendarTemplate - int identifier of the template to delete
      plugin - The plugin
    • select

      public CalendarTemplate select(int nIdCalendarTemplate, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Description copied from interface: ICalendarTemplateDAO
      Load the data from the table
      Specified by:
      select in interface ICalendarTemplateDAO
      Parameters:
      nIdCalendarTemplate - The id of the template
      plugin - The plugin
      Returns:
      The instance of the template
    • selectAll

      public List<CalendarTemplate> selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Description copied from interface: ICalendarTemplateDAO
      Get all the calendar templates
      Specified by:
      selectAll in interface ICalendarTemplateDAO
      Parameters:
      plugin - The plugin
      Returns:
      The list of calendar templates