public class LazyAppointmentScheduleModel extends org.primefaces.model.LazyScheduleModel implements ILazyProcessModel
Constructor and Description |
---|
LazyAppointmentScheduleModel(UserContext uc,
Mandant client,
List<Postfach> inboxes,
Locale locale) |
Modifier and Type | Method and Description |
---|---|
void |
addEvent(org.primefaces.model.ScheduleEvent<?> event) |
void |
addSorting(de.xima.cmn.criteria.AQueryCriteriaManager qcm) |
List<javax.faces.model.SelectItem> |
getAvailableZoneIdStrings() |
String |
getBusinessHoursJson() |
Map<String,de.xima.cmn.criteria.FilterCriterion> |
getFilters() |
int |
getRowCount() |
LocalDate |
getSelectedDate() |
ZoneId |
getSelectedZoneId() |
String |
getSelectedZoneIdString() |
de.xima.cmn.criteria.SortingCriterion |
getSorting() |
List<AppointmentTemplate> |
getVisibleAppointmentTemplates() |
String |
getZoneIdDisplayName(ZoneId zoneId) |
void |
loadEvents(LocalDateTime from,
LocalDateTime until) |
de.xima.cmn.criteria.FilterCriterion |
putFilter(String key,
de.xima.cmn.criteria.FilterCriterion filter)
Add or change filter associated with the given key
|
de.xima.cmn.criteria.FilterCriterion |
removeFilter(String key)
Remove key associated with given key
|
void |
setAppointmentTemplates(List<AppointmentTemplate> appointmentTemplates) |
void |
setAvailableAppointmentTemplates(List<AppointmentTemplateItem> items) |
void |
setInboxes(List<Postfach> inboxes) |
void |
setSelectedZoneIdString(String selectedZoneId) |
void |
setSorting(de.xima.cmn.criteria.SortingCriterion sortingCriterion) |
public LazyAppointmentScheduleModel(UserContext uc, Mandant client, List<Postfach> inboxes, Locale locale)
public void addEvent(org.primefaces.model.ScheduleEvent<?> event)
addEvent
in interface org.primefaces.model.ScheduleModel
addEvent
in class org.primefaces.model.DefaultScheduleModel
public List<javax.faces.model.SelectItem> getAvailableZoneIdStrings()
public String getBusinessHoursJson()
public Map<String,de.xima.cmn.criteria.FilterCriterion> getFilters()
getFilters
in interface ILazyProcessModel
public int getRowCount()
getRowCount
in interface ILazyProcessModel
public LocalDate getSelectedDate()
public ZoneId getSelectedZoneId()
public String getSelectedZoneIdString()
public List<AppointmentTemplate> getVisibleAppointmentTemplates()
public void loadEvents(LocalDateTime from, LocalDateTime until)
loadEvents
in class org.primefaces.model.LazyScheduleModel
public de.xima.cmn.criteria.FilterCriterion putFilter(String key, de.xima.cmn.criteria.FilterCriterion filter)
ILazyProcessModel
putFilter
in interface ILazyProcessModel
key
- String
filter
- FilterCriterion
FilterCriterion
public de.xima.cmn.criteria.FilterCriterion removeFilter(String key)
ILazyProcessModel
removeFilter
in interface ILazyProcessModel
key
- String
FilterCriterion
public void setAppointmentTemplates(List<AppointmentTemplate> appointmentTemplates)
setAppointmentTemplates
in interface ILazyProcessModel
public void setAvailableAppointmentTemplates(List<AppointmentTemplateItem> items)
setAvailableAppointmentTemplates
in interface ILazyProcessModel
public void setInboxes(List<Postfach> inboxes)
setInboxes
in interface ILazyProcessModel
public void setSelectedZoneIdString(String selectedZoneId)
public void setSorting(de.xima.cmn.criteria.SortingCriterion sortingCriterion)
setSorting
in interface ILazyProcessModel
public void addSorting(de.xima.cmn.criteria.AQueryCriteriaManager qcm)
public de.xima.cmn.criteria.SortingCriterion getSorting()
Copyright © 2021 XIMA MEDIA GmbH. All rights reserved.