org.osivia.portal.api.notifications
Interface INotificationsService


public interface INotificationsService

Notifications service interface.

Author:
Cédric Krommenhoek

Field Summary
static java.lang.String MBEAN_NAME
          MBean name.
 
Method Summary
 void addNotifications(PortalControllerContext portalControllerContext, Notifications notifications)
          Add notifications.
 void addSimpleNotification(PortalControllerContext portalControllerContext, java.lang.String message, NotificationsType type)
          Add a simple notification.
 void addSimpleNotification(PortalControllerContext portalControllerContext, java.lang.String message, NotificationsType type, java.lang.Long errorCode)
          Add a simple notification.
 java.util.List<Notifications> getNotificationsList(PortalControllerContext portalControllerContext)
          Get notifications list.
 java.util.List<Notifications> readNotificationsList(PortalControllerContext portalControllerContext)
          Read and remove notifications.
 void setNotificationsList(PortalControllerContext portalControllerContext, java.util.List<Notifications> notificationsList)
          Set notifications list.
 

Field Detail

MBEAN_NAME

static final java.lang.String MBEAN_NAME
MBean name.

See Also:
Constant Field Values
Method Detail

addSimpleNotification

void addSimpleNotification(PortalControllerContext portalControllerContext,
                           java.lang.String message,
                           NotificationsType type)
Add a simple notification.

Parameters:
portalControllerContext - portal controller context
message - notification message
type - notification type

addSimpleNotification

void addSimpleNotification(PortalControllerContext portalControllerContext,
                           java.lang.String message,
                           NotificationsType type,
                           java.lang.Long errorCode)
Add a simple notification.

Parameters:
portalControllerContext - portal controller context
message - notification message
type - notification type
errorCode - errorCode

addNotifications

void addNotifications(PortalControllerContext portalControllerContext,
                      Notifications notifications)
Add notifications.

Parameters:
portalControllerContext - portal controller context
notifications - notifications

getNotificationsList

java.util.List<Notifications> getNotificationsList(PortalControllerContext portalControllerContext)
Get notifications list.

Parameters:
portalControllerContext - portal controller context
Returns:
notifications list

setNotificationsList

void setNotificationsList(PortalControllerContext portalControllerContext,
                          java.util.List<Notifications> notificationsList)
Set notifications list.

Parameters:
portalControllerContext - portal controller context
notificationsList - notifications list

readNotificationsList

java.util.List<Notifications> readNotificationsList(PortalControllerContext portalControllerContext)
Read and remove notifications.

Parameters:
portalControllerContext - portal controller context
Returns:
notifications list


Copyright © 2014. All Rights Reserved.