Package de.xima.fc.api.entity
Class AppointmentSlotAPI
API class for reading and writing
AppointmentSlot
entities.- Since:
- 6.5.0
- Author:
- XIMA MEDIA GmbH
-
Field Summary
Fields inherited from class de.xima.fc.api.entity.AEntityAPI
entityClass
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAllByTemplates
(UserContext uc, List<AppointmentTemplate> templates, boolean merge) Finds all available appointment slots of the given templates.Methods inherited from class de.xima.fc.api.entity.AEntityAPI
create, create, delete, delete, deleteAllBy, deleteById, deleteById, getAll, getAllBy, getAttributes, getAttributes, getBy, getById, getById, getEntityRefs, getSingleAttributes, getSingleAttributes, resultTotalCount, resultTotalCount, update, update
Methods inherited from class de.xima.fc.api.ASubAPI
getHandlerProvider
-
Constructor Details
-
AppointmentSlotAPI
public AppointmentSlotAPI()
-
-
Method Details
-
getAllByTemplates
public List<AppointmentSlot> getAllByTemplates(UserContext uc, List<AppointmentTemplate> templates, boolean merge) Finds all available appointment slots of the given templates.- Parameters:
uc
- Current user context.templates
- Templates to use.merge
- Whether to merge overlapping slots.- Returns:
- All appointment slots of the given templates.
-