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, read
all, bulkDelete, bulkUpdate, cb, checkLockingVersion, cq, create, create, delete, deleteAll, executePagedDaoAction, getAttributes, getAttributes, getSingleAttributes, getSingleAttributes, getTransactionHandler, notifyListener, notifyListener, read, registerListener, registerListener, registerListener, resultTotalCount, setTransactionHandler, singleElement, unregisterListener, unregisterListener, unregisterListener, update, update
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEntityRefs, read
all, bulkDelete, bulkUpdate, checkLockingVersion, create, create, delete, deleteAll, executePagedDaoAction, getAttributes, getAttributes, getSingleAttributes, getSingleAttributes, getTransactionHandler, read, registerListener, registerListener, registerListener, resultTotalCount, setTransactionHandler, singleElement, unregisterListener, unregisterListener, unregisterListener, update, update
public int countBy(IEntityContext ec, IAppointmentQueryParams params)
IAppointmentDao
countBy
in interface IAppointmentDao
ec
- 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)
IAppointmentDao
getAllBy
in interface IAppointmentDao
ec
- 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)
IAppointmentDao
getAttributesBy
in interface IAppointmentDao
View
- 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)
IAppointmentDao
getByUUID
in interface IAppointmentDao
ec
- Current entity context for accessing the database.uuid
- UUID of an appointment.public Appointment getByUUID(IEntityContext ec, UUID uuid)
IAppointmentDao
getByUUID
in interface IAppointmentDao
ec
- 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.