|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface AnnouncementsPollerControl
Copyright (c) 2005-2006 by BEA Systems, Inc. All Rights Reserved.
| Method Summary | |
|---|---|
long |
cleanExpiredAnnouncements()
Cleans up any announcements that have been expired. |
long |
notifyPendingAnnouncements()
Searches all application related announcements for all communities and sends notifications for those announcements. |
boolean |
sendNotification(com.bea.apps.groupspace.announcements.Announcement ann,
boolean updateAnnouncement)
Sends an announcement notification based on the provided announcement. |
void |
sendNotification(com.bea.apps.groupspace.announcements.Announcement ann,
String username)
Sends an announcement notification based on the provided announcement to the provided user only. |
| Method Detail |
|---|
This method should only be called from the announcement poller, using the timer services built within the application container.
Exception
Exception
boolean sendNotification(com.bea.apps.groupspace.announcements.Announcement ann,
boolean updateAnnouncement)
If this criteria is not satisfied, then a notification will not be sent.
ann - The announcement which to send the notification on.updateAnnouncement - Indicates whether to update the notification date
and timestamp property on the announcement. If false, the caller is responsible
for doing so (if applicable).
void sendNotification(com.bea.apps.groupspace.announcements.Announcement ann,
String username)
ann - The announcement to send the notification onusername - The wls username of the current user (cannot be null).
|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||