public class MockSearchService extends Object implements ISearchService
| Constructor and Description |
|---|
MockSearchService() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAutoCompleteUrl()
Return the AutoComplete Web Service URL
|
boolean |
isAutoComplete()
An autocomplete feature is available
|
List<fr.paris.lutece.plugins.grubusiness.business.customer.Customer> |
searchCustomer(String strFirstName,
String strLastName)
Search for Customers using first name and last name strings
|
fr.paris.lutece.plugins.grubusiness.business.customer.Customer |
searchCustomerById(String strCustomerId)
Search for a Customers by using its identifier
|
public List<fr.paris.lutece.plugins.grubusiness.business.customer.Customer> searchCustomer(String strFirstName, String strLastName)
searchCustomer in interface ISearchServicestrFirstName - The first namestrLastName - The last namepublic fr.paris.lutece.plugins.grubusiness.business.customer.Customer searchCustomerById(String strCustomerId)
searchCustomerById in interface ISearchServicestrCustomerId - the customer idpublic boolean isAutoComplete()
isAutoComplete in interface ISearchServicepublic String getAutoCompleteUrl()
getAutoCompleteUrl in interface ISearchServiceCopyright © 2017 City of Paris. All rights reserved.