All Known Implementing Classes:
AppointmentDAO

public interface IAppointmentDAO
Appointment DAO Interface
Author:
Laurent Payen
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    delete(int nIdAppointment, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Delete a record from the table
    findByCategoryAndMail(int nIdCategory, String mail, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Find a list of appointments by id category and mail
    findByFilter(AppointmentFilterDTO appointmentFilter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Returns a list of appointments matching the filter
    findByGuidUser(String strGuidUser, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Returns all the appointments of a user by Guid
    findByIdForm(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Returns a list of all the appointment of a form
    findByIdSlot(int nIdSlot, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Returns the appointments of a slot
    findByIdUser(int nIdUser, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Returns all the appointments of a user
    findByListIdSlot(List<Integer> listIdSlot, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Returns the list of appointments of a slot
    findByReference(String strReference, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Returns the appointment with its reference
    findIdsByFilter(AppointmentFilterDTO appointmentFilter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Returns a list of appointments ids matching the filter
    void
    insert(Appointment appointment, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Insert a new record in the table
    select(int nIdAppointment, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Load the data from the table
    selectAllAppointmentId(fr.paris.lutece.portal.service.plugin.Plugin plugin)
    returns a list of all appointment ids.
    void
    update(Appointment appointment, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Update the record in the table
    void
    updateAppointmentDate(Appointment appointment, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Update date appointment, update AppointmentSlot
  • Method Details

    • insert

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

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

      void updateAppointmentDate(Appointment appointment, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update date appointment, update AppointmentSlot
      Parameters:
      appointment - the appointment
      plugin - the plugin
    • delete

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

      Appointment select(int nIdAppointment, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      Parameters:
      nIdAppointment - the identifier of the appointment
      plugin - the plugin
      Returns:
      the instance of the appointment
    • findByIdUser

      List<Appointment> findByIdUser(int nIdUser, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Returns all the appointments of a user
      Parameters:
      nIdUser - the User Id
      plugin - the Plugin
      Returns:
      a list of the appointments of the user
    • findByGuidUser

      List<Appointment> findByGuidUser(String strGuidUser, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Returns all the appointments of a user by Guid
      Parameters:
      strGuidUser - the User Guid
      plugin - the Plugin
      Returns:
      a list of the appointments of the user by Guid
    • findByIdSlot

      List<Appointment> findByIdSlot(int nIdSlot, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Returns the appointments of a slot
      Parameters:
      nIdSlot - the Slot Id
      plugin - the plugin
      Returns:
      a list of the appointments
    • findByListIdSlot

      List<Appointment> findByListIdSlot(List<Integer> listIdSlot, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Returns the list of appointments of a slot
      Parameters:
      listIdSlot - the list Slot Id
      plugin - the plugin
      Returns:
      a list of the appointments
    • findByReference

      Appointment findByReference(String strReference, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Returns the appointment with its reference
      Parameters:
      strReference - the appointment reference
      plugin - the plugin
      Returns:
      the appointment
    • findByIdForm

      List<Appointment> findByIdForm(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Returns a list of all the appointment of a form
      Parameters:
      nIdForm - the form id
      plugin - the plugin
      Returns:
      a list of the appointments
    • findByFilter

      List<Appointment> findByFilter(AppointmentFilterDTO appointmentFilter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Returns a list of appointments matching the filter
      Parameters:
      appointmentFilter - the filter
      plugin - the plugin
      Returns:
      a list of appointments
    • findIdsByFilter

      List<Integer> findIdsByFilter(AppointmentFilterDTO appointmentFilter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Returns a list of appointments ids matching the filter
      Parameters:
      appointmentFilter - the filter
      plugin - the plugin
      Returns:
      a list of appointments
    • findByCategoryAndMail

      List<Appointment> findByCategoryAndMail(int nIdCategory, String mail, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Find a list of appointments by id category and mail
      Parameters:
      nIdCategory - the id category
      mail - the mail
      plugin - the plugin
      Returns:
      list of appointments
    • selectAllAppointmentId

      List<Integer> selectAllAppointmentId(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      returns a list of all appointment ids.
      Parameters:
      plugin -
      Returns: