Class AppointmentListBuilder
- java.lang.Object
-
- de.xima.fc.placeholder.replacer.appointment.AppointmentListBuilder
-
public class AppointmentListBuilder extends Object
Builder for creating an html appointment list- Since:
- 6.5.0
- Author:
- XIMA MEDIA GmbH
-
-
Constructor Summary
Constructors Constructor Description AppointmentListBuilder(Vorgang formRecord, List<Appointment> appointments, String baseUrl, IReplacerParams replacerParams)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
build()
Builds the html link listAppointmentListBuilder
withLinkTypes(List<EAppointmentLinkType> linkTypes)
AppointmentListBuilder
withLocale(Locale locale)
-
-
-
Constructor Detail
-
AppointmentListBuilder
public AppointmentListBuilder(Vorgang formRecord, List<Appointment> appointments, String baseUrl, IReplacerParams replacerParams)
- Parameters:
formRecord
- the form recordappointments
- the appointmentsbaseUrl
- the base url for links to the systemreplacerParams
- the replacer parameters
-
-
Method Detail
-
withLinkTypes
public AppointmentListBuilder withLinkTypes(List<EAppointmentLinkType> linkTypes)
- Parameters:
linkTypes
- the link types to use- Returns:
- the builder
-
withLocale
public AppointmentListBuilder withLocale(Locale locale)
- Parameters:
locale
- the locale to use- Returns:
- the builder
-
build
public String build()
Builds the html link list- Returns:
- the link list as html
-
-