|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krad.util.GrowlMessage
public class GrowlMessage
Contains configuration for displaying a growl message
Constructor Summary | |
---|---|
GrowlMessage()
|
Method Summary | |
---|---|
String |
getComponentCode()
A code within the namespace that identifies a component or group the growl message is associated with |
String |
getMessageKey()
Key for the growl message within the message repository |
String[] |
getMessageParameters()
One or more parameters for complete the growl message |
String |
getNamespaceCode()
Namespace code (often an application or module code) the growl message is associated with |
String |
getTheme()
Name of the growl theme to use (must be setup through the view growl property |
String |
getTitle()
Title for growl message (displays on top bar of growl) |
String |
getTitleKey()
Key for the title message within the message repository |
void |
setComponentCode(String componentCode)
Setter for the growl's associated component code |
void |
setMessageKey(String messageKey)
Setter for the growl message key |
void |
setMessageParameters(String[] messageParameters)
Setter for the message parameters array |
void |
setNamespaceCode(String namespaceCode)
Setter for the growl's associated namespace code |
void |
setTheme(String theme)
Setter for the growl theme to use |
void |
setTitle(String title)
Setter for the growl title |
void |
setTitleKey(String titleKey)
Setter for the growl title message key |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GrowlMessage()
Method Detail |
---|
public String getNamespaceCode()
Used with the component code and message key for retrieving the message text (and title text). If null, the default namespace code will be used
public void setNamespaceCode(String namespaceCode)
namespaceCode
- public String getComponentCode()
Used with the namespace and message key for retrieving the message text (and title text). If null, the default component code will be used
public void setComponentCode(String componentCode)
componentCode
- public String getTitle()
public void setTitle(String title)
title
- public String getTitleKey()
Growl title text can be externalized into a message repository (see MessageService
.
This gives the key for which the message which is used with the namespace and component to retrieve
the message text
public void setTitleKey(String titleKey)
titleKey
- public String getMessageKey()
Growl message text must be externalized into a message repository (see MessageService
.
This gives the key for which the message which is used with the namespace and component to retrieve
the message text
public void setMessageKey(String messageKey)
messageKey
- public String[] getMessageParameters()
An externally defined message can contain one or more placeholders which will get completed from runtime variables. This array of strings is used for completing the message. The message parameters are filled based on the order or parameters within the array
public void setMessageParameters(String[] messageParameters)
messageParameters
- public String getTheme()
public void setTheme(String theme)
theme
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |