@Controller @RequestMapping(value="ADMIN") public class AdminGeneratorController extends Object implements org.springframework.web.portlet.context.PortletContextAware
PortletContextAware| Constructor and Description |
|---|
AdminGeneratorController()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
admin(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
Admin render mapping.
|
Configuration |
getConfiguration(javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response)
Get generator configuration model attribute.
|
void |
save(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
Configuration configuration)
Save action mapping.
|
void |
setPortletContext(javax.portlet.PortletContext portletContext) |
@RenderMapping public String admin(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response)
request - render requestresponse - render response@ActionMapping(value="save")
public void save(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
@ModelAttribute(value="configuration")
Configuration configuration)
throws javax.portlet.PortletException
request - action requestresponse - action responseconfiguration - generator configurationjavax.portlet.PortletException@ModelAttribute(value="configuration") public Configuration getConfiguration(javax.portlet.PortletRequest request, javax.portlet.PortletResponse response) throws javax.portlet.PortletException
request - portlet requestresponse - portlet responsejavax.portlet.PortletExceptionpublic void setPortletContext(javax.portlet.PortletContext portletContext)
setPortletContext in interface org.springframework.web.portlet.context.PortletContextAwareCopyright © 2016. All rights reserved.