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

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

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

This Controller implementation generates a preview for the IScheduleOwner of the display of their current VisibleSchedule shown to the IScheduleVisitor. Requires a OwnerDao and AvailableService be set.

Version:
$Id: PreviewVisibleScheduleController.java 3006 2011-01-28 19:58:30Z npblair $
Author:
Nicholas Blair, nblair@doit.wisc.edu

Constructor Summary
PreviewVisibleScheduleController()
           
 
Method Summary
protected  org.springframework.web.servlet.ModelAndView previewVisibleSchedule(boolean highContrast, int weekStart)
           
 void setSchedulingAssistantService(SchedulingAssistantService schedulingAssistantService)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PreviewVisibleScheduleController

public PreviewVisibleScheduleController()
Method Detail

setSchedulingAssistantService

public void setSchedulingAssistantService(SchedulingAssistantService schedulingAssistantService)
Parameters:
schedulingAssistantService - the schedulingAssistantService to set

previewVisibleSchedule

@RequestMapping(method=GET)
protected org.springframework.web.servlet.ModelAndView previewVisibleSchedule(@RequestParam(value="highContrast",required=false,defaultValue="false")
                                                                                             boolean highContrast,
                                                                                             @RequestParam(value="weekStart",required=false,defaultValue="0")
                                                                                             int weekStart)
                                                                       throws NotRegisteredException
Parameters:
highContrast -
Returns:
Throws:
NotRegisteredException


Copyright © 2012 Jasig. All Rights Reserved.