public abstract class BaseUserNotificationHandler extends Object implements UserNotificationHandler
| Constructor and Description |
|---|
BaseUserNotificationHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected UserNotificationFeedEntry |
doInterpret(UserNotificationEvent userNotificationEvent,
ServiceContext serviceContext) |
protected String |
getBody(UserNotificationEvent userNotificationEvent,
ServiceContext serviceContext) |
protected String |
getBodyTemplate() |
protected String |
getLink(UserNotificationEvent userNotificationEvent,
ServiceContext serviceContext) |
String |
getPortletId() |
String |
getSelector() |
UserNotificationFeedEntry |
interpret(UserNotificationEvent userNotificationEvent,
ServiceContext serviceContext) |
protected boolean |
isActionable() |
boolean |
isDeliver(long userId,
long classNameId,
int notificationType,
int deliveryType,
ServiceContext serviceContext) |
boolean |
isOpenDialog() |
protected void |
setActionable(boolean actionable) |
protected void |
setOpenDialog(boolean openDialog) |
protected void |
setPortletId(String portletId) |
protected void |
setSelector(String selector) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisApplicablepublic String getPortletId()
getPortletId in interface UserNotificationHandlerpublic String getSelector()
getSelector in interface UserNotificationHandlerpublic UserNotificationFeedEntry interpret(UserNotificationEvent userNotificationEvent, ServiceContext serviceContext) throws PortalException
interpret in interface UserNotificationHandlerPortalExceptionpublic boolean isDeliver(long userId,
long classNameId,
int notificationType,
int deliveryType,
ServiceContext serviceContext)
throws PortalException
isDeliver in interface UserNotificationHandlerPortalExceptionpublic boolean isOpenDialog()
isOpenDialog in interface UserNotificationHandlerprotected UserNotificationFeedEntry doInterpret(UserNotificationEvent userNotificationEvent, ServiceContext serviceContext) throws Exception
Exceptionprotected String getBody(UserNotificationEvent userNotificationEvent, ServiceContext serviceContext) throws Exception
Exceptionprotected String getBodyTemplate()
throws Exception
Exceptionprotected String getLink(UserNotificationEvent userNotificationEvent, ServiceContext serviceContext) throws Exception
Exceptionprotected boolean isActionable()
protected void setActionable(boolean actionable)
protected void setOpenDialog(boolean openDialog)
protected void setPortletId(String portletId)
protected void setSelector(String selector)