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

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

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

Controller implementation that allows an IScheduleOwner to remove ALL AvailableBlocks from their AvailableSchedule.

Version:
$Id: ClearEntireAvailableScheduleFormController.java 2542 2010-09-13 16:07:29Z npblair $
Author:
Nicholas Blair, nblair@doit.wisc.edu

Field Summary
protected  org.apache.commons.logging.Log log
           
 
Constructor Summary
ClearEntireAvailableScheduleFormController()
           
 
Method Summary
protected  org.springframework.web.servlet.ModelAndView clearSchedule(ClearAvailableScheduleFormBackingObject fbo)
           
 AvailableScheduleDao getAvailableScheduleDao()
           
 AvailableScheduleReflectionService getReflectionService()
           
 void setAvailableScheduleDao(AvailableScheduleDao availableScheduleDao)
           
 void setReflectionService(AvailableScheduleReflectionService reflectionService)
           
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
 

Field Detail

log

protected final org.apache.commons.logging.Log log
Constructor Detail

ClearEntireAvailableScheduleFormController

public ClearEntireAvailableScheduleFormController()
Method Detail

setAvailableScheduleDao

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

setReflectionService

public void setReflectionService(AvailableScheduleReflectionService reflectionService)
Parameters:
reflectionService - the reflectionService to set

getAvailableScheduleDao

public AvailableScheduleDao getAvailableScheduleDao()
Returns:
the availableScheduleDao

getReflectionService

public AvailableScheduleReflectionService getReflectionService()
Returns:
the reflectionService

setupForm

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

clearSchedule

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


Copyright © 2012 Jasig. All Rights Reserved.