Package de.xima.fc.api.entity
Class AppointmentSlotAPI
- java.lang.Object
 - 
- de.xima.fc.api.ASubAPI
 - 
- de.xima.fc.api.entity.AEntityAPI<Appointment>
 - 
- de.xima.fc.api.entity.AppointmentSlotAPI
 
 
 
 
- 
public class AppointmentSlotAPI extends AEntityAPI<Appointment>
API class for reading and writingAppointmentSlotentities.- Since:
 - 6.5.0
 - Author:
 - XIMA MEDIA GmbH
 
 
- 
- 
Field Summary
- 
Fields inherited from class de.xima.fc.api.entity.AEntityAPI
entityClass 
 - 
 
- 
Constructor Summary
Constructors Constructor Description AppointmentSlotAPI() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AppointmentSlot>getAllByTemplates(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, getPagedResult, getSingleAttributes, getSingleAttributes, resultTotalCount, resultTotalCount, update, update 
- 
Methods inherited from class de.xima.fc.api.ASubAPI
getHandlerProvider 
 - 
 
 - 
 
- 
- 
Method Detail
- 
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.
 
 
 - 
 
 -