Class ContactDAO
- java.lang.Object
-
- org.silverpeas.core.contact.service.ContactDAO
-
@Repository public class ContactDAO extends Object
This is the Contact Data Access Object.- Author:
- Nicolas Eysseric
-
-
Constructor Summary
Constructors Constructor Description ContactDAO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addFather(Connection con, ContactPK contactPK, NodePK fatherPK)
Add a new father to this contactvoid
insertRow(Connection con, Contact detail)
-
-
-
Method Detail
-
addFather
public void addFather(Connection con, ContactPK contactPK, NodePK fatherPK) throws SQLException
Add a new father to this contact- Parameters:
con
- Connection to databasecontactPK
- the contact ContactPKfatherPK
- the father NodePK to add- Throws:
SQLException
- if an error occurs- Since:
- 1.0
- See Also:
NodePK
,ContactPK
-
insertRow
public void insertRow(Connection con, Contact detail) throws SQLException
- Throws:
SQLException
-
-