public interface ICustomerDAO
Modifier and Type | Method and Description |
---|---|
void |
delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
int |
insert(Customer customer,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
Customer |
load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
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<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(Customer customer,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
int insert(Customer customer, fr.paris.lutece.portal.service.plugin.Plugin plugin)
customer
- instance of the Customer object to insertplugin
- the Pluginvoid store(Customer customer, fr.paris.lutece.portal.service.plugin.Plugin plugin)
customer
- the reference of the Customerplugin
- the Pluginvoid delete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey
- The identifier of the Customer to deleteplugin
- the PluginCustomer load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey
- The identifier of the customerplugin
- the PluginList<Customer> selectCustomersList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- the PluginList<Integer> selectIdCustomersList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- the PluginCustomer selectByGuid(String strGuid, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strGuid
- The GUIDplugin
- The Pluginint selectCustomersCount(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- The PluginCopyright © 2016 City of Paris. All rights reserved.