Class AppointmentDao

java.lang.Object
de.xima.cmn.dao.AbstractDao<T,Long,IEntityContext>
de.xima.fc.dao.impl.GenericDao<Appointment>
de.xima.fc.dao.impl.AppointmentDao
All Implemented Interfaces:
de.xima.cmn.dao.interfaces.IAbstractDao<Appointment,Long,IEntityContext>, IAppointmentDao, IGenericDao<Appointment>

public class AppointmentDao extends GenericDao<Appointment> implements IAppointmentDao
Implementation of the IAppointmentDao for reading and writing Appointment entities.
Since:
6.5.0
Author:
XIMA MEDIA GmbH
  • Constructor Details

    • AppointmentDao

      public AppointmentDao()
      Creates a new, default appointment DAO.
  • Method Details

    • countBy

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

      public List<Appointment> getAllBy(IEntityContext ec, IAppointmentQueryParams params)
      Description copied from interface: IAppointmentDao
      Returns all appointments that match the given query params.
      Specified by:
      getAllBy in interface IAppointmentDao
      Parameters:
      ec - Current entity context for accessing the database.
      params - Restrictions to apply to the appointments that are returned.
      Returns:
      All appointments matching the given query params.
    • getAttributesBy

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

      public Appointment getByUUID(IEntityContext ec, String uuid)
      Description copied from interface: IAppointmentDao
      Finds the appointment with the given UUID.
      Specified by:
      getByUUID in interface IAppointmentDao
      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

      public Appointment getByUUID(IEntityContext ec, UUID uuid)
      Description copied from interface: IAppointmentDao
      Finds the appointment with the given UUID.
      Specified by:
      getByUUID in interface IAppointmentDao
      Parameters:
      ec - Current entity context for accessing the database.
      uuid - UUID of an appointment.
      Returns:
      The appointment with the given UUID.
    • getPostActionHook

      protected IFCDaoActionHook<Appointment> getPostActionHook()
      Overrides:
      getPostActionHook in class GenericDao<Appointment>