org.jasig.schedassist.web.owner.schedule
Class ClearWeekFormController

java.lang.Object
  extended by org.jasig.schedassist.web.owner.schedule.ClearWeekFormController

@Controller
@RequestMapping(value={"/owner/clear-week.html","/delegate/clear-week.html"})
public class ClearWeekFormController
extends Object

Controller implementation that allows an IScheduleOwner to remove a week of AvailableBlocks from their AvailableSchedule.

Version:
$Idr: ClearWeekFormController.java $
Author:
Nicholas Blair, nblair@doit.wisc.edu

Constructor Summary
ClearWeekFormController()
           
 
Method Summary
protected  org.springframework.web.servlet.ModelAndView clearWeek(ClearAvailableScheduleFormBackingObject fbo)
           
protected  void initBinder(org.springframework.web.bind.WebDataBinder binder)
           
 void setAvailableScheduleDao(AvailableScheduleDao availableScheduleDao)
           
protected  String setupForm(String weekOfPhrase, 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

ClearWeekFormController

public ClearWeekFormController()
Method Detail

setAvailableScheduleDao

public void setAvailableScheduleDao(AvailableScheduleDao availableScheduleDao)
Parameters:
availableScheduleDao - the availableScheduleDao to set

initBinder

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

setupForm

@RequestMapping(method=GET)
protected String setupForm(@RequestParam(value="weekOf",required=false)
                                          String weekOfPhrase,
                                          org.springframework.ui.ModelMap model)
Parameters:
weekOfPhrase -
model -
Returns:

clearWeek

@RequestMapping(method=POST)
protected org.springframework.web.servlet.ModelAndView clearWeek(ClearAvailableScheduleFormBackingObject fbo)
                                                          throws NotRegisteredException,
                                                                 InputFormatException
Parameters:
fbo -
Returns:
Throws:
NotRegisteredException
InputFormatException


Copyright © 2011 Jasig. All Rights Reserved.