public class ElasticSearchCustomerDAO extends Object implements fr.paris.lutece.plugins.grubusiness.business.indexing.IIndexingService<fr.paris.lutece.plugins.grubusiness.business.customer.Customer>, fr.paris.lutece.plugins.grubusiness.business.customer.ICustomerDAO
| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_CUSTOMER_BIRTHDATE |
static String |
KEY_CUSTOMER_CIVILITY |
static String |
KEY_CUSTOMER_CONNECTION_ID |
static String |
KEY_CUSTOMER_EMAIL |
static String |
KEY_CUSTOMER_FAMILY_NAME |
static String |
KEY_CUSTOMER_FIRST_NAME |
static String |
KEY_CUSTOMER_FIXED_PHONE_NUMBER |
static String |
KEY_CUSTOMER_ID |
static String |
KEY_CUSTOMER_LAST_NAME |
static String |
KEY_CUSTOMER_MOBILE_PHONE_NUMBER |
| Constructor and Description |
|---|
ElasticSearchCustomerDAO()
default constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
deleteIndex(fr.paris.lutece.plugins.grubusiness.business.customer.Customer customer)
.
|
void |
index(fr.paris.lutece.plugins.grubusiness.business.customer.Customer customer)
.
|
void |
indexList(List<fr.paris.lutece.plugins.grubusiness.business.customer.Customer> listCustomer)
.
|
fr.paris.lutece.plugins.grubusiness.business.customer.Customer |
load(String strCustomerId) |
List<fr.paris.lutece.plugins.grubusiness.business.customer.Customer> |
loadByName(String strFirstName,
String strLastName)
.
|
public static final String KEY_CUSTOMER_ID
public static final String KEY_CUSTOMER_CIVILITY
public static final String KEY_CUSTOMER_LAST_NAME
public static final String KEY_CUSTOMER_FAMILY_NAME
public static final String KEY_CUSTOMER_FIRST_NAME
public static final String KEY_CUSTOMER_EMAIL
public static final String KEY_CUSTOMER_MOBILE_PHONE_NUMBER
public static final String KEY_CUSTOMER_FIXED_PHONE_NUMBER
public static final String KEY_CUSTOMER_BIRTHDATE
public static final String KEY_CUSTOMER_CONNECTION_ID
public List<fr.paris.lutece.plugins.grubusiness.business.customer.Customer> loadByName(String strFirstName, String strLastName)
loadByName in interface fr.paris.lutece.plugins.grubusiness.business.customer.ICustomerDAOstrQuery - the str querypublic fr.paris.lutece.plugins.grubusiness.business.customer.Customer load(String strCustomerId)
load in interface fr.paris.lutece.plugins.grubusiness.business.customer.ICustomerDAOpublic void index(fr.paris.lutece.plugins.grubusiness.business.customer.Customer customer)
throws fr.paris.lutece.plugins.grubusiness.business.indexing.IndexingException
index in interface fr.paris.lutece.plugins.grubusiness.business.indexing.IIndexingService<fr.paris.lutece.plugins.grubusiness.business.customer.Customer>customer - the customerfr.paris.lutece.plugins.grubusiness.business.indexing.IndexingException - indexing exceptionpublic void indexList(List<fr.paris.lutece.plugins.grubusiness.business.customer.Customer> listCustomer) throws fr.paris.lutece.plugins.grubusiness.business.indexing.IndexingException
indexList in interface fr.paris.lutece.plugins.grubusiness.business.indexing.IIndexingService<fr.paris.lutece.plugins.grubusiness.business.customer.Customer>fr.paris.lutece.plugins.grubusiness.business.indexing.IndexingExceptionpublic void deleteIndex(fr.paris.lutece.plugins.grubusiness.business.customer.Customer customer)
throws fr.paris.lutece.plugins.grubusiness.business.indexing.IndexingException
deleteIndex in interface fr.paris.lutece.plugins.grubusiness.business.indexing.IIndexingService<fr.paris.lutece.plugins.grubusiness.business.customer.Customer>customer - the customerfr.paris.lutece.plugins.grubusiness.business.indexing.IndexingException - indexing exceptionCopyright © 2017 City of Paris. All rights reserved.