org.jasig.schedassist.web.admin
Class AccountLookupFormController

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

@Controller
@RequestMapping(value="/admin/account-lookup.html")
@SessionAttributes(value="command")
public class AccountLookupFormController
extends Object

Controller for looking up ICalendarAccounts.

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

Constructor Summary
AccountLookupFormController()
           
 
Method Summary
protected  String interactiveSearch(AccountLookupFormBackingObject fbo, org.springframework.ui.ModelMap model)
           
protected  String peopleAjaxQuery(String qValue, org.springframework.ui.ModelMap model)
           
protected  String resourcesAjaxQuery(String qValue, org.springframework.ui.ModelMap model)
           
 void setCalendarAccountDao(ICalendarAccountDao calendarAccountDao)
           
 void setDelegateCalendarAccountDao(IDelegateCalendarAccountDao delegateCalendarAccountDao)
           
protected  String showForm(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

AccountLookupFormController

public AccountLookupFormController()
Method Detail

setCalendarAccountDao

public void setCalendarAccountDao(@Qualifier(value="people")
                                  ICalendarAccountDao calendarAccountDao)
Parameters:
calendarAccountDao - the calendarAccountDao to set

setDelegateCalendarAccountDao

public void setDelegateCalendarAccountDao(@Qualifier(value="delegates")
                                          IDelegateCalendarAccountDao delegateCalendarAccountDao)
Parameters:
delegateCalendarAccountDao - the delegateCalendarAccountDao to set

showForm

@RequestMapping(method=GET)
protected String showForm(org.springframework.ui.ModelMap model)

peopleAjaxQuery

@RequestMapping(method=GET,
                params="type=people")
protected String peopleAjaxQuery(@RequestParam(value="q",required=true)
                                                String qValue,
                                                org.springframework.ui.ModelMap model)
Parameters:
qValue -
model -
Returns:

resourcesAjaxQuery

@RequestMapping(method=GET,
                params="type=resources")
protected String resourcesAjaxQuery(@RequestParam(value="q",required=true)
                                                   String qValue,
                                                   org.springframework.ui.ModelMap model)
Parameters:
qValue -
model -
Returns:

interactiveSearch

@RequestMapping(method=POST)
protected String interactiveSearch(@ModelAttribute(value="command")
                                                  AccountLookupFormBackingObject fbo,
                                                  org.springframework.ui.ModelMap model)
Parameters:
fbo -
model -
Returns:


Copyright © 2011 Jasig. All Rights Reserved.