|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.silverpeas.notification.builder.AbstractUserNotificationBuilder
com.silverpeas.notification.builder.AbstractResourceUserNotificationBuilder<T>
com.silverpeas.notification.builder.AbstractTemplateUserNotificationBuilder<JournalHeader>
com.stratelia.webactiv.agenda.notification.AgendaUserNotification
public class AgendaUserNotification
User notification from "My Diary" application.
Constructor Summary | |
---|---|
AgendaUserNotification(NotifAction action,
UserDetail sender,
JournalHeader resource)
Notification from delegator |
|
AgendaUserNotification(UserDetail sender,
JournalHeader resource,
String attend)
Notification from attendee |
Method Summary | |
---|---|
protected NotifAction |
getAction()
Gets the type of action on a resource |
protected String |
getBundleSubjectKey()
|
protected SilverpeasCalendar |
getCalendarBm()
|
protected String |
getComponentInstanceId()
Gets the component instance id |
protected String |
getContributionAccessLinkLabelBundleKey()
Gets the string bundle key for contribution access link |
protected String |
getFileName()
Gets the fileName of StringTemplate |
protected String |
getMultilangPropertyFile()
Gets the resource locator path |
protected String |
getResourceURL(JournalHeader resource)
Gets the URL of the resource |
protected String |
getSender()
Gets the sender (the user id usually) |
protected String |
getTemplatePath()
Gets the string template path |
protected Collection<String> |
getUserIdsToNotify()
|
protected void |
initialize()
Performs common initializations from a given resource |
protected boolean |
isSendImmediatly()
Forces the sending immediatly if true |
protected void |
performNotificationResource(String language,
JournalHeader resource,
NotificationResourceData notificationResourceData)
Builds the notification resource data container from a given language. |
protected void |
performTemplateData(String language,
JournalHeader resource,
SilverpeasTemplate template)
Performing notification data from a given language |
Methods inherited from class com.silverpeas.notification.builder.AbstractTemplateUserNotificationBuilder |
---|
createNotification, createTemplate, getTitle, perform, performBuild, performNotificationResource, performNotificationResource |
Methods inherited from class com.silverpeas.notification.builder.AbstractResourceUserNotificationBuilder |
---|
getResource, initializeNotificationResourceData, performBuild, setResource |
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 |
Constructor Detail |
---|
public AgendaUserNotification(NotifAction action, UserDetail sender, JournalHeader resource)
action
- sender
- resource
- public AgendaUserNotification(UserDetail sender, JournalHeader resource, String attend)
sender
- resource
- attend
- Method Detail |
---|
protected void initialize()
AbstractResourceUserNotificationBuilder
initialize
in class AbstractResourceUserNotificationBuilder<JournalHeader>
protected String getBundleSubjectKey()
getBundleSubjectKey
in class AbstractTemplateUserNotificationBuilder<JournalHeader>
protected String getFileName()
AbstractTemplateUserNotificationBuilder
getFileName
in class AbstractTemplateUserNotificationBuilder<JournalHeader>
protected Collection<String> getUserIdsToNotify()
getUserIdsToNotify
in class AbstractUserNotificationBuilder
protected void performTemplateData(String language, JournalHeader resource, SilverpeasTemplate template)
AbstractTemplateUserNotificationBuilder
performTemplateData
in class AbstractTemplateUserNotificationBuilder<JournalHeader>
protected void performNotificationResource(String language, JournalHeader resource, NotificationResourceData notificationResourceData)
AbstractTemplateUserNotificationBuilder
performNotificationResource
in class AbstractTemplateUserNotificationBuilder<JournalHeader>
protected String getResourceURL(JournalHeader resource)
AbstractResourceUserNotificationBuilder
getResourceURL
in class AbstractResourceUserNotificationBuilder<JournalHeader>
protected String getTemplatePath()
AbstractTemplateUserNotificationBuilder
getTemplatePath
in class AbstractTemplateUserNotificationBuilder<JournalHeader>
protected NotifAction getAction()
AbstractUserNotificationBuilder
getAction
in class AbstractUserNotificationBuilder
protected String getComponentInstanceId()
AbstractUserNotificationBuilder
getComponentInstanceId
in class AbstractUserNotificationBuilder
protected String getSender()
AbstractUserNotificationBuilder
getSender
in class AbstractUserNotificationBuilder
protected String getMultilangPropertyFile()
AbstractUserNotificationBuilder
getMultilangPropertyFile
in class AbstractUserNotificationBuilder
protected boolean isSendImmediatly()
AbstractUserNotificationBuilder
isSendImmediatly
in class AbstractResourceUserNotificationBuilder<JournalHeader>
protected SilverpeasCalendar getCalendarBm()
protected String getContributionAccessLinkLabelBundleKey()
AbstractTemplateUserNotificationBuilder
getContributionAccessLinkLabelBundleKey
in class AbstractTemplateUserNotificationBuilder<JournalHeader>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |