Package de.xima.fc.dao.impl
Class AppointmentDao
java.lang.Object
de.xima.cmn.dao.AbstractDao<T,Long,IEntityContext>
- All Implemented Interfaces:
de.xima.cmn.dao.interfaces.IAbstractDao<Appointment,,Long, IEntityContext> IAppointmentDao,IGenericDao<Appointment>
Implementation of the
IAppointmentDao for reading and writing Appointment entities.- Since:
- 6.5.0
- Author:
- XIMA MEDIA GmbH
-
Field Summary
Fields inherited from class de.xima.cmn.dao.AbstractDao
entityClass, LOG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcountBy(IEntityContext ec, IAppointmentQueryParams params) Returns the number of all appointments that match the given query params.getAllBy(IEntityContext ec, IAppointmentQueryParams params) Returns all appointments that match the given query params.<View extends IEffectiveAppointmentStatusProviding>
List<View>getAttributesBy(IEntityContext ec, IAppointmentQueryParams params, Class<View> viewClass) 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.protected IFCDaoActionHook<Appointment>Methods inherited from class de.xima.fc.dao.impl.GenericDao
getEntityRefs, getPreActionHook, readMethods inherited from class de.xima.cmn.dao.AbstractDao
all, bulkDelete, bulkUpdate, cb, checkLockingVersion, cq, create, create, delete, delete, deleteAll, executePagedDaoAction, getAttributes, getAttributes, getSingleAttributes, getSingleAttributes, getTransactionHandler, notifyListener, notifyListener, read, registerListener, registerListener, registerListener, resultTotalCount, setTransactionHandler, singleElement, unregisterListener, unregisterListener, unregisterListener, update, updateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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, updateMethods inherited from interface de.xima.fc.dao.interfaces.IGenericDao
count, findAll, findSingle, getEntityRefs, read
-
Constructor Details
-
AppointmentDao
public AppointmentDao()Creates a new, default appointment DAO.
-
-
Method Details
-
countBy
Description copied from interface:IAppointmentDaoReturns the number of all appointments that match the given query params.- Specified by:
countByin interfaceIAppointmentDao- 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
Description copied from interface:IAppointmentDaoReturns all appointments that match the given query params.- Specified by:
getAllByin interfaceIAppointmentDao- 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:IAppointmentDaoReturns all appointments that match the given query params.- Specified by:
getAttributesByin interfaceIAppointmentDao- 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
Description copied from interface:IAppointmentDaoFinds the appointment with the given UUID.- Specified by:
getByUUIDin interfaceIAppointmentDao- 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
Description copied from interface:IAppointmentDaoFinds the appointment with the given UUID.- Specified by:
getByUUIDin interfaceIAppointmentDao- Parameters:
ec- Current entity context for accessing the database.uuid- UUID of an appointment.- Returns:
- The appointment with the given UUID.
-
getPostActionHook
- Overrides:
getPostActionHookin classGenericDao<Appointment>
-