Liferay 7.0-ce-b4

com.liferay.portal.kernel.notifications
Class BaseModelUserNotificationHandler

java.lang.Object
  extended by com.liferay.portal.kernel.notifications.BaseUserNotificationHandler
      extended by com.liferay.portal.kernel.notifications.BaseModelUserNotificationHandler
All Implemented Interfaces:
UserNotificationHandler

@ProviderType
public abstract class BaseModelUserNotificationHandler
extends BaseUserNotificationHandler


Constructor Summary
BaseModelUserNotificationHandler()
           
 
Method Summary
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 getLink(UserNotificationEvent userNotificationEvent, ServiceContext serviceContext)
           
protected  String getTitle(JSONObject jsonObject, AssetRenderer<?> assetRenderer, ServiceContext serviceContext)
           
 
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
 

Constructor Detail

BaseModelUserNotificationHandler

public BaseModelUserNotificationHandler()
Method Detail

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

getBodyContent

protected String getBodyContent(JSONObject jsonObject)

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)

Liferay 7.0-ce-b4