public class UserNotificationHandlerImpl
extends Object
implements com.liferay.portal.kernel.notifications.UserNotificationHandler
Constructor and Description |
---|
UserNotificationHandlerImpl(com.liferay.portal.kernel.notifications.UserNotificationHandler userNotificationHandler) |
Modifier and Type | Method and Description |
---|---|
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() |
public UserNotificationHandlerImpl(com.liferay.portal.kernel.notifications.UserNotificationHandler userNotificationHandler)
public String getPortletId()
getPortletId
in interface com.liferay.portal.kernel.notifications.UserNotificationHandler
public String getSelector()
getSelector
in interface com.liferay.portal.kernel.notifications.UserNotificationHandler
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
interpret
in interface com.liferay.portal.kernel.notifications.UserNotificationHandler
com.liferay.portal.kernel.exception.PortalException
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
isDeliver
in interface com.liferay.portal.kernel.notifications.UserNotificationHandler
com.liferay.portal.kernel.exception.PortalException
public boolean isOpenDialog()
isOpenDialog
in interface com.liferay.portal.kernel.notifications.UserNotificationHandler