public class MockMessageService extends Object implements MessageService
DEFAULT_COMPONENT_CODE, DEFAULT_NAMESPACE_CODE
Constructor and Description |
---|
MockMessageService() |
Modifier and Type | Method and Description |
---|---|
Collection<Message> |
getAllMessagesForComponent(String namespace,
String component) |
Collection<Message> |
getAllMessagesForComponent(String namespace,
String component,
String locale) |
Message |
getMessage(String namespace,
String component,
String key) |
Message |
getMessage(String namespace,
String component,
String key,
String locale) |
String |
getMessageText(String key) |
String |
getMessageText(String key,
String locale) |
String |
getMessageText(String namespace,
String component,
String key) |
String |
getMessageText(String namespace,
String component,
String key,
String locale) |
public MockMessageService()
public Message getMessage(String namespace, String component, String key)
getMessage
in interface MessageService
MessageService.getMessage(java.lang.String,
java.lang.String, java.lang.String)
public Message getMessage(String namespace, String component, String key, String locale)
getMessage
in interface MessageService
MessageService.getMessage(java.lang.String,
java.lang.String, java.lang.String, java.lang.String)
public String getMessageText(String namespace, String component, String key)
getMessageText
in interface MessageService
MessageService.getMessageText(java.lang.String,
java.lang.String, java.lang.String)
public String getMessageText(String namespace, String component, String key, String locale)
getMessageText
in interface MessageService
MessageService.getMessageText(java.lang.String,
java.lang.String, java.lang.String, java.lang.String)
public String getMessageText(String key)
getMessageText
in interface MessageService
MessageService.getMessageText(java.lang.String)
public String getMessageText(String key, String locale)
getMessageText
in interface MessageService
MessageService.getMessageText(java.lang.String,
java.lang.String)
public Collection<Message> getAllMessagesForComponent(String namespace, String component)
getAllMessagesForComponent
in interface MessageService
MessageService.getAllMessagesForComponent(java.lang.String,
java.lang.String)
public Collection<Message> getAllMessagesForComponent(String namespace, String component, String locale)
getAllMessagesForComponent
in interface MessageService
MessageService.getAllMessagesForComponent(java.lang.String,
java.lang.String, java.lang.String)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.