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

Field Summary
protected  org.apache.commons.logging.Log log
           
 
Constructor Summary
VisibleScheduleDisplayController()
           
 
Method Summary
 org.springframework.web.servlet.ModelAndView displaySchedule(String ownerIdentifier, boolean highContrast, int weekStart)
           
 OwnerDao getOwnerDao()
           
 PublicProfileDao getPublicProfileDao()
           
 RelationshipDao getRelationshipDao()
           
 SchedulingAssistantService getSchedulingAssistantService()
           
 void setOwnerDao(OwnerDao ownerDao)
           
 void setPublicProfileDao(PublicProfileDao publicProfileDao)
           
 void setRelationshipDao(RelationshipDao relationshipDao)
           
 void setSchedulingAssistantService(SchedulingAssistantService schedulingAssistantService)
           
 
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

VisibleScheduleDisplayController

public VisibleScheduleDisplayController()
Method Detail

setSchedulingAssistantService

public void setSchedulingAssistantService(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

getSchedulingAssistantService

public SchedulingAssistantService getSchedulingAssistantService()
Returns:
the schedulingAssistantService

getRelationshipDao

public RelationshipDao getRelationshipDao()
Returns:
the relationshipDao

getOwnerDao

public OwnerDao getOwnerDao()
Returns:
the ownerDao

getPublicProfileDao

public PublicProfileDao getPublicProfileDao()
Returns:
the publicProfileDao

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 © 2012 Jasig. All Rights Reserved.