All Known Implementing Classes:
TimeSlotDAO

public interface ITimeSlotDAO
TimeSlot DAO Interface
Author:
Laurent Payen
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    delete(int nIdTimeSlot, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Delete a record from the table
    void
    deleteByIdWorkingDay(int nIdWorkingDay, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Delete a record from the table by working day
    findByIdWorkingDay(int nIdWorkingDay, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Get all the time slots of the working day
    void
    insert(TimeSlot timeSlot, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Insert a new record in the table
    select(int nIdTimeSlot, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Load the data from the table
    void
    update(TimeSlot timeSlot, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Update the record in the table
  • Method Details

    • insert

      void insert(TimeSlot timeSlot, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert a new record in the table
      Parameters:
      timeSlot - instance of the timeSlot object to insert
      plugin - the plugin
    • update

      void update(TimeSlot timeSlot, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update the record in the table
      Parameters:
      timeSlot - the reference of the timeSlot
      plugin - the plugin
    • delete

      void delete(int nIdTimeSlot, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Delete a record from the table
      Parameters:
      nIdTimeSlot - identifier of the timeSlot to delete
      plugin - the plugin
    • deleteByIdWorkingDay

      void deleteByIdWorkingDay(int nIdWorkingDay, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Delete a record from the table by working day
      Parameters:
      nIdTimeSlot - identifier of the timeSlot to delete
      plugin - the plugin
    • select

      TimeSlot select(int nIdTimeSlot, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      Parameters:
      nIdTimeSlot - the identifier of the timeSlot
      plugin - the plugin
      Returns:
      the instance of the timeSlot
    • findByIdWorkingDay

      List<TimeSlot> findByIdWorkingDay(int nIdWorkingDay, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Get all the time slots of the working day
      Parameters:
      nIdWorkingDay - the working day id
      plugin - the plugin
      Returns:
      the list of all the time slots of the working day