org.jasig.schedassist.web.security.delegate
Class DelegateAccountSearchFormController
java.lang.Object
org.jasig.schedassist.web.security.delegate.DelegateAccountSearchFormController
@Controller
@RequestMapping(value="/delegate-search.html")
@SessionAttributes(value="command")
public class DelegateAccountSearchFormController
- extends Object
Controller that provides a UI for searching for IDelegateCalendarAccounts.
- Version:
- $Id: DelegateAccountSearchFormController.java 2039 2010-04-30 15:51:39Z npblair $
- 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 |
DelegateAccountSearchFormController
public DelegateAccountSearchFormController()
setDelegateCalendarAccountDao
public void setDelegateCalendarAccountDao(IDelegateCalendarAccountDao delegateCalendarAccountDao)
- Parameters:
delegateCalendarAccountDao - the delegateCalendarAccountDao to set
getDelegateCalendarAccountDao
public IDelegateCalendarAccountDao getDelegateCalendarAccountDao()
- Returns:
- the delegateCalendarAccountDao
onGet
@RequestMapping(method=GET)
protected String onGet(@RequestParam(value="q",required=false)
String qValue,
org.springframework.ui.ModelMap model)
- If the qValue parameter is not blank, execute a search, and return
the autocomplete results view name.
Otherwise, return the form view name.
- Parameters:
qValue - model -
- Returns:
search
@RequestMapping(method=POST)
protected String search(@ModelAttribute(value="command")
DelegateAccountSearchFormBackingObject fbo,
org.springframework.ui.ModelMap model)
- Parameters:
fbo - model -
- Returns:
filterForEligible
protected List<IDelegateCalendarAccount> filterForEligible(List<IDelegateCalendarAccount> matches)
- Filter out
IDelegateCalendarAccount that return false for ICalendarAccount.isEligible().
- Parameters:
matches -
- Returns:
Copyright © 2012 Jasig. All Rights Reserved.