org.benjp.services.jcr
Class NotificationServiceImpl
java.lang.Object
org.benjp.services.jcr.AbstractJCRService
org.benjp.services.jcr.NotificationServiceImpl
- All Implemented Interfaces:
- NotificationService
public class NotificationServiceImpl
- extends AbstractJCRService
- implements NotificationService
|
Method Summary |
void |
addNotification(String user,
String type,
String category,
String categoryId,
String content,
String link)
|
static void |
cleanupNotifications()
|
int |
getNumberOfNotifications()
|
int |
getNumberOfUnreadNotifications()
|
int |
getUnreadNotificationsTotal(String user)
|
int |
getUnreadNotificationsTotal(String user,
String type,
String category,
String categoryId)
|
void |
setNotificationsAsRead(String user,
String type,
String category,
String categoryId)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NotificationServiceImpl
public NotificationServiceImpl()
addNotification
public void addNotification(String user,
String type,
String category,
String categoryId,
String content,
String link)
- Specified by:
addNotification in interface NotificationService
setNotificationsAsRead
public void setNotificationsAsRead(String user,
String type,
String category,
String categoryId)
- Specified by:
setNotificationsAsRead in interface NotificationService
getUnreadNotificationsTotal
public int getUnreadNotificationsTotal(String user)
- Specified by:
getUnreadNotificationsTotal in interface NotificationService
getUnreadNotificationsTotal
public int getUnreadNotificationsTotal(String user,
String type,
String category,
String categoryId)
- Specified by:
getUnreadNotificationsTotal in interface NotificationService
getNumberOfNotifications
public int getNumberOfNotifications()
- Specified by:
getNumberOfNotifications in interface NotificationService
getNumberOfUnreadNotifications
public int getNumberOfUnreadNotifications()
- Specified by:
getNumberOfUnreadNotifications in interface NotificationService
cleanupNotifications
public static void cleanupNotifications()
Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.