@Controller
@RequestMapping(value="VIEW")
public class ViewListVersionsController
extends fr.toutatice.portail.cms.nuxeo.api.CMSPortlet
implements org.springframework.web.portlet.context.PortletContextAware, org.springframework.web.portlet.context.PortletConfigAware
| Constructor and Description |
|---|
ViewListVersionsController()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
create(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
Versions versions,
Version form)
Create a version.
|
Version |
getCreationForm(javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response)
Get Version creation form model attribute.
|
Versions |
getVersions(javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response)
Get versions model attribute.
|
void |
postConstruct()
Post-construct.
|
void |
restore(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
String versionId,
org.springframework.web.bind.support.SessionStatus status)
Restore a given version.
|
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@ModelAttribute(value="versions") public Versions getVersions(javax.portlet.PortletRequest request, javax.portlet.PortletResponse response) throws javax.portlet.PortletException
request - portlet requestresponse - portlet responsejavax.portlet.PortletException@ModelAttribute(value="creationForm") public Version getCreationForm(javax.portlet.PortletRequest request, javax.portlet.PortletResponse response)
request - portlet requestresponse - portlet response@RenderMapping public String view(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response)
request - render requestresponse - render response@ActionMapping(value="restore")
public void restore(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
@RequestParam
String versionId,
org.springframework.web.bind.support.SessionStatus status)
request - action requestresponse - action responseid - local group identifierstatus - session status@ActionMapping(value="create")
public void create(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
@ModelAttribute
Versions versions,
@ModelAttribute(value="creationForm")
Version form)
throws javax.portlet.PortletException
request - action requestresponse - action responselocalGroup - local group model attributejavax.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 © 2021 OSIVIA. All rights reserved.