org.jasig.schedassist.web.admin
Class RelationshipsForOwnerController

java.lang.Object
  extended by org.jasig.schedassist.web.admin.RelationshipsForOwnerController

@Controller
@RequestMapping(value="/admin/relationships-for-owner.html")
public class RelationshipsForOwnerController
extends Object

Controller to display relationships for the selected IScheduleOwner.

Version:
$Id: RelationshipsForOwnerController.java 2978 2011-01-25 19:20:51Z npblair $
Author:
Nicholas Blair, nblair@doit.wisc.edu

Constructor Summary
RelationshipsForOwnerController()
           
 
Method Summary
protected  String destroyAdhocRelationship(ModifyAdhocRelationshipFormBackingObject fbo, org.springframework.ui.ModelMap model)
           
 ICalendarAccountDao getCalendarAccountDao()
           
 MutableRelationshipDao getMutableRelationshipDao()
           
 OwnerDao getOwnerDao()
           
 VisitorDao getVisitorDao()
           
 void setCalendarAccountDao(ICalendarAccountDao calendarAccountDao)
           
 void setMutableRelationshipDao(MutableRelationshipDao mutableRelationshipDao)
           
 void setOwnerDao(OwnerDao ownerDao)
           
 void setVisitorDao(VisitorDao visitorDao)
           
protected  String showRelationships(long ownerId, org.springframework.ui.ModelMap model)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RelationshipsForOwnerController

public RelationshipsForOwnerController()
Method Detail

setCalendarAccountDao

public void setCalendarAccountDao(@Qualifier(value="people")
                                  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

setMutableRelationshipDao

public void setMutableRelationshipDao(MutableRelationshipDao mutableRelationshipDao)
Parameters:
mutableRelationshipDao - the mutableRelationshipDao to set

getCalendarAccountDao

public ICalendarAccountDao getCalendarAccountDao()
Returns:
the calendarAccountDao

getOwnerDao

public OwnerDao getOwnerDao()
Returns:
the ownerDao

getVisitorDao

public VisitorDao getVisitorDao()
Returns:
the visitorDao

getMutableRelationshipDao

public MutableRelationshipDao getMutableRelationshipDao()
Returns:
the mutableRelationshipDao

showRelationships

@RequestMapping(method=GET)
protected String showRelationships(@RequestParam(value="id",required=false,defaultValue="0")
                                                  long ownerId,
                                                  org.springframework.ui.ModelMap model)
                            throws NotAVisitorException
Parameters:
ctcalxitemid -
model -
Returns:
Throws:
NotAVisitorException

destroyAdhocRelationship

@RequestMapping(method=POST)
protected String destroyAdhocRelationship(ModifyAdhocRelationshipFormBackingObject fbo,
                                                         org.springframework.ui.ModelMap model)
                                   throws CalendarAccountNotFoundException,
                                          NotAVisitorException
Parameters:
fbo -
model -
Returns:
Throws:
CalendarAccountNotFoundException
NotAVisitorException


Copyright © 2012 Jasig. All Rights Reserved.