nl.surfnet.coin.portal.control
Class PrefsController

java.lang.Object
  extended by nl.surfnet.coin.portal.control.BaseController
      extended by nl.surfnet.coin.portal.control.PrefsController

@Controller
public class PrefsController
extends BaseController

Controller that handles the saving and loading of user preferences of gadgets.


Field Summary
 
Fields inherited from class nl.surfnet.coin.portal.control.BaseController
gadgetService, personService, tabService, userPreferencesService
 
Constructor Summary
PrefsController()
           
 
Method Summary
 String getPrefs(org.springframework.ui.ModelMap modelMap, javax.servlet.http.HttpServletRequest request)
           
 boolean savePrefs(org.springframework.ui.ModelMap modelMap, javax.servlet.http.HttpServletRequest request)
           
 
Methods inherited from class nl.surfnet.coin.portal.control.BaseController
getGadget, getGroupsForLoggedInPerson, getPerson, getPreferences, getTab, isMemberOfGroup, populateModelMapWithPreferences
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrefsController

public PrefsController()
Method Detail

savePrefs

@RequestMapping(value="/saveprefs.shtml",
                method=POST)
@ResponseBody
public boolean savePrefs(org.springframework.ui.ModelMap modelMap,
                                                     javax.servlet.http.HttpServletRequest request)
                  throws UnsupportedEncodingException
Throws:
UnsupportedEncodingException

getPrefs

@RequestMapping(value="/getprefs.shtml",
                method=GET)
@ResponseBody
public String getPrefs(org.springframework.ui.ModelMap modelMap,
                                                   javax.servlet.http.HttpServletRequest request)


Copyright © 2009-2012 SURFnet bv, The Netherlands. All Rights Reserved.