com.liferay.portlet.flags.messaging
Class FlagsRequestMessageListener
java.lang.Object
com.liferay.portal.kernel.messaging.BaseMessageListener
com.liferay.portlet.flags.messaging.FlagsRequestMessageListener
- All Implemented Interfaces:
- MessageListener
public class FlagsRequestMessageListener
- extends BaseMessageListener
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FlagsRequestMessageListener
public FlagsRequestMessageListener()
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