org.jasig.schedassist.web.owner.relationships
Class DestroyAdhocRelationshipController

java.lang.Object
  extended by org.jasig.schedassist.web.owner.relationships.DestroyAdhocRelationshipController

@Controller
@RequestMapping(value={"/owner/destroy-adhoc-relationship.html","/delegate/destroy-adhoc-relationship.html"})
public class DestroyAdhocRelationshipController
extends Object

Form controller that invokes MutableRelationshipDao.destroyRelationship(IScheduleOwner, IScheduleVisitor).

Version:
$Id: DestroyAdhocRelationshipController.java 2049 2010-04-30 16:01:10Z npblair $
Author:
Nicholas Blair, nblair@doit.wisc.edu

Constructor Summary
DestroyAdhocRelationshipController()
           
 
Method Summary
protected  String destroyAdhocRelationship(ModifyAdhocRelationshipFormBackingObject fbo, org.springframework.ui.ModelMap model)
           
 void setCalendarAccountDao(ICalendarAccountDao calendarAccountDao)
           
 void setMutableRelationshipDao(MutableRelationshipDao mutableRelationshipDao)
           
protected  String setupForm(org.springframework.ui.ModelMap model)
           
 void setVisitorDao(VisitorDao visitorDao)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DestroyAdhocRelationshipController

public DestroyAdhocRelationshipController()
Method Detail

setCalendarAccountDao

public void setCalendarAccountDao(ICalendarAccountDao calendarAccountDao)
Parameters:
calendarAccountDao - the calendarAccountDao to set

setVisitorDao

public void setVisitorDao(VisitorDao visitorDao)
Parameters:
visitorDao - the visitorDao to set

setMutableRelationshipDao

public void setMutableRelationshipDao(@Qualifier(value="adhoc")
                                      MutableRelationshipDao mutableRelationshipDao)
Parameters:
mutableRelationshipDao - the mutableRelationshipDao to set

setupForm

@RequestMapping(method=GET)
protected String setupForm(org.springframework.ui.ModelMap model)
Returns:

destroyAdhocRelationship

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


Copyright © 2011 Jasig. All Rights Reserved.