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 java.lang.Object


Field Summary
static java.lang.String GOOGLE_API_KEY_PREF_NAME
           
 
Constructor Summary
EditGoogleApiKeyController()
           
 
Method Summary
 java.lang.String getFormView(javax.portlet.RenderResponse response)
           
 java.lang.String getKey(javax.portlet.PortletRequest request)
           
 void updateKey(javax.portlet.ActionRequest request, javax.portlet.ActionResponse response, java.lang.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 java.lang.String GOOGLE_API_KEY_PREF_NAME
See Also:
Constant Field Values
Constructor Detail

EditGoogleApiKeyController

public EditGoogleApiKeyController()
Method Detail

getFormView

@RequestMapping
public java.lang.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")
                                     java.lang.String key)
               throws javax.portlet.PortletModeException,
                      javax.portlet.ReadOnlyException,
                      javax.portlet.ValidatorException,
                      java.io.IOException
Throws:
javax.portlet.PortletModeException
javax.portlet.ReadOnlyException
javax.portlet.ValidatorException
java.io.IOException

getKey

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


Copyright © 2010 Jasig. All Rights Reserved.