public class CommonNotificationModule extends Object
Modifier and Type | Class and Description |
---|---|
static class |
CommonNotificationModule.NodeInfo |
Constructor and Description |
---|
CommonNotificationModule() |
Modifier and Type | Method and Description |
---|---|
static void |
sendMailSubscription(String user,
String nodeUuid,
String nodePath,
String eventType,
String comment,
Set<String> mails)
Send mail subscription message
|
static void |
sendNotification(String user,
ArrayList<CommonNotificationModule.NodeInfo> nodesInfo,
String from,
List<String> to,
String message,
boolean attachment) |
static void |
sendNotification(String user,
String nodeUuid,
String nodePath,
String from,
List<String> to,
String message,
boolean attachment)
Clean preview cache for this document
|
static void |
sendProposedSubscription(String user,
ArrayList<CommonNotificationModule.NodeInfo> nodesInfo,
String from,
List<String> to,
String comment)
send mail Proposed Subscription
|
static void |
sendTwitterSubscription(String user,
String nodePath,
String eventType,
String comment,
Set<String> users)
Send twitter subscription message
|
public static void sendNotification(String user, String nodeUuid, String nodePath, String from, List<String> to, String message, boolean attachment) throws freemarker.template.TemplateException, javax.mail.MessagingException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, IOException
freemarker.template.TemplateException
javax.mail.MessagingException
PathNotFoundException
AccessDeniedException
RepositoryException
DatabaseException
IOException
public static void sendNotification(String user, ArrayList<CommonNotificationModule.NodeInfo> nodesInfo, String from, List<String> to, String message, boolean attachment) throws freemarker.template.TemplateException, javax.mail.MessagingException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, IOException
freemarker.template.TemplateException
javax.mail.MessagingException
PathNotFoundException
AccessDeniedException
RepositoryException
DatabaseException
IOException
public static void sendProposedSubscription(String user, ArrayList<CommonNotificationModule.NodeInfo> nodesInfo, String from, List<String> to, String comment) throws freemarker.template.TemplateException, javax.mail.MessagingException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, IOException
freemarker.template.TemplateException
javax.mail.MessagingException
PathNotFoundException
AccessDeniedException
RepositoryException
DatabaseException
IOException
public static void sendMailSubscription(String user, String nodeUuid, String nodePath, String eventType, String comment, Set<String> mails) throws freemarker.template.TemplateException, javax.mail.MessagingException, IOException
freemarker.template.TemplateException
javax.mail.MessagingException
IOException
public static void sendTwitterSubscription(String user, String nodePath, String eventType, String comment, Set<String> users) throws freemarker.template.TemplateException, twitter4j.TwitterException, DatabaseException, org.apache.commons.httpclient.HttpException, IOException
freemarker.template.TemplateException
twitter4j.TwitterException
DatabaseException
org.apache.commons.httpclient.HttpException
IOException
Copyright © 2017 Open Knowledge Management System S.L.. All rights reserved.