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

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

@Controller
@RequestMapping(value={"/owner/builder.html","/delegate/builder.html"})
public class BlockBuilderFormController
extends Object

Controller for building a series of AvailableBlocks.

Version:
$Id: BlockBuilderFormController.java 2070 2010-04-30 16:52:11Z npblair $
Author:
Nicholas Blair, nblair@doit.wisc.edu

Constructor Summary
BlockBuilderFormController()
           
 
Method Summary
protected  void initBinder(org.springframework.web.bind.WebDataBinder binder)
           
 void setAvailableScheduleDao(AvailableScheduleDao availableScheduleDao)
           
protected  String setupForm(org.springframework.ui.ModelMap model)
           
protected  String updateSchedule(BlockBuilderFormBackingObject fbo, org.springframework.validation.BindingResult bindingResult)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlockBuilderFormController

public BlockBuilderFormController()
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(org.springframework.ui.ModelMap model)
                    throws NotRegisteredException
Parameters:
model -
Returns:
Throws:
NotRegisteredException

updateSchedule

@RequestMapping(method=POST)
protected String updateSchedule(@ModelAttribute(value="command")
                                               BlockBuilderFormBackingObject fbo,
                                               org.springframework.validation.BindingResult bindingResult)
                         throws InputFormatException,
                                ParseException,
                                NotRegisteredException
Parameters:
fbo -
Returns:
Throws:
InputFormatException
ParseException
NotRegisteredException


Copyright © 2012 Jasig. All Rights Reserved.