org.apache.agila.services.notification
Interface NotificationService

All Known Implementing Classes:
AbstractNotificationService, NotificationServiceImpl, NotificationServiceImpl

public interface NotificationService

Version:
$Id: $
Author:
Geir Magnusson Jr.

Method Summary
 void dismissNotification(NotificationID id)
          Dismiss a notification.
 Notification getNotification(NotificationID id)
          Get notification.
 java.util.List getNotificationsForUser(UserID id)
           
 NotificationID notify(UserID userId, java.lang.String message)
          Create a notification for a designated user.
 

Method Detail

getNotificationsForUser

java.util.List getNotificationsForUser(UserID id)

dismissNotification

void dismissNotification(NotificationID id)
Dismiss a notification.

Parameters:
id - the id of the notification to be dismissed

getNotification

Notification getNotification(NotificationID id)
Get notification.

Parameters:
id - the id of the notification to be retrieved

notify

NotificationID notify(UserID userId,
                      java.lang.String message)
Create a notification for a designated user.

Parameters:
userId - the user to notify
message - the notification message
Returns:
the id of the new notification


Copyright © 2004-2005 The Apache Software Foundation. All Rights Reserved.