| java.lang.Object org.kuali.module.labor.util.MessageBuilder
MessageBuilder | public class MessageBuilder (Code) | | This class provides a set of utilities that can be used to build error message
|
addMessageIntoList | public static void addMessageIntoList(List<Message> messageList, Message message)(Code) | | add the given message into the given message list
Parameters: messageList - the given message list Parameters: message - the given message |
buildErrorMessage | public static Message buildErrorMessage(String errorMessageKey, int errorType)(Code) | | Build the error message with the message body and error type
|
buildErrorMessage | public static Message buildErrorMessage(String errorMessageKey, String invalidValue, int errorType)(Code) | | Build the error message with the message body, invalid value and error type
|
formatErrorMessageBody | public static String formatErrorMessageBody(String errorMessageBody, String invalidValue)(Code) | | Format the error message body based on the given error message and invalid value
|
|
|