Liferay 6.0.5

com.liferay.portlet.flags.messaging
Class FlagsRequestMessageListener

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

public class FlagsRequestMessageListener
extends Object
implements MessageListener


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)
           
 void receive(Message message)
           
 
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

receive

public void receive(Message message)
Specified by:
receive in interface MessageListener

doReceive

protected void doReceive(Message message)
                  throws Exception
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.0.5