Class AppointmentLinkBuilder
java.lang.Object
de.xima.fc.placeholder.replacer.appointment.AppointmentLinkBuilder
Builder for creating ical links to calendars. External links are created to the blueprint of
https://github.com/InteractionDesignFoundation/add-event-to-calendar-docs
- Since:
- 6.5.0
- Author:
- XIMA MEDIA GmbH
-
Constructor Summary
ConstructorsConstructorDescriptionAppointmentLinkBuilder(Vorgang formRecord, Appointment appointment, String baseUrl, IReplacerParams replacerParams, EAppointmentLinkType linkType) AppointmentLinkBuilder(Vorgang formRecord, List<Appointment> appointments, String baseUrl, IReplacerParams replacerParams, EAppointmentLinkType linkType) -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the calendar linkwithLinkTypes(EAppointmentLinkType linkType) withLocale(Locale locale)
-
Constructor Details
-
AppointmentLinkBuilder
public AppointmentLinkBuilder(Vorgang formRecord, Appointment appointment, String baseUrl, IReplacerParams replacerParams, EAppointmentLinkType linkType) - Parameters:
formRecord- the form recordappointment- the appointmentbaseUrl- the base url for links to the systemreplacerParams- the replacer parameterslinkType- the typ of link to create
-
AppointmentLinkBuilder
public AppointmentLinkBuilder(Vorgang formRecord, List<Appointment> appointments, String baseUrl, IReplacerParams replacerParams, EAppointmentLinkType linkType) - Parameters:
formRecord- the form recordappointments- the appointmentsbaseUrl- the base url for links to the systemreplacerParams- the replacer parameterslinkType- the typ of link to create
-
-
Method Details
-
withLocale
- Parameters:
locale- the locale to use- Returns:
- the builder
-
withLinkTypes
- Parameters:
linkType- the link type to use- Returns:
- the builder
-
build
Builds the calendar link- Returns:
- the calendar link
-