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
 OwnerDao getOwnerDao()
           
 PublicProfileDao getPublicProfileDao()
           
 RelationshipDao getRelationshipDao()
           
 SchedulingAssistantService getSchedulingAssistantService()
           
 org.springframework.web.servlet.View retrieveVisitorConflicts(String ownerIdentifier, int weekStart, org.springframework.ui.ModelMap model)
           
 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
 

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

setSchedulingAssistantService

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

getOwnerDao

public OwnerDao getOwnerDao()
Returns:
the ownerDao

getRelationshipDao

public RelationshipDao getRelationshipDao()
Returns:
the relationshipDao

getPublicProfileDao

public PublicProfileDao getPublicProfileDao()
Returns:
the publicProfileDao

getSchedulingAssistantService

public SchedulingAssistantService getSchedulingAssistantService()
Returns:
the schedulingAssistantService

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