public final class CustomerHome extends Object
| Modifier and Type | Method and Description |
|---|---|
static fr.paris.lutece.plugins.grubusiness.business.customer.Customer |
create(fr.paris.lutece.plugins.grubusiness.business.customer.Customer customer)
Create an instance of the customer class
|
static fr.paris.lutece.plugins.grubusiness.business.customer.Customer |
findByGuid(String strGuid)
Find a customer by its GUID
|
static fr.paris.lutece.plugins.grubusiness.business.customer.Customer |
findByPrimaryKey(int nKey)
Returns an instance of a customer whose identifier is specified in parameter
|
static int |
getCustomersCount()
The number of customers
|
static List<fr.paris.lutece.plugins.grubusiness.business.customer.Customer> |
getCustomersList()
Load the data of all the customer objects and returns them in form of a collection
|
static List<Integer> |
getIdCustomersList()
Load the id of all the customer objects and returns them in form of a collection
|
static void |
remove(int nKey)
Remove the customer whose identifier is specified in parameter
|
static fr.paris.lutece.plugins.grubusiness.business.customer.Customer |
update(fr.paris.lutece.plugins.grubusiness.business.customer.Customer customer)
Update of the customer which is specified in parameter
|
public static fr.paris.lutece.plugins.grubusiness.business.customer.Customer create(fr.paris.lutece.plugins.grubusiness.business.customer.Customer customer)
customer - The instance of the Customer which contains the informations to storepublic static fr.paris.lutece.plugins.grubusiness.business.customer.Customer update(fr.paris.lutece.plugins.grubusiness.business.customer.Customer customer)
customer - The instance of the Customer which contains the data to storepublic static void remove(int nKey)
nKey - The customer Idpublic static fr.paris.lutece.plugins.grubusiness.business.customer.Customer findByPrimaryKey(int nKey)
nKey - The customer primary keypublic static fr.paris.lutece.plugins.grubusiness.business.customer.Customer findByGuid(String strGuid)
strGuid - The GUIDpublic static List<fr.paris.lutece.plugins.grubusiness.business.customer.Customer> getCustomersList()
public static List<Integer> getIdCustomersList()
public static int getCustomersCount()
Copyright © 2016 City of Paris. All rights reserved.