org.jasig.schedassist.web.admin
Class VisibleScheduleDebugController
java.lang.Object
org.jasig.schedassist.web.admin.VisibleScheduleDebugController
@Controller
public class VisibleScheduleDebugController
- extends Object
Controller that displays the VisibleSchedule for a particular
IScheduleOwner.
- Version:
- $Id: VisibleScheduleDebugController.java 2978 2011-01-25 19:20:51Z 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 |
VisibleScheduleDebugController
public VisibleScheduleDebugController()
setSchedulingAssistantService
public void setSchedulingAssistantService(SchedulingAssistantService schedulingAssistantService)
- Parameters:
schedulingAssistantService - the availableService to set
setCalendarAccountDao
public void setCalendarAccountDao(ICalendarAccountDao calendarAccountDao)
- Parameters:
calendarAccountDao - the calendarAccountDao to set
setOwnerDao
public void setOwnerDao(OwnerDao ownerDao)
- Parameters:
ownerDao - the ownerDao to set
setVisitorDao
public void setVisitorDao(VisitorDao visitorDao)
- Parameters:
visitorDao - the visitorDao to set
setCalendarDataDao
public void setCalendarDataDao(ICalendarDataDao calendarDataDao)
- Parameters:
calendarDataDao - the calendarDao to set
displaySchedule
@RequestMapping(value="/admin/schedule-debug/{ownerIdentifier}/view.html",
method=GET)
public String displaySchedule(@PathVariable(value="ownerIdentifier")
long ownerIdentifier,
@RequestParam(value="highContrast",required=false,defaultValue="false")
boolean highContrast,
@RequestParam(value="weekStart",required=false,defaultValue="0")
int weekStart,
@RequestParam(value="visitorUsername",required=true)
String visitorUsername,
org.springframework.ui.ModelMap model)
throws NotAVisitorException,
CalendarAccountNotFoundException
- Parameters:
ownerId - highContrast - visitorUsername -
- Returns:
-
- Throws:
NotAVisitorException
CalendarUserNotFoundException
CalendarAccountNotFoundException
visitorConflicts
@RequestMapping(value="/admin/schedule-debug/{ownerIdentifier}/visitor-conflicts.json",
method=GET)
public org.springframework.web.servlet.View visitorConflicts(@PathVariable(value="ownerIdentifier")
long ownerIdentifier,
@RequestParam(value="weekStart",required=false,defaultValue="1")
int weekStart,
@RequestParam(value="visitorUsername",required=true)
String visitorUsername,
org.springframework.ui.ModelMap model)
throws NotAVisitorException,
CalendarAccountNotFoundException
- Parameters:
ownerIdentifier - weekStart - visitorUsername - model -
- Returns:
-
- Throws:
NotAVisitorException
CalendarUserNotFoundException
CalendarAccountNotFoundException
Copyright © 2012 Jasig. All Rights Reserved.