public final class CustomerService extends Object
| Modifier and Type | Method and Description |
|---|---|
fr.paris.lutece.plugins.gru.business.customer.Customer |
createCustomer(fr.paris.lutece.plugins.gru.business.customer.Customer customer)
Create a new customer
|
fr.paris.lutece.plugins.gru.business.customer.Customer |
getCustomerByCid(String strCid)
Retrieve the customer by its ID
|
fr.paris.lutece.plugins.gru.business.customer.Customer |
getCustomerByGuid(String strGuid)
Retrieve a customer by its guid
|
static CustomerService |
instance()
Return the unique instance
|
public static CustomerService instance()
public fr.paris.lutece.plugins.gru.business.customer.Customer getCustomerByGuid(String strGuid)
strGuid - The GUIDpublic fr.paris.lutece.plugins.gru.business.customer.Customer getCustomerByCid(String strCid)
strCid - The customer IDpublic fr.paris.lutece.plugins.gru.business.customer.Customer createCustomer(fr.paris.lutece.plugins.gru.business.customer.Customer customer)
customer - The customerCopyright © 2016 City of Paris. All rights reserved.