com.liferay.portlet.messageboards.util
Class MBSubscriptionSender

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

public class MBSubscriptionSender
extends com.liferay.portal.util.SubscriptionSender

Author:
Brian Wing Shun Chan, Thiago Moreira
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.liferay.portal.util.SubscriptionSender
body, bulk, companyId, fileAttachments, fromAddress, fromName, groupId, htmlFormat, inReplyTo, localizedBodyMap, localizedSubjectMap, mailId, portletId, replyToAddress, scopeGroupId, serviceContext, smtpAccount, subject, userId
 
Constructor Summary
MBSubscriptionSender()
           
 
Method Summary
 void addMailingListSubscriber(long groupId, long categoryId)
           
protected  java.lang.String getMailingListSubject(java.lang.String subject, java.lang.String mailId)
           
 
Methods inherited from class com.liferay.portal.util.SubscriptionSender
addFileAttachment, addFileAttachment, addPersistedSubscribers, addRuntimeSubscribers, deleteSubscription, flushNotifications, flushNotificationsAsync, getContextAttribute, getMailId, getPortalURL, hasPermission, initialize, notifySubscriber, processMailMessage, replaceContent, sendEmail, setBody, setBulk, setCompanyId, setContextAttribute, setContextAttribute, setContextAttributes, setContextUserPrefix, setFrom, setGroupId, setHtmlFormat, setInReplyTo, setLocalizedBodyMap, setLocalizedSubjectMap, setMailId, setPortletId, setReplyToAddress, setScopeGroupId, setServiceContext, setSMTPAccount, setSubject, setUserId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MBSubscriptionSender

public MBSubscriptionSender()
Method Detail

addMailingListSubscriber

public void addMailingListSubscriber(long groupId,
                                     long categoryId)
                              throws com.liferay.portal.kernel.exception.PortalException,
                                     com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getMailingListSubject

protected java.lang.String getMailingListSubject(java.lang.String subject,
                                                 java.lang.String mailId)