org.riotfamily.common.i18n
Class MessageCodeRevelationController

java.lang.Object
  extended by org.riotfamily.common.i18n.MessageCodeRevelationController
All Implemented Interfaces:
BeanFactoryAware, Controller

public class MessageCodeRevelationController
extends Object
implements Controller, BeanFactoryAware

Controller that toggles code revelation of a CodeRevlealingMessageSource for the current user.

Since:
6.4
Author:
Felix Gnass [fgnass at neteye dot de]

Constructor Summary
MessageCodeRevelationController()
           
 
Method Summary
 ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response)
           
 void setBeanFactory(BeanFactory beanFactory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageCodeRevelationController

public MessageCodeRevelationController()
Method Detail

setBeanFactory

public void setBeanFactory(BeanFactory beanFactory)
                    throws BeansException
Specified by:
setBeanFactory in interface BeanFactoryAware
Throws:
BeansException

handleRequest

public ModelAndView handleRequest(HttpServletRequest request,
                                  HttpServletResponse response)
                           throws Exception
Specified by:
handleRequest in interface Controller
Throws:
Exception