org.jasig.schedassist.web.visitor
Class CancelAppointmentFormController
java.lang.Object
org.jasig.schedassist.web.visitor.CancelAppointmentFormController
@Controller
@RequestMapping(value="/schedule/{ownerIdentifier}/cancel.html")
@SessionAttributes(value="command")
public class CancelAppointmentFormController- extends Object
Controller for IScheduleVisitors to invoke
AvailableService#cancelAppointment(IScheduleVisitor, IScheduleOwner, VEvent, AvailableBlock).
- Version:
- $Header: CancelAppointmentFormController.java $
- Author:
- Nicholas Blair, nblair@doit.wisc.edu
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CancelAppointmentFormController
public CancelAppointmentFormController()
setAvailableService
public void setAvailableService(SchedulingAssistantService schedulingAssistantService)
- Parameters:
schedulingAssistantService - the schedulingAssistantService to set
setAvailableScheduleDao
public void setAvailableScheduleDao(AvailableScheduleDao availableScheduleDao)
- Parameters:
availableScheduleDao - the availableScheduleDao 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
initBinder
@InitBinder(value="command")
protected void initBinder(org.springframework.web.bind.WebDataBinder binder)
- Parameters:
binder -
setupForm
@RequestMapping(method=GET)
protected String setupForm(org.springframework.ui.ModelMap model,
@RequestParam(value="startTime",required=true)
String startTimePhrase,
@RequestParam(value="endTime",required=true)
String endTimePhrase,
@PathVariable(value="ownerIdentifier")
String ownerIdentifier)
throws ParseException,
NotAVisitorException,
OwnerNotFoundException,
InputFormatException,
SchedulingException
- Parameters:
model - startTimePhrase - endTimePhrase - ownerId -
- Returns:
-
- Throws:
ParseException
NotAVisitorException
OwnerNotFoundException
InputFormatException
SchedulingException
cancelAppointment
@RequestMapping(method=POST)
protected String cancelAppointment(org.springframework.ui.ModelMap model,
@PathVariable(value="ownerIdentifier")
String ownerIdentifier,
@ModelAttribute(value="command")
CancelAppointmentFormBackingObject fbo,
org.springframework.validation.BindingResult bindingResult)
throws NotAVisitorException,
OwnerNotFoundException,
SchedulingException
- Parameters:
fbo - ownerId -
- Returns:
-
- Throws:
NotAVisitorException
OwnerNotFoundException
SchedulingException
Copyright © 2011 Jasig. All Rights Reserved.