Liferay 7.0-ga1 portal-impl

com.liferay.portlet.messageboards.util
Class MBSubscriptionSender

java.lang.Object
  extended by com.liferay.portal.kernel.util.SubscriptionSender
      extended by com.liferay.portal.kernel.util.GroupSubscriptionCheckSubscriptionSender
          extended by com.liferay.portlet.messageboards.util.MBSubscriptionSender
All Implemented Interfaces:
Serializable

public class MBSubscriptionSender
extends com.liferay.portal.kernel.util.GroupSubscriptionCheckSubscriptionSender

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.liferay.portal.kernel.util.SubscriptionSender
body, bulk, companyId, creatorUserId, currentUserId, fileAttachments, fromAddress, fromName, groupId, htmlFormat, inReplyTo, localizedBodyMap, localizedPortletTitleMap, localizedSubjectMap, mailId, portletId, replyToAddress, scopeGroupId, serviceContext, smtpAccount, subject, uniqueMailId
 
Constructor Summary
MBSubscriptionSender(String resourceName)
           
 
Method Summary
 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)
           
 
Methods inherited from class com.liferay.portal.kernel.util.GroupSubscriptionCheckSubscriptionSender
hasSubscribePermission
 
Methods inherited from class com.liferay.portal.kernel.util.SubscriptionSender
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, setLocalizedPortletTitleMap, setLocalizedSubjectMap, setMailId, setNotificationClassNameId, setNotificationType, setPortletId, setReplyToAddress, setScopeGroupId, setServiceContext, setSMTPAccount, setSubject, setUniqueMailId, setUserId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MBSubscriptionSender

public MBSubscriptionSender(String resourceName)
Method Detail

addMailingListSubscriber

public void addMailingListSubscriber(long groupId,
                                     long categoryId)

setAnonymous

public void setAnonymous(boolean anonymous)

setFullName

public void setFullName(String fullName)

getMailingListSubject

protected String getMailingListSubject(String subject,
                                       String mailId)

populateNotificationEventJSONObject

protected void populateNotificationEventJSONObject(com.liferay.portal.kernel.json.JSONObject notificationEventJSONObject)
Overrides:
populateNotificationEventJSONObject in class com.liferay.portal.kernel.util.SubscriptionSender

sendNotification

protected void sendNotification(com.liferay.portal.kernel.model.User user)
                         throws Exception
Overrides:
sendNotification in class com.liferay.portal.kernel.util.SubscriptionSender
Throws:
Exception

Liferay 7.0-ga1 portal-impl