com.stratelia.silverpeas.notificationManager.model
Class SentNotificationDAO

java.lang.Object
  extended by com.stratelia.silverpeas.notificationManager.model.SentNotificationDAO

public class SentNotificationDAO
extends Object


Constructor Summary
SentNotificationDAO()
           
 
Method Summary
static void deleteNotif(Connection con, int notifId)
           
static void deleteNotifByUser(Connection con, String userId)
           
static List<SentNotificationDetail> getAllNotifByUser(Connection con, String userId)
           
static SentNotificationDetail getNotif(Connection con, int notifId)
           
static List<String> getReceivers(Connection con, int notifId)
           
protected static SentNotificationDetail recupNotif(ResultSet rs)
           
static int saveNotifUser(Connection con, SentNotificationDetail notif)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SentNotificationDAO

public SentNotificationDAO()
Method Detail

saveNotifUser

public static int saveNotifUser(Connection con,
                                SentNotificationDetail notif)

getAllNotifByUser

public static List<SentNotificationDetail> getAllNotifByUser(Connection con,
                                                             String userId)
                                                      throws SQLException
Throws:
SQLException

getReceivers

public static List<String> getReceivers(Connection con,
                                        int notifId)
                                 throws SQLException
Throws:
SQLException

getNotif

public static SentNotificationDetail getNotif(Connection con,
                                              int notifId)
                                       throws SQLException
Throws:
SQLException

deleteNotif

public static void deleteNotif(Connection con,
                               int notifId)
                        throws SQLException
Throws:
SQLException

deleteNotifByUser

public static void deleteNotifByUser(Connection con,
                                     String userId)
                              throws SQLException
Throws:
SQLException

recupNotif

protected static SentNotificationDetail recupNotif(ResultSet rs)
                                            throws SQLException
Throws:
SQLException


Copyright © 2016 Silverpeas. All Rights Reserved.