Liferay 7.0-ce-b4

com.liferay.portlet.messageboards.util
Class MBSubscriptionSender

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

public class MBSubscriptionSender
extends GroupSubscriptionCheckSubscriptionSender

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.liferay.portal.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 sendNotification(User user)
           
 
Methods inherited from class com.liferay.portal.util.GroupSubscriptionCheckSubscriptionSender
hasSubscribePermission
 
Methods inherited from class com.liferay.portal.util.SubscriptionSender
addFileAttachment, addFileAttachment, addPersistedSubscribers, addRuntimeSubscribers, deleteSubscription, flushNotifications, flushNotificationsAsync, getContextAttribute, getCurrentUserId, getMailId, getUserId, hasPermission, hasPermission, initialize, notifyPersistedSubscriber, notifyPersistedSubscriber, notifyRuntimeSubscriber, notifySubscriber, 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)

getMailingListSubject

protected String getMailingListSubject(String subject,
                                       String mailId)

sendNotification

protected void sendNotification(User user)
                         throws Exception
Overrides:
sendNotification in class SubscriptionSender
Throws:
Exception

Liferay 7.0-ce-b4