|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IContactDAO
IContactDAO Interface
| Method Summary | |
|---|---|
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 |
java.util.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,
java.lang.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 |
| Method Detail |
|---|
void delete(Contact contact,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
contact - The Contact objectplugin - The plugin
void insert(Contact contact,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
contact - The contact objectplugin - The plugin
Contact load(int nContactId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nContactId - The identifier of Contactplugin - The plugin
java.util.Collection<Contact> selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The plugin
fr.paris.lutece.util.ReferenceList selectContactsByListWithString(int nIdContactList,
java.lang.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 plugin
void store(Contact contact,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
contact - The reference of contactplugin - The plugin
void updateHits(int nIdContact,
int nIdContactList,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdContact - id of the contactnIdContactList - id of contact listplugin - the plugin Contact
void 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 plugin
int selectContactIdByOrder(int nContactOrder,
int nIdContactList,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdContactList - the id of contactListnContactOrder - The order numberplugin - The plugin
int 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 plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||