org.kuali.student.admin.messages.service.impl
Class MessageServiceImpl
java.lang.Object
org.kuali.student.admin.messages.service.impl.MessageServiceImpl
- All Implemented Interfaces:
- MessageService, InitializingBean
public class MessageServiceImpl
- extends Object
- implements MessageService, InitializingBean
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cachingEnabled
protected boolean cachingEnabled
msgsCacheMaxSize
protected int msgsCacheMaxSize
msgsCacheMaxAgeSeconds
protected int msgsCacheMaxAgeSeconds
msgsCache
protected Map<String,org.kuali.rice.core.util.MaxAgeSoftReference<MessageList>> msgsCache
businessObjectService
private org.kuali.rice.kns.service.BusinessObjectService businessObjectService
MessageServiceImpl
public MessageServiceImpl()
addMessage
public Message addMessage(Message messageInfo)
- Specified by:
addMessage
in interface MessageService
getLocales
public LocaleKeyList getLocales()
- Specified by:
getLocales
in interface MessageService
getMessage
public Message getMessage(String localeKey,
String messageGroupKey,
String messageKey)
- Specified by:
getMessage
in interface MessageService
getMessageGroups
public MessageGroupKeyList getMessageGroups()
- Specified by:
getMessageGroups
in interface MessageService
getMessages
public MessageList getMessages(String localeKey,
String messageGroupKey)
- Specified by:
getMessages
in interface MessageService
getMessagesByGroups
public MessageList getMessagesByGroups(String localeKey,
MessageGroupKeyList messageGroupKeyList)
- Specified by:
getMessagesByGroups
in interface MessageService
updateMessage
public Message updateMessage(String localeKey,
String messageGroupKey,
String messageKey,
Message messageInfo)
- Specified by:
updateMessage
in interface MessageService
toMessageEntity
protected MessageEntity toMessageEntity(Message message)
toMessage
protected Message toMessage(MessageEntity entity)
getBusinessObjectService
protected org.kuali.rice.kns.service.BusinessObjectService getBusinessObjectService()
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
- Specified by:
afterPropertiesSet
in interface InitializingBean
- Throws:
Exception
setCachingEnabled
public void setCachingEnabled(boolean cachingEnabled)
Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.