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.UserNotificationFeedEntryinterpret(com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, com.liferay.portal.kernel.service.ServiceContext serviceContext) booleanisDeliver(long userId, long classNameId, int notificationType, int deliveryType, com.liferay.portal.kernel.service.ServiceContext serviceContext) booleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
getPortletIdin interfacecom.liferay.portal.kernel.notifications.UserNotificationHandler
-
getSelector
- Specified by:
getSelectorin 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:
interpretin 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:
isDeliverin interfacecom.liferay.portal.kernel.notifications.UserNotificationHandler- Throws:
com.liferay.portal.kernel.exception.PortalException
-
isOpenDialog
public boolean isOpenDialog()- Specified by:
isOpenDialogin interfacecom.liferay.portal.kernel.notifications.UserNotificationHandler
-