|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.contact.business.ContactDAO
public final class ContactDAO
This class provides Data Access methods for Contact objects
| Constructor Summary | |
|---|---|
ContactDAO()
|
|
| 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 |
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ContactDAO()
| Method Detail |
|---|
public void insert(Contact contact,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IContactDAOcontact - The contact objectplugin - The plugin
public Contact load(int nContactId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IContactDAOnContactId - The identifier of Contactplugin - The plugin
public void delete(Contact contact,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IContactDAOcontact - The Contact objectplugin - The plugin
public void store(Contact contact,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IContactDAOcontact - The reference of contactplugin - The plugin
public fr.paris.lutece.util.ReferenceList selectContactsByListWithString(int nIdContactList,
java.lang.String strComboItem,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectContactsByListWithString in interface IContactDAOnIdContactList - strComboItem - the string to display at the top of the listplugin - The plugin
public java.util.Collection<Contact> selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectAll in interface IContactDAOplugin - The plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||