org.jasig.schedassist.web.admin
Class EventsSummaryFormController

java.lang.Object
  extended by org.jasig.schedassist.web.admin.EventsSummaryFormController

@Controller
@RequestMapping(value="/admin/events-summary.html")
@SessionAttributes(value="command")
public class EventsSummaryFormController
extends Object

Controller to show DailyEventSummary objects.

Version:
$Id: EventsSummaryFormController.java 2978 2011-01-25 19:20:51Z npblair $
Author:
Nicholas Blair, nblair@doit.wisc.edu

Constructor Summary
EventsSummaryFormController()
           
 
Method Summary
protected  String getEventCounts(DateRangeFormBackingObject fbo, org.springframework.ui.ModelMap model)
          Display DailyEventSummary objects that correspond to the dates in the DateRangeFormBackingObject.
 StatisticsDao getStatisticsDao()
           
 void setStatisticsDao(StatisticsDao statisticsDao)
           
protected  String setupForm(org.springframework.ui.ModelMap model)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventsSummaryFormController

public EventsSummaryFormController()
Method Detail

setStatisticsDao

public void setStatisticsDao(StatisticsDao statisticsDao)
Parameters:
statisticsDao - the statisticsDao to set

getStatisticsDao

public StatisticsDao getStatisticsDao()
Returns:
the statisticsDao

setupForm

@RequestMapping(method=GET)
protected String setupForm(org.springframework.ui.ModelMap model)
Parameters:
model -
Returns:

getEventCounts

@RequestMapping(method=POST)
protected String getEventCounts(@ModelAttribute(value="command")
                                               DateRangeFormBackingObject fbo,
                                               org.springframework.ui.ModelMap model)
Display DailyEventSummary objects that correspond to the dates in the DateRangeFormBackingObject.

Returns:


Copyright © 2012 Jasig. All Rights Reserved.