|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.silverpeas.publication.dateReminder.PublicationDateReminderProcess
@Service public class PublicationDateReminderProcess
An implementation of DateReminderProcess
.
Process the date reminder that reference a publication in Silverpeas, such publication being
represented by a
PublicationDetail
instance.
DateReminderProcessRegistration
,
PublicationDateReminderUserNotification
Constructor Summary | |
---|---|
PublicationDateReminderProcess()
|
Method Summary | |
---|---|
protected NotificationSender |
getNotificationSender(String componentInstanceId)
Constructs a NotificationSender from an instanceId. |
protected void |
notifyUsers(NotificationMetaData notification)
Notifies the specified users, identified by their identifier, with the specified notification information. |
EntityReference |
perform(PersistentResourceDateReminder resourceDateReminder)
Perform the date reminder |
void |
register()
|
void |
unregister()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PublicationDateReminderProcess()
Method Detail |
---|
@PostConstruct public void register()
@PreDestroy public void unregister()
protected NotificationSender getNotificationSender(String componentInstanceId)
componentInstanceId
- the instanceId of the component.
protected void notifyUsers(NotificationMetaData notification) throws NotificationManagerException
notification
- the notification information.
NotificationManagerException
- if the notification of the recipients fail.public EntityReference perform(PersistentResourceDateReminder resourceDateReminder) throws NotificationManagerException
DateReminderProcess
perform
in interface DateReminderProcess
NotificationManagerException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |