Class AppointmentTemplateBean

  • All Implemented Interfaces:
    Serializable

    @Named
    @ViewScoped
    public class AppointmentTemplateBean
    extends FCContextBean
    Bean for the backend menu that lets the user configure the available appointments.
    Author:
    XIMA MEDIA GmbH
    See Also:
    Serialized Form
    • Constructor Detail

      • AppointmentTemplateBean

        public AppointmentTemplateBean()
    • Method Detail

      • addNewClosingTime

        public void addNewClosingTime()
        Adds a new, empty closing time to the current AppointmentTemplate.
      • deleteClosingTime

        public void deleteClosingTime​(AppointmentClosingTime closingTime)
        Deletes the given closing time from the current AppointmentTemplate
        Parameters:
        closingTime - Closing time to delete.
      • updateModel

        public void updateModel()
        Creates a new template list model and reads all entities again from the database.
      • getInitialDate

        public LocalDate getInitialDate()
      • getIcalUrl

        public String getIcalUrl()
        Returns:
        The URL for accessing the appointments of the currently selected templates as an iCal file.
      • getIcalUrlHelpUrl

        public String getIcalUrlHelpUrl()
      • getIcalUrlWebcal

        public String getIcalUrlWebcal()
      • getIcalUrlHttp

        public String getIcalUrlHttp()
      • getIcalUrlGoogle

        public String getIcalUrlGoogle()
      • onDateSelect

        public void onDateSelect​(org.primefaces.event.SelectEvent<LocalDateTime> selectEvent)
      • onDateRemove

        public void onDateRemove​(String slotId)
      • clipboardSuccessListener

        public void clipboardSuccessListener​(org.primefaces.extensions.event.ClipboardSuccessEvent successEvent)
      • clipboardErrorListener

        public void clipboardErrorListener​(org.primefaces.extensions.event.ClipboardErrorEvent errorEvent)