public class DefaultFD2AppointmentProvider extends Object implements IFD2AppointmentProvider
IFD2AppointmentProvider
.Constructor and Description |
---|
DefaultFD2AppointmentProvider(IFormRenderContext renderCtx)
Creates a new appointment template provider.
|
DefaultFD2AppointmentProvider(Mandant client)
Creates a new appointment template provider.
|
Modifier and Type | Method and Description |
---|---|
com.alibaba.fastjson.JSONArray |
createAppointmentTemplateJSON()
Returns a list of all available appointment templates.
|
IAppointmentData |
getAppointmentData(String uuid) |
boolean |
validateSubmittedAppointment(IXGlobalValidationParams params)
Validates the submitted appointments, checking whether they may be created, moved, or deleted.
|
public DefaultFD2AppointmentProvider(IFormRenderContext renderCtx)
renderCtx
- The current render context of the form being processed.public DefaultFD2AppointmentProvider(Mandant client)
client
- The current client that owns the form being processed.public com.alibaba.fastjson.JSONArray createAppointmentTemplateJSON()
IFD2AppointmentProvider
createAppointmentTemplateJSON
in interface IFD2AppointmentProvider
public IAppointmentData getAppointmentData(String uuid)
getAppointmentData
in interface IFD2AppointmentProvider
uuid
- The UUID of an appointment for which to retrieve its data.public boolean validateSubmittedAppointment(IXGlobalValidationParams params)
IFD2AppointmentProvider
validateSubmittedAppointment
in interface IFD2AppointmentProvider
params
- Appointments to validate.Copyright © 2021 XIMA MEDIA GmbH. All rights reserved.