public class AppointmentSlotDataSource
extends fr.paris.lutece.plugins.elasticdata.business.AbstractDataSource
implements fr.paris.lutece.plugins.appointment.service.listeners.IFormListener, fr.paris.lutece.plugins.appointment.service.listeners.ISlotListener, fr.paris.lutece.plugins.appointment.service.listeners.IWeekDefinitionListener
| Constructor and Description |
|---|
AppointmentSlotDataSource() |
| Modifier and Type | Method and Description |
|---|---|
Collection<fr.paris.lutece.plugins.elasticdata.business.DataObject> |
fetchDataObjects() |
void |
notifyFormChange(int nIdForm) |
void |
notifyFormCreation(int nIdForm) |
void |
notifyFormRemoval(int nIdForm) |
void |
notifySlotChange(int nIdSlot) |
void |
notifySlotCreation(int nIdSlot) |
void |
notifySlotRemoval(int nIdSlot) |
void |
notifyWeekDefinitionChange(int nIdWeekDefinition) |
void |
notifyWeekDefinitionCreation(int nIdWeekDefinition) |
void |
notifyWeekDefinitionRemoval(int nIdForm) |
static void |
reindexForm(fr.paris.lutece.plugins.elasticdata.business.DataSource appoointmentData,
fr.paris.lutece.plugins.appointment.web.dto.AppointmentFormDTO apptFormdto)
Reindex the form and the slots in elastic-searche
|
static void |
reindexSlot(fr.paris.lutece.plugins.appointment.business.slot.Slot slot,
fr.paris.lutece.plugins.elasticdata.business.DataSource appoointmentData,
fr.paris.lutece.plugins.appointment.web.dto.AppointmentFormDTO apptFormdto)
Reindex the slot (and the related form to have the good number of available places) in solr
|
getBatchSize, getDataObjects, getDataObjectsIterator, getDataType, getExternalAttributesProvider, getId, getMappings, getName, getTargetIndexName, isLocalizable, removeDataObjects, setBatchSize, setDataType, setExternalAttributesProvider, setFullIndexingDaemon, setId, setLocalizable, setMappings, setName, setTargetIndexName, usesFullIndexingDaemonpublic Collection<fr.paris.lutece.plugins.elasticdata.business.DataObject> fetchDataObjects()
fetchDataObjects in interface fr.paris.lutece.plugins.elasticdata.business.DataSourcepublic static void reindexForm(fr.paris.lutece.plugins.elasticdata.business.DataSource appoointmentData,
fr.paris.lutece.plugins.appointment.web.dto.AppointmentFormDTO apptFormdto)
appoointmentData - the form appointmentpublic static void reindexSlot(fr.paris.lutece.plugins.appointment.business.slot.Slot slot,
fr.paris.lutece.plugins.elasticdata.business.DataSource appoointmentData,
fr.paris.lutece.plugins.appointment.web.dto.AppointmentFormDTO apptFormdto)
nIdSlot - the slot idpublic void notifyWeekDefinitionChange(int nIdWeekDefinition)
notifyWeekDefinitionChange in interface fr.paris.lutece.plugins.appointment.service.listeners.IWeekDefinitionListenerpublic void notifyWeekDefinitionCreation(int nIdWeekDefinition)
notifyWeekDefinitionCreation in interface fr.paris.lutece.plugins.appointment.service.listeners.IWeekDefinitionListenerpublic void notifyWeekDefinitionRemoval(int nIdForm)
notifyWeekDefinitionRemoval in interface fr.paris.lutece.plugins.appointment.service.listeners.IWeekDefinitionListenerpublic void notifySlotChange(int nIdSlot)
notifySlotChange in interface fr.paris.lutece.plugins.appointment.service.listeners.ISlotListenerpublic void notifySlotCreation(int nIdSlot)
notifySlotCreation in interface fr.paris.lutece.plugins.appointment.service.listeners.ISlotListenerpublic void notifySlotRemoval(int nIdSlot)
notifySlotRemoval in interface fr.paris.lutece.plugins.appointment.service.listeners.ISlotListenerpublic void notifyFormChange(int nIdForm)
notifyFormChange in interface fr.paris.lutece.plugins.appointment.service.listeners.IFormListenerpublic void notifyFormCreation(int nIdForm)
notifyFormCreation in interface fr.paris.lutece.plugins.appointment.service.listeners.IFormListenerpublic void notifyFormRemoval(int nIdForm)
notifyFormRemoval in interface fr.paris.lutece.plugins.appointment.service.listeners.IFormListenerCopyright © 2019 City of Paris. All rights reserved.