public final class CustomerDAO extends Object implements ICustomerDAO
| Constructor and Description |
|---|
CustomerDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(String strId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
String |
insert(fr.paris.lutece.plugins.grubusiness.business.customer.Customer customer,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
fr.paris.lutece.plugins.grubusiness.business.customer.Customer |
load(String strId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
String |
newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Generates a new primary key
|
fr.paris.lutece.plugins.grubusiness.business.customer.Customer |
selectByGuid(String strGuid,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find a customer by its GUID
|
int |
selectCustomersCount(fr.paris.lutece.portal.service.plugin.Plugin plugin)
The number of customers
|
List<fr.paris.lutece.plugins.grubusiness.business.customer.Customer> |
selectCustomersList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the customer objects and returns them as a collection
|
List<Integer> |
selectIdCustomersList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the id of all the customer objects and returns them as a collection
|
void |
store(fr.paris.lutece.plugins.grubusiness.business.customer.Customer customer,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
public String newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The Pluginpublic String insert(fr.paris.lutece.plugins.grubusiness.business.customer.Customer customer, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface ICustomerDAOcustomer - instance of the Customer object to insertplugin - the Pluginpublic fr.paris.lutece.plugins.grubusiness.business.customer.Customer load(String strId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface ICustomerDAOstrId - The identifier of the customerplugin - the Pluginpublic void delete(String strId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface ICustomerDAOstrId - The identifier of the Customer to deleteplugin - the Pluginpublic void store(fr.paris.lutece.plugins.grubusiness.business.customer.Customer customer,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface ICustomerDAOcustomer - the reference of the Customerplugin - the Pluginpublic List<fr.paris.lutece.plugins.grubusiness.business.customer.Customer> selectCustomersList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectCustomersList in interface ICustomerDAOplugin - the Pluginpublic List<Integer> selectIdCustomersList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectIdCustomersList in interface ICustomerDAOplugin - the Pluginpublic fr.paris.lutece.plugins.grubusiness.business.customer.Customer selectByGuid(String strGuid, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectByGuid in interface ICustomerDAOstrGuid - The GUIDplugin - The Pluginpublic int selectCustomersCount(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectCustomersCount in interface ICustomerDAOplugin - The PluginCopyright © 2016 City of Paris. All rights reserved.