Package com.liferay.portal.notifications
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
ConstructorsConstructorDescriptionUserNotificationHandlerImpl
(com.liferay.portal.kernel.notifications.UserNotificationHandler userNotificationHandler) -
Method Summary
Modifier and TypeMethodDescriptioncom.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
- Specified by:
getPortletId
in interfacecom.liferay.portal.kernel.notifications.UserNotificationHandler
-
getSelector
- Specified by:
getSelector
in interfacecom.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 interfacecom.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 interfacecom.liferay.portal.kernel.notifications.UserNotificationHandler
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
isOpenDialog
public boolean isOpenDialog()- Specified by:
isOpenDialog
in interfacecom.liferay.portal.kernel.notifications.UserNotificationHandler
-