public class ElasticSearchCustomerDAO extends Object implements IIndexCustomerDAO
| Constructor and Description |
|---|
ElasticSearchCustomerDAO()
default constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
delete(fr.paris.lutece.plugins.grubusiness.business.customer.Customer customer)
Deletes the specified customer from the index
|
void |
deleteAll()
Deletes all the customers from the index
|
void |
insert(fr.paris.lutece.plugins.grubusiness.business.customer.Customer customer)
Inserts the specified customer into the index
|
void |
insert(List<fr.paris.lutece.plugins.grubusiness.business.customer.Customer> listCustomer)
Inserts the specified list of customers into the index
|
fr.paris.lutece.plugins.grubusiness.business.customer.Customer |
load(String strCustomerId) |
List<fr.paris.lutece.plugins.grubusiness.business.customer.Customer> |
selectByFilter(Map<String,String> mapFilter) |
List<fr.paris.lutece.plugins.grubusiness.business.customer.Customer> |
selectByName(String strFirstName,
String strLastName) |
public List<fr.paris.lutece.plugins.grubusiness.business.customer.Customer> selectByFilter(Map<String,String> mapFilter)
selectByFilter in interface fr.paris.lutece.plugins.grubusiness.business.customer.ICustomerDAOpublic List<fr.paris.lutece.plugins.grubusiness.business.customer.Customer> selectByName(String strFirstName, String strLastName)
selectByName in interface fr.paris.lutece.plugins.grubusiness.business.customer.ICustomerDAOpublic fr.paris.lutece.plugins.grubusiness.business.customer.Customer load(String strCustomerId)
load in interface fr.paris.lutece.plugins.grubusiness.business.customer.ICustomerDAOpublic void insert(fr.paris.lutece.plugins.grubusiness.business.customer.Customer customer)
throws fr.paris.lutece.plugins.grubusiness.business.indexing.IndexingException
insert in interface IIndexCustomerDAOcustomer - The customer to indexfr.paris.lutece.plugins.grubusiness.business.indexing.IndexingException - if there is an exception during the indexingpublic void insert(List<fr.paris.lutece.plugins.grubusiness.business.customer.Customer> listCustomer) throws fr.paris.lutece.plugins.grubusiness.business.indexing.IndexingException
insert in interface IIndexCustomerDAOlistCustomer - The list of customers to indexfr.paris.lutece.plugins.grubusiness.business.indexing.IndexingException - if there is an exception during the indexingpublic void delete(fr.paris.lutece.plugins.grubusiness.business.customer.Customer customer)
throws fr.paris.lutece.plugins.grubusiness.business.indexing.IndexingException
delete in interface IIndexCustomerDAOcustomer - The customer to deletefr.paris.lutece.plugins.grubusiness.business.indexing.IndexingException - if there is an exception during the deletionpublic void deleteAll()
throws fr.paris.lutece.plugins.grubusiness.business.indexing.IndexingException
deleteAll in interface IIndexCustomerDAOfr.paris.lutece.plugins.grubusiness.business.indexing.IndexingException - if there is an exception during the deletionCopyright © 2018 City of Paris. All rights reserved.