public class FormsDataSource
extends fr.paris.lutece.plugins.elasticdata.business.AbstractDataSource
| Constructor and Description |
|---|
FormsDataSource() |
| Modifier and Type | Method and Description |
|---|---|
Collection<fr.paris.lutece.plugins.elasticdata.business.DataObject> |
fetchDataObjects() |
List<FormResponseDataObject> |
getFormResponseWithHistory(fr.paris.lutece.plugins.forms.business.FormResponse formResponse,
fr.paris.lutece.plugins.forms.business.Form form)
Get a list of documents according to the form response
|
List<FormResponseDataObject> |
getFormResponseWithHistory(fr.paris.lutece.plugins.forms.business.FormResponse formResponse,
fr.paris.lutece.plugins.forms.business.Form form,
fr.paris.lutece.plugins.elasticdata.service.IndexingStatus status)
Get a list of documents according to the form response
|
String |
getMappings() |
void |
indexDocument(int nIdResource,
int nIdTask)
Index Form Response data object to Elasticdata
|
getBatchSize, getDataObjects, getDataObjects, getDataObjectsIterator, getExternalAttributesProvider, getId, getIdDataObjects, getName, getTargetIndexName, isLocalizable, removeDataObjects, setBatchSize, setExternalAttributesProvider, setFullIndexingDaemon, setId, setLocalizable, setMappings, setName, setTargetIndexName, usesFullIndexingDaemonpublic Collection<fr.paris.lutece.plugins.elasticdata.business.DataObject> fetchDataObjects()
public String getMappings()
getMappings in interface fr.paris.lutece.plugins.elasticdata.business.DataSourcegetMappings in class fr.paris.lutece.plugins.elasticdata.business.AbstractDataSourcepublic List<FormResponseDataObject> getFormResponseWithHistory(fr.paris.lutece.plugins.forms.business.FormResponse formResponse, fr.paris.lutece.plugins.forms.business.Form form, fr.paris.lutece.plugins.elasticdata.service.IndexingStatus status)
formResponse - The FormResponseform - The Formstatus - The index status to feedpublic List<FormResponseDataObject> getFormResponseWithHistory(fr.paris.lutece.plugins.forms.business.FormResponse formResponse, fr.paris.lutece.plugins.forms.business.Form form)
formResponse - The FormResponseform - The Formpublic void indexDocument(int nIdResource,
int nIdTask)
nIdResource - The FormResponse idnIdTask - The FormCopyright © 2021 City of Paris. All rights reserved.