magoffin.matt.ma2.web
Class HomeController.PostProcessor

java.lang.Object
  extended by magoffin.matt.ma2.web.HomeController.PostProcessor
All Implemented Interfaces:
magoffin.matt.xweb.util.XDataPostProcessor
Enclosing class:
HomeController

public static class HomeController.PostProcessor
extends java.lang.Object
implements magoffin.matt.xweb.util.XDataPostProcessor

A XDataPostProcessor implementation that ensures the home view has the user's data (like collections, albums, etc) populated.

Version:
$Revision: 176 $ $Date: 2008-12-28 14:33:18 +1300 (Sun, 28 Dec 2008) $
Author:
matt.magoffin

Constructor Summary
HomeController.PostProcessor(HomeController controller)
          Construct.
 
Method Summary
 void process(magoffin.matt.xweb.XData xData, javax.servlet.http.HttpServletRequest request)
           
 boolean supportsView(java.lang.String viewName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HomeController.PostProcessor

public HomeController.PostProcessor(HomeController controller)
Construct.

Parameters:
controller - my reference
Method Detail

supportsView

public boolean supportsView(java.lang.String viewName)
Specified by:
supportsView in interface magoffin.matt.xweb.util.XDataPostProcessor

process

public void process(magoffin.matt.xweb.XData xData,
                    javax.servlet.http.HttpServletRequest request)
Specified by:
process in interface magoffin.matt.xweb.util.XDataPostProcessor