com.stratelia.webactiv.util.contact.info
Class InfoDAO

java.lang.Object
  extended by com.stratelia.webactiv.util.contact.info.InfoDAO

public class InfoDAO
extends Object


Constructor Summary
InfoDAO()
           
 
Method Summary
static InfoPK createInfo(Connection con, String modelId, ContactPK pubPK)
           
static void deleteInfo(Connection con, InfoPK infoPK)
           
static void deleteInfoDetailByContactPK(Connection con, ContactPK contactPK)
           
static List<String> getInfo(Connection con, ContactPK pubPK)
           
static boolean hasInfo(Connection con, ContactPK pubPK, String modelId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InfoDAO

public InfoDAO()
Method Detail

hasInfo

public static boolean hasInfo(Connection con,
                              ContactPK pubPK,
                              String modelId)
                       throws SQLException
Throws:
SQLException

createInfo

public static InfoPK createInfo(Connection con,
                                String modelId,
                                ContactPK pubPK)
                         throws SQLException,
                                UtilException
Throws:
SQLException
UtilException

deleteInfo

public static void deleteInfo(Connection con,
                              InfoPK infoPK)
                       throws SQLException
Throws:
SQLException

deleteInfoDetailByContactPK

public static void deleteInfoDetailByContactPK(Connection con,
                                               ContactPK contactPK)
                                        throws SQLException
Throws:
SQLException

getInfo

public static List<String> getInfo(Connection con,
                                   ContactPK pubPK)
                            throws SQLException
Throws:
SQLException


Copyright © 2016 Silverpeas. All Rights Reserved.