Liferay 6.2-ce-ga5

com.liferay.portlet.flags.messaging
Class FlagsRequestMessageListener

java.lang.Object
  extended by com.liferay.portal.kernel.messaging.BaseMessageListener
      extended by com.liferay.portlet.flags.messaging.FlagsRequestMessageListener
All Implemented Interfaces:
MessageListener

public class FlagsRequestMessageListener
extends BaseMessageListener


Constructor Summary
FlagsRequestMessageListener()
           
 
Method Summary
protected  void doReceive(Message message)
           
protected  List<User> getRecipients(long companyId, long groupId)
           
protected  void notify(Company company, String groupName, String reporterEmailAddress, String reporterUserName, String reportedEmailAddress, String reportedUserName, String reportedUserURL, long contentId, String contentTitle, String contentType, String contentURL, String reason, String fromName, String fromAddress, String toName, String toAddress, String subject, String body, ServiceContext serviceContext)
           
 
Methods inherited from class com.liferay.portal.kernel.messaging.BaseMessageListener
receive
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlagsRequestMessageListener

public FlagsRequestMessageListener()
Method Detail

doReceive

protected void doReceive(Message message)
                  throws Exception
Specified by:
doReceive in class BaseMessageListener
Throws:
Exception

getRecipients

protected List<User> getRecipients(long companyId,
                                   long groupId)
                            throws PortalException,
                                   SystemException
Throws:
PortalException
SystemException

notify

protected void notify(Company company,
                      String groupName,
                      String reporterEmailAddress,
                      String reporterUserName,
                      String reportedEmailAddress,
                      String reportedUserName,
                      String reportedUserURL,
                      long contentId,
                      String contentTitle,
                      String contentType,
                      String contentURL,
                      String reason,
                      String fromName,
                      String fromAddress,
                      String toName,
                      String toAddress,
                      String subject,
                      String body,
                      ServiceContext serviceContext)
               throws Exception
Throws:
Exception

Liferay 6.2-ce-ga5