org.benjp.services
Interface NotificationService

All Known Implementing Classes:
NotificationServiceImpl, NotificationServiceImpl

public interface NotificationService


Field Summary
static String M_NOTIFICATIONS
           
 
Method Summary
 void addNotification(String user, String type, String category, String categoryId, String content, String link)
           
 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)
           
 

Field Detail

M_NOTIFICATIONS

static final String M_NOTIFICATIONS
See Also:
Constant Field Values
Method Detail

addNotification

void addNotification(String user,
                     String type,
                     String category,
                     String categoryId,
                     String content,
                     String link)

setNotificationsAsRead

void setNotificationsAsRead(String user,
                            String type,
                            String category,
                            String categoryId)

getUnreadNotificationsTotal

int getUnreadNotificationsTotal(String user)

getUnreadNotificationsTotal

int getUnreadNotificationsTotal(String user,
                                String type,
                                String category,
                                String categoryId)

getNumberOfNotifications

int getNumberOfNotifications()

getNumberOfUnreadNotifications

int getNumberOfUnreadNotifications()


Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.