public class IndexingAppointmentService extends Object
| Constructor and Description |
|---|
IndexingAppointmentService() |
| Modifier and Type | Method and Description |
|---|---|
List<fr.paris.lutece.plugins.elasticdata.business.DataObject> |
buildDataObjects(List<Integer> listIdDataObject)
build data object to indexing
|
List<fr.paris.lutece.plugins.elasticdata.business.DataObject> |
buildHistoryWfDataObjects(List<Integer> listIdDataObjects)
Build history workflow data objects
|
void |
deleteAppointmentAndHistory(AppointmentDataSource appointmentDataSource,
AppointmentHistoryDataSource appointmentHistoryDataSource,
int nIdAppointment)
Delete appointment in the index and his workflow history
|
static IndexingAppointmentService |
getService()
Return an instance of Indexing Appointment Service
|
void |
indexAppointment(AppointmentDataSource appointmentDataSource,
int nIdAppointment)
Index appointment data object
|
void |
indexAppointmentStateAndHistory(AppointmentDataSource appointmentDataSource,
AppointmentHistoryDataSource appointmentHistoryDataSource,
int nIdAppointment)
index appointmentpartial data object and history data object
|
public static IndexingAppointmentService getService()
public void indexAppointmentStateAndHistory(AppointmentDataSource appointmentDataSource, AppointmentHistoryDataSource appointmentHistoryDataSource, int nIdAppointment)
appointmentDataSource - the appointment DataSourceappointmentHistoryDataSource - the appointment history DataSourcenIdAppointment - the id of appointment to indexpublic void indexAppointment(AppointmentDataSource appointmentDataSource, int nIdAppointment)
appointmentDataSource - the appointment DatasourcenIdAppointment - the id of appointment to indexpublic void deleteAppointmentAndHistory(AppointmentDataSource appointmentDataSource, AppointmentHistoryDataSource appointmentHistoryDataSource, int nIdAppointment)
appointmentDataSource - the appointment DataSourceappointmentHistoryDataSource - the appointment history DataSourcenIdAppointment - the appointment id to remove in the indexpublic List<fr.paris.lutece.plugins.elasticdata.business.DataObject> buildDataObjects(List<Integer> listIdDataObject)
listIdDataObject - the list of data objectCopyright © 2022 City of Paris. All rights reserved.