org.jasig.schedassist.web.visitor
Class VisibleScheduleDisplayController

java.lang.Object
  extended by org.jasig.schedassist.web.visitor.VisibleScheduleDisplayController

@Controller
public class VisibleScheduleDisplayController
extends Object

Controller that displays the VisibleSchedule for a particular IScheduleOwner.

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

Constructor Summary
VisibleScheduleDisplayController()
           
 
Method Summary
 org.springframework.web.servlet.ModelAndView displaySchedule(String ownerIdentifier, boolean highContrast, int weekStart)
           
 void setAvailableService(SchedulingAssistantService schedulingAssistantService)
           
 void setOwnerDao(OwnerDao ownerDao)
           
 void setPublicProfileDao(PublicProfileDao publicProfileDao)
           
 void setRelationshipDao(RelationshipDao relationshipDao)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VisibleScheduleDisplayController

public VisibleScheduleDisplayController()
Method Detail

setAvailableService

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

setRelationshipDao

public void setRelationshipDao(@Qualifier(value="composite")
                               RelationshipDao relationshipDao)
Parameters:
relationshipDao - the relationshipDao to set

setOwnerDao

public void setOwnerDao(OwnerDao ownerDao)
Parameters:
ownerDao - the ownerDao to set

setPublicProfileDao

public void setPublicProfileDao(PublicProfileDao publicProfileDao)
Parameters:
publicProfileDao - the publicProfileDao to set

displaySchedule

@RequestMapping(value="/schedule/{ownerIdentifier}/view.html",
                method=GET)
public org.springframework.web.servlet.ModelAndView displaySchedule(@PathVariable(value="ownerIdentifier")
                                                                                   String ownerIdentifier,
                                                                                   @RequestParam(value="highContrast",required=false,defaultValue="false")
                                                                                   boolean highContrast,
                                                                                   @RequestParam(value="weekStart",required=false,defaultValue="0")
                                                                                   int weekStart)
                                                             throws NotAVisitorException,
                                                                    OwnerNotFoundException
Parameters:
ownerId -
highContrast -
Returns:
Throws:
NotAVisitorException
OwnerNotFoundException


Copyright © 2011 Jasig. All Rights Reserved.