Class CalendarTemplateDAO

    • Constructor Detail

      • CalendarTemplateDAO

        public CalendarTemplateDAO()
    • Method Detail

      • 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