Class DemandDataSource

  • All Implemented Interfaces:
    fr.paris.lutece.plugins.elasticdata.business.DataSource, fr.paris.lutece.plugins.grubusiness.business.demand.IDemandListener

    public class DemandDataSource
    extends fr.paris.lutece.plugins.elasticdata.business.AbstractDataSource
    implements fr.paris.lutece.plugins.grubusiness.business.demand.IDemandListener
    DemandDataSource
    • Field Summary

      • Fields inherited from interface fr.paris.lutece.plugins.elasticdata.business.DataSource

        BATCH_SIZE, PROPERTY_BULK_BATCH_SIZE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      List<fr.paris.lutece.plugins.elasticdata.business.DataObject> getDataObjects​(List<String> listIdDataObjects)
      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)
      • Methods inherited from class fr.paris.lutece.plugins.elasticdata.business.AbstractDataSource

        getBatchSize, getDataObjectsIterator, getDataObjectsIterator, getExternalAttributesProvider, getId, getIndexingStatus, getMappings, getName, getTargetIndexName, isLocalizable, setBatchSize, setExternalAttributesProvider, setFullIndexingDaemon, setId, setLocalizable, setMappings, setName, setTargetIndexName, usesFullIndexingDaemon
    • Constructor Detail

      • DemandDataSource

        public DemandDataSource()
    • Method Detail

      • onCreateDemand

        public void onCreateDemand​(fr.paris.lutece.plugins.grubusiness.business.demand.Demand demand)
        Specified by:
        onCreateDemand in interface fr.paris.lutece.plugins.grubusiness.business.demand.IDemandListener
      • onUpdateDemand

        public void onUpdateDemand​(fr.paris.lutece.plugins.grubusiness.business.demand.Demand demand)
        Specified by:
        onUpdateDemand in interface fr.paris.lutece.plugins.grubusiness.business.demand.IDemandListener
      • onDeleteDemand

        public void onDeleteDemand​(String strDemandId,
                                   String strDemandTypeId)
        Specified by:
        onDeleteDemand in interface fr.paris.lutece.plugins.grubusiness.business.demand.IDemandListener
      • getIdDataObjects

        public List<String> getIdDataObjects()
        Specified by:
        getIdDataObjects in interface fr.paris.lutece.plugins.elasticdata.business.DataSource
      • getDataObjects

        public List<fr.paris.lutece.plugins.elasticdata.business.DataObject> getDataObjects​(List<String> listIdDataObjects)
        Specified by:
        getDataObjects in interface fr.paris.lutece.plugins.elasticdata.business.DataSource