org.jasig.schedassist.web.visitor
Class VisitorScheduleController

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

@Controller
public class VisitorScheduleController
extends Object

Controller that provides data about the current authenticated IScheduleVisitor's schedule.

Version:
$Id: VisitorScheduleController.java $
Author:
Nicholas Blair, nblair@doit.wisc.edu

Constructor Summary
VisitorScheduleController()
           
 
Method Summary
 org.springframework.web.servlet.View retrieveVisitorConflicts(String ownerIdentifier, int weekStart, org.springframework.ui.ModelMap model)
           
 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

VisitorScheduleController

public VisitorScheduleController()
Method Detail

setOwnerDao

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

setRelationshipDao

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

setPublicProfileDao

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

setAvailableService

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

retrieveVisitorConflicts

@RequestMapping(value="/schedule/{ownerIdentifier}/visitor-conflicts.json",
                method=GET)
public org.springframework.web.servlet.View retrieveVisitorConflicts(@PathVariable(value="ownerIdentifier")
                                                                                    String ownerIdentifier,
                                                                                    @RequestParam(value="weekStart",required=false,defaultValue="0")
                                                                                    int weekStart,
                                                                                    org.springframework.ui.ModelMap model)
                                                              throws NotAVisitorException,
                                                                     OwnerNotFoundException
Parameters:
ownerIdentifier -
weekStart -
Returns:
Throws:
NotAVisitorException
OwnerNotFoundException


Copyright © 2011 Jasig. All Rights Reserved.