public final class MybatisNotificationsDao extends Object implements NotificationsDao
| Constructor and Description |
|---|
MybatisNotificationsDao(org.apache.ibatis.session.SqlSessionFactory sessions) |
| Modifier and Type | Method and Description |
|---|---|
void |
addNotification(Notification notification) |
Notification |
getNotification(Sid sid) |
List<Notification> |
getNotifications(Sid accountSid) |
List<Notification> |
getNotificationsByCall(Sid callSid) |
List<Notification> |
getNotificationsByLogLevel(int logLevel) |
List<Notification> |
getNotificationsByMessageDate(org.joda.time.DateTime messageDate) |
void |
removeNotification(Sid sid) |
void |
removeNotifications(Sid accountSid) |
void |
removeNotificationsByCall(Sid callSid) |
public MybatisNotificationsDao(org.apache.ibatis.session.SqlSessionFactory sessions)
public void addNotification(Notification notification)
addNotification in interface NotificationsDaopublic Notification getNotification(Sid sid)
getNotification in interface NotificationsDaopublic List<Notification> getNotifications(Sid accountSid)
getNotifications in interface NotificationsDaopublic List<Notification> getNotificationsByCall(Sid callSid)
getNotificationsByCall in interface NotificationsDaopublic List<Notification> getNotificationsByLogLevel(int logLevel)
getNotificationsByLogLevel in interface NotificationsDaopublic List<Notification> getNotificationsByMessageDate(org.joda.time.DateTime messageDate)
getNotificationsByMessageDate in interface NotificationsDaopublic void removeNotification(Sid sid)
removeNotification in interface NotificationsDaopublic void removeNotifications(Sid accountSid)
removeNotifications in interface NotificationsDaopublic void removeNotificationsByCall(Sid callSid)
removeNotificationsByCall in interface NotificationsDaoCopyright © 2017. All Rights Reserved.