Package de.xima.fc.dao.impl
Class AppointmentSlotDao
- java.lang.Object
-
- de.xima.cmn.dao.AbstractDao<T,Long,IEntityContext>
-
- de.xima.fc.dao.impl.GenericDao<AppointmentSlot>
-
- de.xima.fc.dao.impl.AppointmentSlotDao
-
- All Implemented Interfaces:
de.xima.cmn.dao.interfaces.IAbstractDao<AppointmentSlot,Long,IEntityContext>
,IAppointmentSlotDao
,IGenericDao<AppointmentSlot>
public class AppointmentSlotDao extends GenericDao<AppointmentSlot> implements IAppointmentSlotDao
Implementation of theIAppointmentSlotDao
for reading and writingAppointmentSlot
entities.- Author:
- XIMA MEDIA GmbH
-
-
Constructor Summary
Constructors Constructor Description AppointmentSlotDao()
Creates a new, default appointment template DAO.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AppointmentSlot>
getAllByTemplates(IEntityContext ec, List<AppointmentTemplate> templates, boolean merge)
Finds all available appointment slots of the given templates.-
Methods inherited from class de.xima.fc.dao.impl.GenericDao
getEntityRefs, getPostActionHook, getPreActionHook, read
-
Methods 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, update
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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 Detail
-
getAllByTemplates
public List<AppointmentSlot> getAllByTemplates(IEntityContext ec, List<AppointmentTemplate> templates, boolean merge)
Description copied from interface:IAppointmentSlotDao
Finds all available appointment slots of the given templates.- Specified by:
getAllByTemplates
in interfaceIAppointmentSlotDao
- Parameters:
ec
-IEntityContext
to usetemplates
- Templates to use.merge
- Whether to merge overlapping slots.- Returns:
- All appointment slots of the given templates.
-
-