com.stratelia.webactiv.agenda.notification
Class AgendaUserNotification
java.lang.Object
com.silverpeas.notification.builder.AbstractUserNotificationBuilder
com.silverpeas.notification.builder.AbstractResourceUserNotificationBuilder<T>
com.silverpeas.notification.builder.AbstractTemplateUserNotificationBuilder<com.stratelia.webactiv.calendar.model.JournalHeader>
com.stratelia.webactiv.agenda.notification.AgendaUserNotification
- All Implemented Interfaces:
- UserNotificationBuilder
public class AgendaUserNotification
- extends AbstractTemplateUserNotificationBuilder<com.stratelia.webactiv.calendar.model.JournalHeader>
User notification from "My Diary" application.
- Author:
- Yohann Chastagnier
| Methods inherited from class com.silverpeas.notification.builder.AbstractUserNotificationBuilder |
build, getBundle, getBundle, getContent, getExternalAddressesToNotify, getGroupIdsToNotify, getMessageType, getNotificationMetaData, getUserIdsToExcludeFromNotifying, performUsersToBeNotified, stop, stopWhenNoUserToNotify |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AgendaUserNotification
public AgendaUserNotification(NotifAction action,
UserDetail sender,
com.stratelia.webactiv.calendar.model.JournalHeader resource)
- Notification from delegator
- Parameters:
action - sender - resource -
AgendaUserNotification
public AgendaUserNotification(UserDetail sender,
com.stratelia.webactiv.calendar.model.JournalHeader resource,
String attend)
- Notification from attendee
- Parameters:
sender - resource - attend -
initialize
protected void initialize()
- Overrides:
initialize in class AbstractResourceUserNotificationBuilder<com.stratelia.webactiv.calendar.model.JournalHeader>
getBundleSubjectKey
protected String getBundleSubjectKey()
- Specified by:
getBundleSubjectKey in class AbstractTemplateUserNotificationBuilder<com.stratelia.webactiv.calendar.model.JournalHeader>
getFileName
protected String getFileName()
- Overrides:
getFileName in class AbstractTemplateUserNotificationBuilder<com.stratelia.webactiv.calendar.model.JournalHeader>
getUserIdsToNotify
protected Collection<String> getUserIdsToNotify()
- Specified by:
getUserIdsToNotify in class AbstractUserNotificationBuilder
performTemplateData
protected void performTemplateData(String language,
com.stratelia.webactiv.calendar.model.JournalHeader resource,
SilverpeasTemplate template)
- Specified by:
performTemplateData in class AbstractTemplateUserNotificationBuilder<com.stratelia.webactiv.calendar.model.JournalHeader>
performNotificationResource
protected void performNotificationResource(String language,
com.stratelia.webactiv.calendar.model.JournalHeader resource,
NotificationResourceData notificationResourceData)
- Specified by:
performNotificationResource in class AbstractTemplateUserNotificationBuilder<com.stratelia.webactiv.calendar.model.JournalHeader>
getResourceURL
protected String getResourceURL(com.stratelia.webactiv.calendar.model.JournalHeader resource)
- Overrides:
getResourceURL in class AbstractResourceUserNotificationBuilder<com.stratelia.webactiv.calendar.model.JournalHeader>
getTemplatePath
protected String getTemplatePath()
- Specified by:
getTemplatePath in class AbstractTemplateUserNotificationBuilder<com.stratelia.webactiv.calendar.model.JournalHeader>
getAction
protected NotifAction getAction()
- Specified by:
getAction in class AbstractUserNotificationBuilder
getComponentInstanceId
protected String getComponentInstanceId()
- Specified by:
getComponentInstanceId in class AbstractUserNotificationBuilder
getSender
protected String getSender()
- Specified by:
getSender in class AbstractUserNotificationBuilder
getMultilangPropertyFile
protected String getMultilangPropertyFile()
- Overrides:
getMultilangPropertyFile in class AbstractUserNotificationBuilder
isSendImmediatly
protected boolean isSendImmediatly()
- Overrides:
isSendImmediatly in class AbstractResourceUserNotificationBuilder<com.stratelia.webactiv.calendar.model.JournalHeader>
getCalendarBm
protected com.stratelia.webactiv.calendar.control.SilverpeasCalendar getCalendarBm()
- Returns:
- the calendarBm
getContributionAccessLinkLabelBundleKey
protected String getContributionAccessLinkLabelBundleKey()
- Overrides:
getContributionAccessLinkLabelBundleKey in class AbstractTemplateUserNotificationBuilder<com.stratelia.webactiv.calendar.model.JournalHeader>
Copyright © 2016 Silverpeas. All Rights Reserved.