public class DemandDataSource
extends fr.paris.lutece.plugins.elasticdata.business.AbstractDataSource
implements fr.paris.lutece.plugins.grubusiness.business.demand.IDemandListener
| Constructor and Description |
|---|
DemandDataSource() |
| Modifier and Type | Method and Description |
|---|---|
Collection |
fetchDataObjects() |
List<fr.paris.lutece.plugins.elasticdata.business.DataObject> |
getDataObjects(List<String> listIdDataObjects) |
Iterator<fr.paris.lutece.plugins.elasticdata.business.DataObject> |
getDataObjectsIterator() |
List<String> |
getIdDataObjects() |
void |
onCreateDemand(fr.paris.lutece.plugins.grubusiness.business.demand.Demand demand) |
void |
onDeleteDemand(String strDemandId,
String strDemandTypeId) |
void |
onUpdateDemand(fr.paris.lutece.plugins.grubusiness.business.demand.Demand demand) |
void |
setDemandDAO(fr.paris.lutece.plugins.grubusiness.business.demand.IDemandDAO demandDAO)
Set the IDemandDAO to use
|
getBatchSize, getDataObjects, getDataType, getExternalAttributesProvider, getId, getMappings, getName, getTargetIndexName, isLocalizable, removeDataObjects, setBatchSize, setDataType, setExternalAttributesProvider, setFullIndexingDaemon, setId, setLocalizable, setMappings, setName, setTargetIndexName, usesFullIndexingDaemonpublic void setDemandDAO(fr.paris.lutece.plugins.grubusiness.business.demand.IDemandDAO demandDAO)
demandDAO - public void onCreateDemand(fr.paris.lutece.plugins.grubusiness.business.demand.Demand demand)
onCreateDemand in interface fr.paris.lutece.plugins.grubusiness.business.demand.IDemandListenerpublic void onUpdateDemand(fr.paris.lutece.plugins.grubusiness.business.demand.Demand demand)
onUpdateDemand in interface fr.paris.lutece.plugins.grubusiness.business.demand.IDemandListenerpublic void onDeleteDemand(String strDemandId, String strDemandTypeId)
onDeleteDemand in interface fr.paris.lutece.plugins.grubusiness.business.demand.IDemandListenerpublic Collection fetchDataObjects()
fetchDataObjects in interface fr.paris.lutece.plugins.elasticdata.business.DataSourcepublic List<String> getIdDataObjects()
getIdDataObjects in interface fr.paris.lutece.plugins.elasticdata.business.DataSourcegetIdDataObjects in class fr.paris.lutece.plugins.elasticdata.business.AbstractDataSourcepublic List<fr.paris.lutece.plugins.elasticdata.business.DataObject> getDataObjects(List<String> listIdDataObjects)
getDataObjects in interface fr.paris.lutece.plugins.elasticdata.business.DataSourcegetDataObjects in class fr.paris.lutece.plugins.elasticdata.business.AbstractDataSourcepublic Iterator<fr.paris.lutece.plugins.elasticdata.business.DataObject> getDataObjectsIterator()
getDataObjectsIterator in interface fr.paris.lutece.plugins.elasticdata.business.DataSourcegetDataObjectsIterator in class fr.paris.lutece.plugins.elasticdata.business.AbstractDataSourceCopyright © 2019 City of Paris. All rights reserved.