org.jasig.portlet.widget.mvc
Class EditGoogleApiKeyController
java.lang.Object
org.jasig.portlet.widget.mvc.EditGoogleApiKeyController
@Controller
@RequestMapping(value="CONFIG")
public class EditGoogleApiKeyController
- extends java.lang.Object
|
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 |
GOOGLE_API_KEY_PREF_NAME
public static final java.lang.String GOOGLE_API_KEY_PREF_NAME
- See Also:
- Constant Field Values
EditGoogleApiKeyController
public EditGoogleApiKeyController()
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.