public interface IContactDAO
| Modifier and Type | Method and Description |
|---|---|
void |
delete(Contact contact,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
void |
insert(Contact contact,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
Contact |
load(int nContactId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of Contact from the table
|
Collection<Contact> |
selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the list of contacts
|
int |
selectContactIdByOrder(int nContactOrder,
int nIdContactList,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns a contact identifier in a distinct order
|
int |
selectContactOrderById(int nIdContact,
int nIdContactList,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns a contact identifier in a distinct order
|
fr.paris.lutece.util.ReferenceList |
selectContactsByListWithString(int nIdContactList,
String strComboItem,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the list of contacts
|
void |
store(Contact contact,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
void |
storeContactOrder(int nNewOrder,
int nId,
int nIdContactList,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Modify the order of a contact
|
void |
updateHits(int nIdContact,
int nIdContactList,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update hits of the contact in contact and contact_list_contact tables
|
void delete(Contact contact, fr.paris.lutece.portal.service.plugin.Plugin plugin)
contact - The Contact objectplugin - The pluginvoid insert(Contact contact, fr.paris.lutece.portal.service.plugin.Plugin plugin)
contact - The contact objectplugin - The pluginContact load(int nContactId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nContactId - The identifier of Contactplugin - The pluginCollection<Contact> selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The pluginfr.paris.lutece.util.ReferenceList selectContactsByListWithString(int nIdContactList,
String strComboItem,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdContactList - The id of contactListstrComboItem - the string to display at the top of the listplugin - The pluginvoid store(Contact contact, fr.paris.lutece.portal.service.plugin.Plugin plugin)
contact - The reference of contactplugin - The pluginvoid updateHits(int nIdContact,
int nIdContactList,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdContact - id of the contactnIdContactList - id of contact listplugin - the plugin Contactvoid storeContactOrder(int nNewOrder,
int nId,
int nIdContactList,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdContactList - the id of contactListnNewOrder - The order numbernId - The contact identifierplugin - The pluginint selectContactIdByOrder(int nContactOrder,
int nIdContactList,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdContactList - the id of contactListnContactOrder - The order numberplugin - The pluginint selectContactOrderById(int nIdContact,
int nIdContactList,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdContact - the id of contactnIdContactList - the id of the contact Listplugin - The pluginCopyright © 2020 City of Paris. All rights reserved.