public class MBSubscriptionSender
extends com.liferay.portal.kernel.util.GroupSubscriptionCheckSubscriptionSender
body, bulk, companyId, creatorUserId, currentUserId, fileAttachments, fromAddress, fromName, groupId, htmlFormat, inReplyTo, localizedBodyMap, localizedPortletTitleMap, localizedSubjectMap, mailId, portletId, replyToAddress, scopeGroupId, serviceContext, smtpAccount, subject, uniqueMailId
Constructor and Description |
---|
MBSubscriptionSender(String resourceName) |
Modifier and Type | Method and Description |
---|---|
void |
addMailingListSubscriber(long groupId,
long categoryId) |
protected String |
getMailingListSubject(String subject,
String mailId) |
protected void |
populateNotificationEventJSONObject(com.liferay.portal.kernel.json.JSONObject notificationEventJSONObject) |
protected void |
sendNotification(com.liferay.portal.kernel.model.User user) |
void |
setAnonymous(boolean anonymous) |
void |
setFullName(String fullName) |
hasSubscribePermission
addFileAttachment, addFileAttachment, addPersistedSubscribers, addRuntimeSubscribers, deleteSubscription, flushNotifications, flushNotificationsAsync, getContextAttribute, getCurrentUserId, getMailId, getUserId, hasPermission, hasPermission, initialize, notifyPersistedSubscriber, notifyPersistedSubscriber, notifyRuntimeSubscriber, notifySubscriber, processMailMessage, replaceContent, replaceContent, sendEmail, sendEmailNotification, sendUserNotification, setBody, setBulk, setClassName, setClassPK, setCompanyId, setContextAttribute, setContextAttribute, setContextAttribute, setContextAttributes, setContextCreatorUserPrefix, setCreatorUserId, setCurrentUserId, setEntryTitle, setEntryURL, setFrom, setGroupId, setHtmlFormat, setInReplyTo, setLocalizedBodyMap, setLocalizedContextAttribute, setLocalizedContextAttribute, setLocalizedContextAttribute, setLocalizedPortletTitleMap, setLocalizedSubjectMap, setMailId, setNotificationClassNameId, setNotificationType, setPortletId, setReplyToAddress, setScopeGroupId, setServiceContext, setSMTPAccount, setSubject, setUniqueMailId, setUserId
public void addMailingListSubscriber(long groupId, long categoryId)
public void setAnonymous(boolean anonymous)
public void setFullName(String fullName)
protected String getMailingListSubject(String subject, String mailId)
protected void populateNotificationEventJSONObject(com.liferay.portal.kernel.json.JSONObject notificationEventJSONObject)
populateNotificationEventJSONObject
in class com.liferay.portal.kernel.util.SubscriptionSender
protected void sendNotification(com.liferay.portal.kernel.model.User user) throws Exception
sendNotification
in class com.liferay.portal.kernel.util.SubscriptionSender
Exception