public class AppointmentDao extends GenericDao<Appointment> implements IAppointmentDao
IAppointmentDao for reading and writing Appointment entities.| Constructor and Description |
|---|
AppointmentDao()
Creates a new, default appointment DAO.
|
| Modifier and Type | Method and Description |
|---|---|
int |
countBy(IEntityContext ec,
IAppointmentQueryParams params)
Returns the number of all appointments that match the given query params.
|
List<Appointment> |
getAllBy(IEntityContext ec,
IAppointmentQueryParams params)
Returns all appointments that match the given query params.
|
<View extends IEffectiveAppointmentStatusProviding> |
getAttributesBy(IEntityContext ec,
IAppointmentQueryParams params,
Class<View> viewClass)
Returns all appointments that match the given query params.
|
Appointment |
getByUUID(IEntityContext ec,
String uuid)
Finds the appointment with the given UUID.
|
Appointment |
getByUUID(IEntityContext ec,
UUID uuid)
Finds the appointment with the given UUID.
|
protected IFCDaoActionHook<Appointment> |
getPostActionHook() |
getEntityRefs, getPreActionHook, readall, bulkDelete, bulkUpdate, cb, checkLockingVersion, cq, create, create, delete, deleteAll, executePagedDaoAction, getAttributes, getAttributes, getTransactionHandler, notifyListener, notifyListener, read, registerListener, registerListener, resultTotalCount, setTransactionHandler, singleElement, unregisterListener, unregisterListener, update, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetEntityRefs, readall, bulkDelete, bulkUpdate, checkLockingVersion, create, create, delete, deleteAll, executePagedDaoAction, getAttributes, getAttributes, getTransactionHandler, read, registerListener, registerListener, resultTotalCount, setTransactionHandler, singleElement, unregisterListener, unregisterListener, update, updatepublic int countBy(IEntityContext ec, IAppointmentQueryParams params)
IAppointmentDaocountBy in interface IAppointmentDaoec - Current entity context for accessing the database.params - Restrictions to apply to the appointments that are included in the count.public List<Appointment> getAllBy(IEntityContext ec, IAppointmentQueryParams params)
IAppointmentDaogetAllBy in interface IAppointmentDaoec - Current entity context for accessing the database.params - Restrictions to apply to the appointments that are returned.public <View extends IEffectiveAppointmentStatusProviding> List<View> getAttributesBy(IEntityContext ec, IAppointmentQueryParams params, Class<View> viewClass)
IAppointmentDaogetAttributesBy in interface IAppointmentDaoView - Type of the view with the attributes.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.public Appointment getByUUID(IEntityContext ec, String uuid)
IAppointmentDaogetByUUID in interface IAppointmentDaoec - Current entity context for accessing the database.uuid - UUID of an appointment.public Appointment getByUUID(IEntityContext ec, UUID uuid)
IAppointmentDaogetByUUID in interface IAppointmentDaoec - Current entity context for accessing the database.uuid - UUID of an appointment.protected IFCDaoActionHook<Appointment> getPostActionHook()
getPostActionHook in class GenericDao<Appointment>Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.