@ProviderType public abstract class BaseModelUserNotificationHandler extends BaseUserNotificationHandler
Constructor and Description |
---|
BaseModelUserNotificationHandler() |
Modifier and Type | Method and Description |
---|---|
protected AssetRenderer<?> |
getAssetRenderer(JSONObject jsonObject) |
protected AssetRenderer<?> |
getAssetRenderer(String className,
long classPK) |
protected String |
getBody(UserNotificationEvent userNotificationEvent,
ServiceContext serviceContext) |
protected String |
getBodyContent(JSONObject jsonObject) |
protected String |
getFormattedMessage(JSONObject jsonObject,
ServiceContext serviceContext,
String message,
String typeName) |
protected String |
getLink(UserNotificationEvent userNotificationEvent,
ServiceContext serviceContext) |
protected String |
getTitle(JSONObject jsonObject,
AssetRenderer<?> assetRenderer,
ServiceContext serviceContext) |
doInterpret, getBodyTemplate, getPortletId, getSelector, interpret, isActionable, isDeliver, isOpenDialog, setActionable, setOpenDialog, setPortletId, setSelector
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isApplicable
protected AssetRenderer<?> getAssetRenderer(JSONObject jsonObject)
protected AssetRenderer<?> getAssetRenderer(String className, long classPK)
protected String getBody(UserNotificationEvent userNotificationEvent, ServiceContext serviceContext) throws Exception
getBody
in class BaseUserNotificationHandler
Exception
protected String getBodyContent(JSONObject jsonObject)
protected String getFormattedMessage(JSONObject jsonObject, ServiceContext serviceContext, String message, String typeName)
protected String getLink(UserNotificationEvent userNotificationEvent, ServiceContext serviceContext) throws Exception
getLink
in class BaseUserNotificationHandler
Exception
protected String getTitle(JSONObject jsonObject, AssetRenderer<?> assetRenderer, ServiceContext serviceContext)