@Controller
@RequestMapping(value="VIEW")
public class StatisticsViewController
extends fr.toutatice.portail.cms.nuxeo.api.CMSPortlet
implements org.springframework.web.portlet.context.PortletContextAware, org.springframework.web.portlet.context.PortletConfigAware
CMSPortlet,
PortletContextAware,
PortletConfigAware| Constructor and Description |
|---|
StatisticsViewController()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
changeView(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
StatisticsConfiguration configuration)
Change view action mapping.
|
StatisticsConfiguration |
getConfiguration(javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response,
String value)
Get statistics configuration model attribute.
|
List<StatisticsView> |
getViews(javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response)
Get statistics views model attribute.
|
void |
loadStatistics(javax.portlet.ResourceRequest request,
javax.portlet.ResourceResponse response,
StatisticsConfiguration configuration,
String value)
Load statistics resource mapping.
|
void |
postConstruct()
Post-construct.
|
void |
setPortletConfig(javax.portlet.PortletConfig portletConfig) |
void |
setPortletContext(javax.portlet.PortletContext portletContext) |
String |
view(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
View render mapping.
|
addCommentAction, createNuxeoController, deleteCommentAction, destroy, formatResourceLastModified, getCMSService, getNuxeoNavigationService, getNuxeoService, init, isResourceExpired, processCommentAction, serveResource, serveResourceByCache, serveResourceException, serveResourceFancytreeLazyLoadingaddNotification, addNotification, getBundleFactory, getDirectoryService, getMenubarService, getMessage, getMessage, getNotificationsService, getPortalUrlFactory, getTraceServicedoDispatch, doEdit, doHeaders, doHelp, doView, getContainerRuntimeOptions, getDefaultNamespace, getInitParameter, getInitParameterNames, getNextPossiblePortletModes, getPortletConfig, getPortletContext, getPortletName, getProcessingEventQNames, getPublicRenderParameterNames, getPublishingEventQNames, getResourceBundle, getSupportedLocales, getTitle, init, processAction, processEvent, render@PostConstruct public void postConstruct() throws javax.portlet.PortletException
javax.portlet.PortletException@RenderMapping public String view(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="configuration")
StatisticsConfiguration configuration)
throws javax.portlet.PortletException
request - action requestresponse - action responseconfiguration - configuration model attributejavax.portlet.PortletException@ResourceMapping(value="loadStatistics")
public void loadStatistics(javax.portlet.ResourceRequest request,
javax.portlet.ResourceResponse response,
@ModelAttribute(value="configuration")
StatisticsConfiguration configuration,
@RequestParam(value="view",required=false)
String value)
throws javax.portlet.PortletException,
IOException
request - resource requestresponse - resource responseconfiguration - statistics configuration model attributevalue - view value request parameterjavax.portlet.PortletExceptionIOException@ModelAttribute(value="configuration") public StatisticsConfiguration getConfiguration(javax.portlet.PortletRequest request, javax.portlet.PortletResponse response, @RequestParam(value="view",required=false) String value) throws javax.portlet.PortletException
request - portlet requestresponse - portlet responsevalue - view value request parameterjavax.portlet.PortletException@ModelAttribute(value="views") public List<StatisticsView> getViews(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.PortletContextAwarepublic void setPortletConfig(javax.portlet.PortletConfig portletConfig)
setPortletConfig in interface org.springframework.web.portlet.context.PortletConfigAwareCopyright © 2016 OSIVIA. All rights reserved.