com.liferay.portal.kernel.notifications
Class BaseModelUserNotificationHandler
java.lang.Object
com.liferay.portal.kernel.notifications.BaseUserNotificationHandler
com.liferay.portal.kernel.notifications.BaseModelUserNotificationHandler
- All Implemented Interfaces:
- UserNotificationHandler
- Direct Known Subclasses:
- BlogsUserNotificationHandler, CommentsUserNotificationHandler, DocumentLibraryUserNotificationHandler, MessageBoardsUserNotificationHandler
@ProviderType
public abstract class BaseModelUserNotificationHandler
- extends BaseUserNotificationHandler
| Methods inherited from class com.liferay.portal.kernel.notifications.BaseUserNotificationHandler |
doInterpret, getBodyTemplate, getPortletId, getSelector, interpret, isActionable, isDeliver, isOpenDialog, setActionable, setOpenDialog, setPortletId, setSelector |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseModelUserNotificationHandler
public BaseModelUserNotificationHandler()
getAssetRenderer
protected AssetRenderer getAssetRenderer(JSONObject jsonObject)
getAssetRenderer
protected AssetRenderer getAssetRenderer(String className,
long classPK)
getBody
protected String getBody(UserNotificationEvent userNotificationEvent,
ServiceContext serviceContext)
throws Exception
- Overrides:
getBody in class BaseUserNotificationHandler
- Throws:
Exception
getLink
protected String getLink(UserNotificationEvent userNotificationEvent,
ServiceContext serviceContext)
throws Exception
- Overrides:
getLink in class BaseUserNotificationHandler
- Throws:
Exception
getTitle
protected String getTitle(JSONObject jsonObject,
AssetRenderer assetRenderer,
ServiceContext serviceContext)