Class GrowlMessage
- All Implemented Interfaces:
Serializable
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionA code within the namespace that identifies a component or group the growl message is associated withKey for the growl message within the message repositoryString[]One or more parameters for complete the growl messageNamespace code (often an application or module code) the growl message is associated withgetTheme()Name of the growl theme to use (must be setup through the view growl propertygetTitle()Title for growl message (displays on top bar of growl)Key for the title message within the message repositoryvoidsetComponentCode(String componentCode) Setter for the growl's associated component codevoidsetMessageKey(String messageKey) Setter for the growl message keyvoidsetMessageParameters(String[] messageParameters) Setter for the message parameters arrayvoidsetNamespaceCode(String namespaceCode) Setter for the growl's associated namespace codevoidSetter for the growl theme to usevoidSetter for the growl titlevoidsetTitleKey(String titleKey) Setter for the growl title message key
-
Constructor Details
-
GrowlMessage
public GrowlMessage()
-
-
Method Details
-
getNamespaceCode
Namespace code (often an application or module code) the growl message is associated withUsed with the component code and message key for retrieving the message text (and title text). If null, the default namespace code will be used
- Returns:
- String error namespace code
-
setNamespaceCode
Setter for the growl's associated namespace code- Parameters:
namespaceCode-
-
getComponentCode
A code within the namespace that identifies a component or group the growl message is associated withUsed with the namespace and message key for retrieving the message text (and title text). If null, the default component code will be used
- Returns:
- String component code
-
setComponentCode
Setter for the growl's associated component code- Parameters:
componentCode-
-
getTitle
Title for growl message (displays on top bar of growl)- Returns:
- String title text
-
setTitle
Setter for the growl title- Parameters:
title-
-
getTitleKey
Key for the title message within the message repositoryGrowl title text can be externalized into a message repository (see
org.kuali.rice.krad.messages.MessageService. This gives the key for which the message which is used with the namespace and component to retrieve the message text- Returns:
- String message key
-
setTitleKey
Setter for the growl title message key- Parameters:
titleKey-
-
getMessageKey
Key for the growl message within the message repositoryGrowl message text must be externalized into a message repository (see
org.kuali.rice.krad.messages.MessageService. This gives the key for which the message which is used with the namespace and component to retrieve the message text- Returns:
- String message key
-
setMessageKey
Setter for the growl message key- Parameters:
messageKey-
-
getMessageParameters
One or more parameters for complete the growl messageAn 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
- Returns:
- String[] array of string values to fill message parameters
-
setMessageParameters
Setter for the message parameters array- Parameters:
messageParameters-
-
getTheme
Name of the growl theme to use (must be setup through the view growl property- Returns:
- String name of growl theme
-
setTheme
Setter for the growl theme to use- Parameters:
theme-
-