public class LuceneCustomerDAO 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
| Constructor and Description |
|---|
LuceneCustomerDAO(String strIndexPath) |
LuceneCustomerDAO(String strIndexPath,
Boolean bIndexInWebapp) |
| 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)
.
|
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)
.
|
String |
search(String strQuery)
Returns a json string for autocomplete purpose
|
public LuceneCustomerDAO(String strIndexPath, Boolean bIndexInWebapp)
strIndexPath - bIndexInWebapp - public LuceneCustomerDAO(String strIndexPath)
strIndexPath - public 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 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 exceptionpublic List<fr.paris.lutece.plugins.grubusiness.business.customer.Customer> loadByName(String strFirstName, String strLastName)
loadByName 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.ICustomerDAOCopyright © 2017 City of Paris. All rights reserved.