Package de.xima.fc.inbox.model.lazydata
Class LazyAppointmentScheduleModel
- java.lang.Object
-
- org.primefaces.model.DefaultScheduleModel
-
- org.primefaces.model.LazyScheduleModel
-
- de.xima.fc.inbox.model.lazydata.LazyAppointmentScheduleModel
-
- All Implemented Interfaces:
ILazyProcessModel
,Serializable
,org.primefaces.model.ScheduleModel
public class LazyAppointmentScheduleModel extends org.primefaces.model.LazyScheduleModel implements ILazyProcessModel
Lazy schedule model for the inbox appointment view.- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LazyAppointmentScheduleModel(UserContext uc, Mandant client, List<Postfach> inboxes, Locale locale)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 keyde.xima.cmn.criteria.FilterCriterion
removeFilter(String key)
Remove key associated with given keyvoid
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)
-
-
-
Constructor Detail
-
LazyAppointmentScheduleModel
public LazyAppointmentScheduleModel(UserContext uc, Mandant client, List<Postfach> inboxes, Locale locale)
-
-
Method Detail
-
addEvent
public void addEvent(org.primefaces.model.ScheduleEvent<?> event)
- Specified by:
addEvent
in interfaceorg.primefaces.model.ScheduleModel
- Overrides:
addEvent
in classorg.primefaces.model.DefaultScheduleModel
-
getAvailableZoneIdStrings
public List<javax.faces.model.SelectItem> getAvailableZoneIdStrings()
-
getBusinessHoursJson
public String getBusinessHoursJson()
-
getFilters
public Map<String,de.xima.cmn.criteria.FilterCriterion> getFilters()
- Specified by:
getFilters
in interfaceILazyProcessModel
-
getRowCount
public int getRowCount()
- Specified by:
getRowCount
in interfaceILazyProcessModel
-
getSelectedDate
public LocalDate getSelectedDate()
-
getSelectedZoneId
public ZoneId getSelectedZoneId()
-
getSelectedZoneIdString
public String getSelectedZoneIdString()
-
getVisibleAppointmentTemplates
public List<AppointmentTemplate> getVisibleAppointmentTemplates()
-
loadEvents
public void loadEvents(LocalDateTime from, LocalDateTime until)
- Specified by:
loadEvents
in classorg.primefaces.model.LazyScheduleModel
-
putFilter
public de.xima.cmn.criteria.FilterCriterion putFilter(String key, de.xima.cmn.criteria.FilterCriterion filter)
Description copied from interface:ILazyProcessModel
Add or change filter associated with the given key- Specified by:
putFilter
in interfaceILazyProcessModel
- Parameters:
key
-String
filter
-FilterCriterion
- Returns:
- former
FilterCriterion
-
removeFilter
public de.xima.cmn.criteria.FilterCriterion removeFilter(String key)
Description copied from interface:ILazyProcessModel
Remove key associated with given key- Specified by:
removeFilter
in interfaceILazyProcessModel
- Parameters:
key
-String
- Returns:
- former
FilterCriterion
-
setAppointmentTemplates
public void setAppointmentTemplates(List<AppointmentTemplate> appointmentTemplates)
- Specified by:
setAppointmentTemplates
in interfaceILazyProcessModel
-
setAvailableAppointmentTemplates
public void setAvailableAppointmentTemplates(List<AppointmentTemplateItem> items)
- Specified by:
setAvailableAppointmentTemplates
in interfaceILazyProcessModel
-
setInboxes
public void setInboxes(List<Postfach> inboxes)
- Specified by:
setInboxes
in interfaceILazyProcessModel
-
setSelectedZoneIdString
public void setSelectedZoneIdString(String selectedZoneId)
-
setSorting
public void setSorting(de.xima.cmn.criteria.SortingCriterion sortingCriterion)
- Specified by:
setSorting
in interfaceILazyProcessModel
-
addSorting
public void addSorting(de.xima.cmn.criteria.AQueryCriteriaManager qcm)
-
getSorting
public de.xima.cmn.criteria.SortingCriterion getSorting()
-
-