|
||||||||||
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<Ticket>
org.silverpeas.sharing.notification.FileSharingUserNotification
public class FileSharingUserNotification
Constructor Summary | |
---|---|
FileSharingUserNotification(Ticket resource,
SharingNotificationVO fileSharingParam)
|
Method Summary | |
---|---|
protected NotifAction |
getAction()
Gets the type of action on a resource |
protected String |
getBundleSubjectKey()
|
protected String |
getComponentInstanceId()
Gets the component instance id |
protected String |
getContributionAccessLinkLabelBundleKey()
Gets the string bundle key for contribution access link |
protected Collection<String> |
getExternalAddressesToNotify()
|
protected String |
getFileName()
Gets the fileName of StringTemplate |
protected String |
getMultilangPropertyFile()
Gets the resource locator path |
protected String |
getResourceURL(Ticket 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 boolean |
isSendImmediatly()
Forces the sending immediatly if true |
static void |
notify(Ticket resource,
SharingNotificationVO fileSharingParam)
Builds and sends a file sharing notification. |
protected void |
performNotificationResource(String language,
Ticket resource,
NotificationResourceData notificationResourceData)
Builds the notification resource data container from a given language. |
protected void |
performTemplateData(String language,
Ticket 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, initialize, initializeNotificationResourceData, performBuild, setResource |
Methods inherited from class com.silverpeas.notification.builder.AbstractUserNotificationBuilder |
---|
build, getBundle, getBundle, getContent, 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 FileSharingUserNotification(Ticket resource, SharingNotificationVO fileSharingParam)
resource
- fileSharingParam
- Method Detail |
---|
protected String getBundleSubjectKey()
getBundleSubjectKey
in class AbstractTemplateUserNotificationBuilder<Ticket>
protected void performTemplateData(String language, Ticket resource, SilverpeasTemplate template)
AbstractTemplateUserNotificationBuilder
performTemplateData
in class AbstractTemplateUserNotificationBuilder<Ticket>
protected void performNotificationResource(String language, Ticket resource, NotificationResourceData notificationResourceData)
AbstractTemplateUserNotificationBuilder
performNotificationResource
in class AbstractTemplateUserNotificationBuilder<Ticket>
protected String getTemplatePath()
AbstractTemplateUserNotificationBuilder
getTemplatePath
in class AbstractTemplateUserNotificationBuilder<Ticket>
protected String getMultilangPropertyFile()
AbstractUserNotificationBuilder
getMultilangPropertyFile
in class AbstractUserNotificationBuilder
protected String getFileName()
AbstractTemplateUserNotificationBuilder
getFileName
in class AbstractTemplateUserNotificationBuilder<Ticket>
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 Collection<String> getUserIdsToNotify()
getUserIdsToNotify
in class AbstractUserNotificationBuilder
protected Collection<String> getExternalAddressesToNotify()
getExternalAddressesToNotify
in class AbstractUserNotificationBuilder
public static void notify(Ticket resource, SharingNotificationVO fileSharingParam)
resource
- the ticket file sharing resourceprotected boolean isSendImmediatly()
AbstractUserNotificationBuilder
isSendImmediatly
in class AbstractResourceUserNotificationBuilder<Ticket>
protected String getResourceURL(Ticket resource)
AbstractResourceUserNotificationBuilder
getResourceURL
in class AbstractResourceUserNotificationBuilder<Ticket>
protected String getContributionAccessLinkLabelBundleKey()
AbstractTemplateUserNotificationBuilder
getContributionAccessLinkLabelBundleKey
in class AbstractTemplateUserNotificationBuilder<Ticket>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |