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