Interface IAppointmentDao

All Superinterfaces:
de.xima.cmn.dao.interfaces.IAbstractDao<Appointment,Long,IEntityContext>, IGenericDao<Appointment>
All Known Implementing Classes:
AppointmentDao

public interface IAppointmentDao extends IGenericDao<Appointment>
DAO for reading and writing Appointment entities.
Since:
6.5.0
Author:
XIMA MEDIA GmbH
  • Method Details

    • countBy

      int countBy(IEntityContext ec, IAppointmentQueryParams queryParams)
      Returns the number of all appointments that match the given query params.
      Parameters:
      ec - Current entity context for accessing the database.
      queryParams - Restrictions to apply to the appointments that are included in the count.
      Returns:
      The number of appointments matching the query params.
    • getAllBy

      Returns all appointments that match the given query params.
      Parameters:
      ec - Current entity context for accessing the database.
      queryParams - Restrictions to apply to the appointments that are returned.
      Returns:
      All appointments matching the given query params.
    • getAttributesBy

      <View extends IEffectiveAppointmentStatusProviding> List<View> getAttributesBy(IEntityContext ec, IAppointmentQueryParams queryParams, Class<View> viewType)
      Returns all appointments that match the given query params.
      Type Parameters:
      View - Type of the view with the attributes.
      Parameters:
      ec - Current entity context for accessing the database.
      queryParams - Restrictions to apply to the appointments that are returned.
      viewType - Type of the view with the attributes.
      Returns:
      All views for the appointments matching the given query params.
    • getByUUID

      Appointment getByUUID(IEntityContext ec, String uuid)
      Finds the appointment with the given UUID.
      Parameters:
      ec - Current entity context for accessing the database.
      uuid - UUID of an appointment. restriction is applied.
      Returns:
      The appointment with the given UUID.
    • getByUUID

      Appointment getByUUID(IEntityContext ec, UUID uuid)
      Finds the appointment with the given UUID.
      Parameters:
      ec - Current entity context for accessing the database.
      uuid - UUID of an appointment.
      Returns:
      The appointment with the given UUID.