org.jasig.schedassist.web.admin
Class VisibleScheduleDebugFormController

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

@Controller
@RequestMapping(value="/admin/schedule-debug.html")
@SessionAttributes(value="command")
public class VisibleScheduleDebugFormController
extends Object

Controller that displays the VisibleSchedule for a particular IScheduleOwner.

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

Constructor Summary
VisibleScheduleDebugFormController()
           
 
Method Summary
 String displaySchedule(VisibleScheduleDebugFormBackingObject command, org.springframework.validation.BindingResult bindingResult, boolean highContrast, int weekStart, org.springframework.ui.ModelMap model)
           
protected  void initBinder(org.springframework.web.bind.WebDataBinder binder)
           
protected  String setupForm(org.springframework.ui.ModelMap model)
           
 void setValidator(VisibleScheduleDebugFormBackingObjectValidator validator)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VisibleScheduleDebugFormController

public VisibleScheduleDebugFormController()
Method Detail

setValidator

public void setValidator(VisibleScheduleDebugFormBackingObjectValidator validator)
Parameters:
validator - the validator to set

initBinder

@InitBinder
protected void initBinder(org.springframework.web.bind.WebDataBinder binder)
Parameters:
binder -

setupForm

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

displaySchedule

@RequestMapping(method=POST)
public String displaySchedule(@ModelAttribute(value="command")
                                             VisibleScheduleDebugFormBackingObject command,
                                             org.springframework.validation.BindingResult bindingResult,
                                             @RequestParam(value="highContrast",required=false,defaultValue="false")
                                             boolean highContrast,
                                             @RequestParam(value="weekStart",required=false,defaultValue="0")
                                             int weekStart,
                                             org.springframework.ui.ModelMap model)
Parameters:
ownerId -
highContrast -
Returns:
Throws:
NotAVisitorException
OwnerNotFoundException


Copyright © 2011 Jasig. All Rights Reserved.