Interface UserNotificationHandler
- All Known Implementing Classes:
BaseModelUserNotificationHandler
,BaseUserNotificationHandler
public interface UserNotificationHandler
- Author:
- Jonathan Lee
-
Method Summary
Modifier and TypeMethodDescriptioninterpret
(UserNotificationEvent userNotificationEvent, ServiceContext serviceContext) default boolean
isApplicable
(UserNotificationEvent userNotificationEvent, ServiceContext serviceContext) boolean
isDeliver
(long userId, long classNameId, int notificationType, int deliveryType, ServiceContext serviceContext) boolean
-
Method Details
-
getPortletId
String getPortletId() -
getSelector
String getSelector() -
interpret
UserNotificationFeedEntry interpret(UserNotificationEvent userNotificationEvent, ServiceContext serviceContext) throws PortalException - Throws:
PortalException
-
isApplicable
default boolean isApplicable(UserNotificationEvent userNotificationEvent, ServiceContext serviceContext) -
isDeliver
boolean isDeliver(long userId, long classNameId, int notificationType, int deliveryType, ServiceContext serviceContext) throws PortalException - Throws:
PortalException
-
isOpenDialog
boolean isOpenDialog()
-