Class SentNotificationDAO
- java.lang.Object
-
- org.silverpeas.core.notification.user.client.model.SentNotificationDAO
-
public class SentNotificationDAO extends Object
-
-
Constructor Summary
Constructors Constructor Description SentNotificationDAO()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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)
static int
saveNotifUser(Connection con, SentNotificationDetail notif)
-
-
-
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
-
-