Class CurrentUserNotificationContext
- java.lang.Object
-
- org.silverpeas.core.notification.user.client.CurrentUserNotificationContext
-
public class CurrentUserNotificationContext extends Object
- Author:
- Yohann Chastagnier
-
-
Constructor Summary
Constructors Constructor Description CurrentUserNotificationContext()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkManualUserNotification(NotificationMetaData notificationMetaData)
Performs some control around a manual user notification by considering that the sender is the current user.static CurrentUserNotificationContext
getCurrentUserNotificationContext()
Gets theCurrentUserNotificationContext
instance associated to the current request.
-
-
-
Method Detail
-
getCurrentUserNotificationContext
public static CurrentUserNotificationContext getCurrentUserNotificationContext()
Gets theCurrentUserNotificationContext
instance associated to the current request.- Returns:
- the
CurrentUserNotificationContext
instance associated to the current request.
-
checkManualUserNotification
public void checkManualUserNotification(NotificationMetaData notificationMetaData) throws NotificationException
Performs some control around a manual user notification by considering that the sender is the current user.- Parameters:
notificationMetaData
-- Throws:
NotificationException
-
-