Class AppointmentDataCreator


  • public class AppointmentDataCreator
    extends Object
    Class for creating the data of an ical entry
    Author:
    XIMA MEDIA GmbH, Dresden
    • Constructor Detail

      • AppointmentDataCreator

        public AppointmentDataCreator()
    • Method Detail

      • createPlainDescription

        public static String createPlainDescription​(Locale locale,
                                                    AppointmentTemplate template,
                                                    Appointment appointment,
                                                    Vorgang formRecord,
                                                    IReplacerParams replacerParams)
        Creats the plain text description
        Parameters:
        locale - the locale to use
        template - the appointment template
        appointment - the appointment
        formRecord - the form record
        replacerParams - the replacer parameters
        Returns:
        the created plain text description
      • createHtmlDescription

        public static String createHtmlDescription​(Locale locale,
                                                   AppointmentTemplate template,
                                                   Appointment appointment,
                                                   Vorgang formRecord,
                                                   IReplacerParams replacerParams)
        Creats the html description
        Parameters:
        locale - the locale to use
        template - the appointment template
        appointment - the appointment
        formRecord - the form record
        replacerParams - the replacer parameters
        Returns:
        the created html description
      • createSubject

        public static String createSubject​(Locale locale,
                                           AppointmentTemplate template,
                                           Appointment appointment,
                                           Vorgang formRecord,
                                           IReplacerParams replacerParams)
        Creats the subject
        Parameters:
        locale - the locale to use
        template - the appointment template
        appointment - the appointment
        formRecord - the form record
        replacerParams - the replacer parameters
        Returns:
        the created subject