@Controller @RequestMapping(value="VIEW") @SessionAttributes(value="form") public class StatisticsViewController extends Object
| Constructor and Description |
|---|
StatisticsViewController()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
changeView(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
StatisticsForm form)
Change view action mapping.
|
StatisticsForm |
getForm(javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response)
Get form model attribute.
|
void |
loadCreations(javax.portlet.ResourceRequest request,
javax.portlet.ResourceResponse response,
StatisticsForm form)
Load creations resource mapping.
|
void |
loadVisits(javax.portlet.ResourceRequest request,
javax.portlet.ResourceResponse response,
StatisticsForm form)
Load visits resource mapping.
|
String |
viewCreations(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
Creations view render mapping.
|
String |
viewVisits(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
Visits view render mapping.
|
@RenderMapping(params="tab=creations") public String viewCreations(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response)
request - render requestresponse - render response@RenderMapping public String viewVisits(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response)
request - render requestresponse - render response@ActionMapping(value="changeView")
public void changeView(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
@ModelAttribute(value="form")
StatisticsForm form)
throws javax.portlet.PortletException
request - action requestresponse - action responseform - form model attributejavax.portlet.PortletException@ResourceMapping(value="creations")
public void loadCreations(javax.portlet.ResourceRequest request,
javax.portlet.ResourceResponse response,
@ModelAttribute(value="form")
StatisticsForm form)
throws javax.portlet.PortletException,
IOException
request - resource requestresponse - resource responseform - form model attributejavax.portlet.PortletExceptionIOException@ResourceMapping(value="visits")
public void loadVisits(javax.portlet.ResourceRequest request,
javax.portlet.ResourceResponse response,
@ModelAttribute(value="form")
StatisticsForm form)
throws javax.portlet.PortletException,
IOException
request - resource requestresponse - resource responseform - form model attributejavax.portlet.PortletExceptionIOException@ModelAttribute(value="form") public StatisticsForm getForm(javax.portlet.PortletRequest request, javax.portlet.PortletResponse response) throws javax.portlet.PortletException
request - portlet requestresponse - portlet responsejavax.portlet.PortletExceptionCopyright © 2019 OSIVIA. All rights reserved.