public class FormsDataSource
extends fr.paris.lutece.plugins.elasticdata.business.AbstractDataSource
| Constructor and Description |
|---|
FormsDataSource() |
| Modifier and Type | Method and Description |
|---|---|
FormResponseDataObject |
create(fr.paris.lutece.plugins.forms.business.FormResponse formResponse,
fr.paris.lutece.plugins.forms.business.Form form)
Create a form response object
|
static <T> Predicate<T> |
distinctByKey(Function<? super T,Object> keyExtractor) |
Collection<fr.paris.lutece.plugins.elasticdata.business.DataObject> |
fetchDataObjects() |
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 FormResponseDataObject create(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.