public interface IAppointmentDao extends IGenericDao<Appointment>
Appointment
entities.Modifier and Type | Method and Description |
---|---|
int |
countBy(IEntityContext ec,
IAppointmentQueryParams queryParams)
Returns the number of all appointments that match the given query params.
|
List<Appointment> |
getAllBy(IEntityContext ec,
IAppointmentQueryParams queryParams)
Returns all appointments that match the given query params.
|
<View extends IEffectiveAppointmentStatusProviding> |
getAttributesBy(IEntityContext ec,
IAppointmentQueryParams queryParams,
Class<View> viewType)
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.
|
getEntityRefs, read
all, bulkDelete, bulkUpdate, checkLockingVersion, create, create, delete, deleteAll, executePagedDaoAction, getAttributes, getAttributes, getTransactionHandler, read, registerListener, registerListener, resultTotalCount, setTransactionHandler, singleElement, unregisterListener, unregisterListener, update, update
int countBy(IEntityContext ec, IAppointmentQueryParams queryParams)
ec
- Current entity context for accessing the database.queryParams
- Restrictions to apply to the appointments that are included in the count.List<Appointment> getAllBy(IEntityContext ec, IAppointmentQueryParams queryParams)
ec
- Current entity context for accessing the database.queryParams
- Restrictions to apply to the appointments that are returned.<View extends IEffectiveAppointmentStatusProviding> List<View> getAttributesBy(IEntityContext ec, IAppointmentQueryParams queryParams, Class<View> viewType)
View
- Type of the view with the attributes.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.Appointment getByUUID(IEntityContext ec, String uuid)
ec
- Current entity context for accessing the database.uuid
- UUID of an appointment.status
- A list of status to which to restrict the returned appointments. When null
or empty, no
restriction is applied.Appointment getByUUID(IEntityContext ec, UUID uuid)
ec
- Current entity context for accessing the database.uuid
- UUID of an appointment.status
- A list of status to which to restrict the returned appointments. When null
or empty, no
restriction is applied.Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.