Liferay 7.0-ce-b7 portal-impl

com.liferay.portal.notifications
Class UserNotificationHandlerImpl

java.lang.Object
  extended by com.liferay.portal.notifications.UserNotificationHandlerImpl
All Implemented Interfaces:
com.liferay.portal.kernel.notifications.UserNotificationHandler

public class UserNotificationHandlerImpl
extends Object
implements com.liferay.portal.kernel.notifications.UserNotificationHandler


Constructor Summary
UserNotificationHandlerImpl(com.liferay.portal.kernel.notifications.UserNotificationHandler userNotificationHandler)
           
 
Method Summary
 String getPortletId()
           
 String getSelector()
           
 com.liferay.portal.kernel.notifications.UserNotificationFeedEntry interpret(com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, com.liferay.portal.kernel.service.ServiceContext serviceContext)
           
 boolean isDeliver(long userId, long classNameId, int notificationType, int deliveryType, com.liferay.portal.kernel.service.ServiceContext serviceContext)
           
 boolean isOpenDialog()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserNotificationHandlerImpl

public UserNotificationHandlerImpl(com.liferay.portal.kernel.notifications.UserNotificationHandler userNotificationHandler)
Method Detail

getPortletId

public String getPortletId()
Specified by:
getPortletId in interface com.liferay.portal.kernel.notifications.UserNotificationHandler

getSelector

public String getSelector()
Specified by:
getSelector in interface com.liferay.portal.kernel.notifications.UserNotificationHandler

interpret

public com.liferay.portal.kernel.notifications.UserNotificationFeedEntry interpret(com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent,
                                                                                   com.liferay.portal.kernel.service.ServiceContext serviceContext)
                                                                            throws com.liferay.portal.kernel.exception.PortalException
Specified by:
interpret in interface com.liferay.portal.kernel.notifications.UserNotificationHandler
Throws:
com.liferay.portal.kernel.exception.PortalException

isDeliver

public boolean isDeliver(long userId,
                         long classNameId,
                         int notificationType,
                         int deliveryType,
                         com.liferay.portal.kernel.service.ServiceContext serviceContext)
                  throws com.liferay.portal.kernel.exception.PortalException
Specified by:
isDeliver in interface com.liferay.portal.kernel.notifications.UserNotificationHandler
Throws:
com.liferay.portal.kernel.exception.PortalException

isOpenDialog

public boolean isOpenDialog()
Specified by:
isOpenDialog in interface com.liferay.portal.kernel.notifications.UserNotificationHandler

Liferay 7.0-ce-b7 portal-impl