Package de.xima.fc.dao.impl
Class AppointmentSlotDao
java.lang.Object
de.xima.cmn.dao.AbstractDao<T,Long,IEntityContext>
- All Implemented Interfaces:
de.xima.cmn.dao.interfaces.IAbstractDao<AppointmentSlot,
,Long, IEntityContext> IAppointmentSlotDao
,IGenericDao<AppointmentSlot>
Implementation of the
IAppointmentSlotDao
for reading and writing AppointmentSlot
entities.- Author:
- XIMA MEDIA GmbH
-
Field Summary
Fields inherited from class de.xima.cmn.dao.AbstractDao
entityClass, LOG
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAllByTemplates
(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
-
Constructor Details
-
AppointmentSlotDao
public AppointmentSlotDao()Creates a new, default appointment template DAO.
-
-
Method Details
-
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.
-