org.riotfamily.pages.controller
Class CacheablePageController

java.lang.Object
  extended by org.riotfamily.website.view.ConfigurableViewController
      extended by org.riotfamily.website.view.CacheableViewController
          extended by org.riotfamily.pages.controller.CacheablePageController
All Implemented Interfaces:
CacheableController, Controller

public class CacheablePageController
extends CacheableViewController


Field Summary
 
Fields inherited from interface org.riotfamily.cachius.spring.CacheableController
CACHE_ETERNALLY
 
Constructor Summary
CacheablePageController()
           
 
Method Summary
protected  void populateModel(Model model, HttpServletRequest request)
          Can be overwritten by subclasses to populate the model.
protected  void populateModel(Model model, Page page)
           
 
Methods inherited from class org.riotfamily.website.view.CacheableViewController
appendCacheKey, bypassCache, getCacheKey, getLastModified, getTimeToLive
 
Methods inherited from class org.riotfamily.website.view.ConfigurableViewController
handleRequest, setContentType, setViewName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.springframework.web.servlet.mvc.Controller
handleRequest
 

Constructor Detail

CacheablePageController

public CacheablePageController()
Method Detail

populateModel

protected void populateModel(Model model,
                             HttpServletRequest request)
Description copied from class: ConfigurableViewController
Can be overwritten by subclasses to populate the model. The default implementation does nothing, hence an empty model is passed to the view.

Overrides:
populateModel in class ConfigurableViewController

populateModel

protected void populateModel(Model model,
                             Page page)