org.jasig.schedassist.web.owner.schedule
Class AddAvailableBlockFormController
java.lang.Object
org.jasig.schedassist.web.owner.schedule.AddAvailableBlockFormController
@Controller
@RequestMapping(value={"/owner/add-block.html","/delegate/add-block.html"})
public class AddAvailableBlockFormController- extends Object
Controller implementation that can be invoked by
IScheduleOwners to add a single AvailableBlock to their AvailableSchedule.
- Version:
- $Id: AddAvailableBlockFormController.java 2051 2010-04-30 16:03:17Z npblair $
- Author:
- Nicholas Blair, nblair@doit.wisc.edu
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AddAvailableBlockFormController
public AddAvailableBlockFormController()
setAvailableScheduleDao
public void setAvailableScheduleDao(AvailableScheduleDao availableScheduleDao)
- Parameters:
availableScheduleDao - the availableScheduleDao to set
getAvailableScheduleDao
public AvailableScheduleDao getAvailableScheduleDao()
- Returns:
- the availableScheduleDao
initBinder
@InitBinder(value="command")
protected void initBinder(org.springframework.web.bind.WebDataBinder binder)
- Parameters:
binder -
setupForm
@RequestMapping(method=GET)
protected String setupForm(org.springframework.ui.ModelMap model,
@RequestParam(value="interactive",required=false,defaultValue="false")
boolean interactive)
throws NotRegisteredException
- Parameters:
model -
- Returns:
-
- Throws:
NotRegisteredException
addAvailableBlock
@RequestMapping(method=POST)
protected String addAvailableBlock(@ModelAttribute(value="command")
AvailableBlockFormBackingObject fbo,
org.springframework.validation.BindingResult bindingResult,
org.springframework.ui.ModelMap model)
throws NotRegisteredException,
InputFormatException
- Parameters:
fbo -
- Returns:
-
- Throws:
NotRegisteredException
InputFormatException
Copyright © 2012 Jasig. All Rights Reserved.