org.apache.agila.impl.memory
Class NotificationServiceImpl

java.lang.Object
  extended by org.apache.agila.services.notification.AbstractNotificationService
      extended by org.apache.agila.impl.memory.NotificationServiceImpl
All Implemented Interfaces:
NotificationService

public class NotificationServiceImpl
extends AbstractNotificationService

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

Constructor Summary
NotificationServiceImpl()
           
 
Method Summary
protected  NotificationImpl createNew(UserID userID, java.lang.String msg)
          Creates a new notification
protected  NotificationImpl get(NotificationID id)
          Query the specific notification.
protected  java.util.List getForUserID(UserID id)
          Query all notifications for a given user.
protected  boolean save(Notification notification)
          Update the notification info.
 
Methods inherited from class org.apache.agila.services.notification.AbstractNotificationService
dismissNotification, getNotification, getNotificationsForUser, notify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotificationServiceImpl

public NotificationServiceImpl()
Method Detail

createNew

protected NotificationImpl createNew(UserID userID,
                                     java.lang.String msg)
Description copied from class: AbstractNotificationService
Creates a new notification

Specified by:
createNew in class AbstractNotificationService
Returns:

save

protected boolean save(Notification notification)
Description copied from class: AbstractNotificationService
Update the notification info.

Specified by:
save in class AbstractNotificationService
Returns:
true - successful update, false - failed update

get

protected NotificationImpl get(NotificationID id)
Description copied from class: AbstractNotificationService
Query the specific notification.

Specified by:
get in class AbstractNotificationService
Returns:

getForUserID

protected java.util.List getForUserID(UserID id)
Description copied from class: AbstractNotificationService
Query all notifications for a given user.

Specified by:
getForUserID in class AbstractNotificationService
Returns:


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