public abstract class NotificationRendererBase extends Object implements NotificationRenderer, Serializable
| Modifier and Type | Field and Description |
|---|---|
static String |
APP_LINK_PREFIX |
static String |
APPLICATION_URL_PARM |
static String |
DOCHANDLER_PREFIX |
static String |
RICE_SERVER_URL |
static String |
USER_FULLNAME |
| Constructor and Description |
|---|
NotificationRendererBase() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
getDefaultReplacementParameters()
Returns the default replacement parameters for the renderer.
|
KcPersonService |
getKcPersonService() |
protected String |
getSafeMessage(String key,
String message) |
String |
render(String text)
Renders the message in
text using default replacement parameters. |
protected String |
render(String text,
Map<String,String> replacementParameters)
Renders the
text based on the given default parameters. |
void |
setKcPersonService(KcPersonService kcPersonService) |
public static final String USER_FULLNAME
public static final String DOCHANDLER_PREFIX
public static final String RICE_SERVER_URL
public static final String APP_LINK_PREFIX
public static final String APPLICATION_URL_PARM
public String render(String text)
text using default replacement parameters.render in interface NotificationRenderertext - the message to be renderedNotificationRenderer.render(java.lang.String)protected String render(String text, Map<String,String> replacementParameters)
text based on the given default parameters.text - the message to be renderedreplacementParameters - the parameters to replace in the messagepublic Map<String,String> getDefaultReplacementParameters()
getDefaultReplacementParameters in interface NotificationRendererorg.kuali.kra.common.notification.NotificationRenderer#getReplacementParameters()public KcPersonService getKcPersonService()
public void setKcPersonService(KcPersonService kcPersonService)
Copyright © 2013 The Kuali Foundation. All Rights Reserved.