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

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

@Controller
@RequestMapping(value={"/owner/remove-block-alternate.html","/delegate/remove-block-alternate.html"})
public class AlternateRemoveAvailableBlockController
extends Object

Alternate Controller implementation used with the AlternateScheduleViewController. This controller responds to GET requests, interpreting the desired AvailableBlock to remove via the "startTime" and "endTime" request parameters.

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

Constructor Summary
AlternateRemoveAvailableBlockController()
           
 
Method Summary
 org.springframework.web.servlet.ModelAndView removeBlock(String startTimePhrase, String endTimePhrase)
           
 void setAvailableScheduleDao(AvailableScheduleDao availableScheduleDao)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlternateRemoveAvailableBlockController

public AlternateRemoveAvailableBlockController()
Method Detail

setAvailableScheduleDao

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

removeBlock

@RequestMapping(method=GET)
public org.springframework.web.servlet.ModelAndView removeBlock(@RequestParam(value="startTime",required=true)
                                                                               String startTimePhrase,
                                                                               @RequestParam(value="endTime",required=true)
                                                                               String endTimePhrase)
                                                         throws NotRegisteredException
Parameters:
startTimePhrase -
endTimePhrase -
Returns:
Throws:
NotRegisteredException


Copyright © 2012 Jasig. All Rights Reserved.