Class UserNotificationHandlerImpl

Object
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
Author:
Jonathan Lee
  • Constructor Summary

    Constructors
    Constructor
    Description
    UserNotificationHandlerImpl(com.liferay.portal.kernel.notifications.UserNotificationHandler userNotificationHandler)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
    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
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.liferay.portal.kernel.notifications.UserNotificationHandler

    isApplicable
  • Constructor Details

    • UserNotificationHandlerImpl

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

    • 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