org.jasig.portlet.widget.mvc
Class EditGoogleApiKeyController

java.lang.Object
  extended by org.jasig.portlet.widget.mvc.EditGoogleApiKeyController

@Controller
@RequestMapping(value="CONFIG")
public class EditGoogleApiKeyController
extends Object


Field Summary
static String GOOGLE_API_KEY_PREF_NAME
           
 
Constructor Summary
EditGoogleApiKeyController()
           
 
Method Summary
 String getFormView(javax.portlet.RenderResponse response)
           
 String getKey(javax.portlet.PortletRequest request)
           
 void updateKey(javax.portlet.ActionRequest request, javax.portlet.ActionResponse response, String key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GOOGLE_API_KEY_PREF_NAME

public static final String GOOGLE_API_KEY_PREF_NAME
See Also:
Constant Field Values
Constructor Detail

EditGoogleApiKeyController

public EditGoogleApiKeyController()
Method Detail

getFormView

@RequestMapping
public String getFormView(javax.portlet.RenderResponse response)

updateKey

@RequestMapping(params="action=updateKey")
public void updateKey(javax.portlet.ActionRequest request,
                                     javax.portlet.ActionResponse response,
                                     @RequestParam(value="googleApiKey")
                                     String key)
               throws javax.portlet.PortletModeException,
                      javax.portlet.ReadOnlyException,
                      javax.portlet.ValidatorException,
                      IOException
Throws:
javax.portlet.PortletModeException
javax.portlet.ReadOnlyException
javax.portlet.ValidatorException
IOException

getKey

@ModelAttribute(value="googleApiKey")
public String getKey(javax.portlet.PortletRequest request)


Copyright © 2011 Jasig. All Rights Reserved.