Package de.xima.fc.dao.interfaces
Interface IAppointmentDao
- All Superinterfaces:
de.xima.cmn.dao.interfaces.IAbstractDao<Appointment,
,Long, IEntityContext> IGenericDao<Appointment>
- All Known Implementing Classes:
AppointmentDao
DAO for reading and writing
Appointment
entities.- Since:
- 6.5.0
- Author:
- XIMA MEDIA GmbH
-
Method Summary
Modifier and TypeMethodDescriptionint
countBy
(IEntityContext ec, IAppointmentQueryParams queryParams) Returns the number of all appointments that match the given query params.getAllBy
(IEntityContext ec, IAppointmentQueryParams queryParams) Returns all appointments that match the given query params.<View extends IEffectiveAppointmentStatusProviding>
List<View>getAttributesBy
(IEntityContext ec, IAppointmentQueryParams queryParams, Class<View> viewType) Returns all appointments that match the given query params.getByUUID
(IEntityContext ec, String uuid) Finds the appointment with the given UUID.getByUUID
(IEntityContext ec, UUID uuid) Finds the appointment with the given UUID.Methods inherited from interface de.xima.cmn.dao.interfaces.IAbstractDao
all, bulkDelete, bulkUpdate, checkLockingVersion, create, create, delete, delete, deleteAll, executePagedDaoAction, getAttributes, getAttributes, getSingleAttributes, getSingleAttributes, getTransactionHandler, read, registerListener, registerListener, registerListener, resultTotalCount, setTransactionHandler, singleElement, unregisterListener, unregisterListener, unregisterListener, update, update
Methods inherited from interface de.xima.fc.dao.interfaces.IGenericDao
count, findAll, findSingle, getEntityRefs, read
-
Method Details
-
countBy
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
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
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.
-