org.riotfamily.riot.editor.ui
Class ViewController

java.lang.Object
  extended by org.riotfamily.riot.editor.ui.ViewController
All Implemented Interfaces:
Controller

public class ViewController
extends Object
implements Controller


Constructor Summary
ViewController(EditorRepository repository, ListService listService)
           
 
Method Summary
static String getUrl(String editorId, String objectId)
           
 ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response)
           
 void setViewName(String viewName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ViewController

public ViewController(EditorRepository repository,
                      ListService listService)
Method Detail

setViewName

public void setViewName(String viewName)

handleRequest

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

getUrl

public static String getUrl(String editorId,
                            String objectId)