Package | Description |
---|---|
de.xima.fc.api.entity |
Package for the API access of the model classes.
|
de.xima.fc.appointment | |
de.xima.fc.dao.impl | |
de.xima.fc.dao.interfaces | |
de.xima.fc.entities |
Package für Datenbankentitäten
|
de.xima.fc.gui.common.appointment | |
de.xima.fc.handler.entity | |
de.xima.fc.handler.interfaces.entity |
Modifier and Type | Method and Description |
---|---|
List<AppointmentSlot> |
AppointmentSlotAPI.getAllByTemplates(UserContext uc,
List<AppointmentTemplate> templates,
boolean merge)
Finds all available appointment slots of the given templates.
|
Modifier and Type | Method and Description |
---|---|
static AppointmentSlot |
BaseAppointmentHelper.createSlot(LocalDateTime dateTime)
Creates a new slot starting at the given date.
|
static AppointmentSlot |
BaseAppointmentHelper.mergeOverlappingSlots(AppointmentSlot lhs,
AppointmentSlot rhs)
Takes two overlapping slots and creates a new slot with the start and end time set to the overlapping interval.
|
Modifier and Type | Method and Description |
---|---|
static List<AppointmentSlot> |
BaseAppointmentHelper.applySlotConstraints(List<AppointmentSlot> slots,
AppointmentTemplate template)
Sanitizes the given slots so that they conform the restrictions imposed by the given appointment template.
|
static List<AppointmentSlot> |
BaseAppointmentHelper.createDefaultSlots()
Creates the default
AppointmentTemplate.getSlots() when none are set yet. |
static List<AppointmentSlot> |
BaseAppointmentHelper.mergeOverlappingSlots(List<AppointmentSlot> slots)
Merges all overlapping slots.
|
Modifier and Type | Method and Description |
---|---|
static com.google.common.collect.Range<LocalDateTime> |
BaseAppointmentHelper.getSlotDateTime(AppointmentSlot slot) |
static com.google.common.collect.Range<LocalDateTime> |
BaseAppointmentHelper.getSlotDateTimeRange(AppointmentSlot slot)
Returns the date time range of the given slot.
|
static LocalDateTime |
BaseAppointmentHelper.getSlotFromDateTime(AppointmentSlot slot) |
static LocalDateTime |
BaseAppointmentHelper.getSlotToDateTime(AppointmentSlot slot) |
static boolean |
BaseAppointmentHelper.isSlotOverlapping(AppointmentTemplate template,
AppointmentSlot slot)
Checks whether the given slot is overlapping any slot of the given template.
|
static AppointmentSlot |
BaseAppointmentHelper.mergeOverlappingSlots(AppointmentSlot lhs,
AppointmentSlot rhs)
Takes two overlapping slots and creates a new slot with the start and end time set to the overlapping interval.
|
Modifier and Type | Method and Description |
---|---|
static List<AppointmentSlot> |
BaseAppointmentHelper.applySlotConstraints(List<AppointmentSlot> slots,
AppointmentTemplate template)
Sanitizes the given slots so that they conform the restrictions imposed by the given appointment template.
|
static List<AppointmentSlot> |
BaseAppointmentHelper.mergeOverlappingSlots(List<AppointmentSlot> slots)
Merges all overlapping slots.
|
Modifier and Type | Method and Description |
---|---|
List<AppointmentSlot> |
AppointmentSlotDao.getAllByTemplates(IEntityContext ec,
List<AppointmentTemplate> templates,
boolean merge) |
List<AppointmentSlot> |
AppointmentTemplateDao.getAllSlotsOfTemplates(IEntityContext ec,
List<AppointmentTemplate> templates,
boolean merge) |
Modifier and Type | Method and Description |
---|---|
List<AppointmentSlot> |
IAppointmentSlotDao.getAllByTemplates(IEntityContext ec,
List<AppointmentTemplate> templates,
boolean merge)
Finds all available appointment slots of the given templates.
|
List<AppointmentSlot> |
IAppointmentTemplateDao.getAllSlotsOfTemplates(IEntityContext ec,
List<AppointmentTemplate> templates,
boolean merge)
Finds all available appointment slots of the given templates.
|
Modifier and Type | Method and Description |
---|---|
List<AppointmentSlot> |
AppointmentTemplate.getSlots() |
Modifier and Type | Method and Description |
---|---|
void |
AppointmentTemplate.addSlot(AppointmentSlot slot)
Adds a slot to this template.
|
Modifier and Type | Method and Description |
---|---|
void |
AppointmentTemplate.addSlots(Iterable<AppointmentSlot> slots)
Adds one ore more slots to this template.
|
void |
AppointmentTemplate.setSlots(List<AppointmentSlot> slots) |
Modifier and Type | Method and Description |
---|---|
static AppointmentSlot |
AppointmentHelper.convertToSlot(org.primefaces.model.ScheduleEvent<?> event)
|
Modifier and Type | Method and Description |
---|---|
static org.primefaces.model.ScheduleEvent<?> |
AppointmentHelper.convertToEvent(AppointmentTemplate template,
AppointmentSlot slot)
|
Modifier and Type | Method and Description |
---|---|
List<AppointmentSlot> |
AppointmentSlotHandler.getAllByTemplates(UserContext uc,
List<AppointmentTemplate> templates,
boolean merge) |
Modifier and Type | Method and Description |
---|---|
List<AppointmentSlot> |
IAppointmentSlotHandler.getAllByTemplates(UserContext uc,
List<AppointmentTemplate> templates,
boolean merge)
Finds all available appointment slots of the given templates.
|
Copyright © 2021 XIMA MEDIA GmbH. All rights reserved.