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:
  • Constructor Details

  • Method Details

    • addEvent

      public void addEvent(org.primefaces.model.ScheduleEvent<?> event)
      Specified by:
      addEvent in interface org.primefaces.model.ScheduleModel
      Overrides:
      addEvent in class org.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 interface ILazyProcessModel
    • getRowCount

      public int getRowCount()
      Specified by:
      getRowCount in interface ILazyProcessModel
    • 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 class org.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 interface ILazyProcessModel
      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 interface ILazyProcessModel
      Parameters:
      key - String
      Returns:
      former FilterCriterion
    • setAppointmentTemplates

      public void setAppointmentTemplates(List<AppointmentTemplate> appointmentTemplates)
      Specified by:
      setAppointmentTemplates in interface ILazyProcessModel
    • setAvailableAppointmentTemplates

      public void setAvailableAppointmentTemplates(List<AppointmentTemplateItem> items)
      Specified by:
      setAvailableAppointmentTemplates in interface ILazyProcessModel
    • getZoneIdDisplayName

      public String getZoneIdDisplayName(ZoneId zoneId)
    • setInboxes

      public void setInboxes(List<Postfach> inboxes)
      Specified by:
      setInboxes in interface ILazyProcessModel
    • setSelectedZoneIdString

      public void setSelectedZoneIdString(String selectedZoneId)
    • setSorting

      public void setSorting(de.xima.cmn.criteria.SortingCriterion sortingCriterion)
      Specified by:
      setSorting in interface ILazyProcessModel
    • addSorting

      public void addSorting(de.xima.cmn.criteria.AQueryCriteriaManager qcm)
    • getSorting

      public de.xima.cmn.criteria.SortingCriterion getSorting()