@Controller @RequestMapping(value="CONFIG") public class EditGoogleApiKeyController extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
GOOGLE_API_KEY_PREF_NAME |
| Constructor and Description |
|---|
EditGoogleApiKeyController() |
| Modifier and Type | Method and Description |
|---|---|
String |
getFormView() |
String |
getKey(javax.portlet.PortletRequest request) |
void |
updateKey(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
String key) |
public static final String GOOGLE_API_KEY_PREF_NAME
@RenderMapping public String getFormView()
@ActionMapping(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
javax.portlet.PortletModeExceptionjavax.portlet.ReadOnlyExceptionjavax.portlet.ValidatorExceptionIOException@ModelAttribute(value="googleApiKey") public String getKey(javax.portlet.PortletRequest request)
Copyright © 2016 Jasig. All Rights Reserved.