@Controller
@RequestMapping(value="VIEW")
public class DocumentCreationController
extends fr.toutatice.portail.cms.nuxeo.api.CMSPortlet
implements org.springframework.web.portlet.context.PortletContextAware, org.springframework.web.portlet.context.PortletConfigAware
| Constructor and Description |
|---|
DocumentCreationController()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDocExt(javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response) |
String |
getDocIcon(javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response) |
String |
getDocType(javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response) |
String |
getModalTitle(javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response) |
void |
newWordDoc(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response) |
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) |
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, renderpublic DocumentCreationController()
@PostConstruct public void postConstruct() throws javax.portlet.PortletException
javax.portlet.PortletException@RenderMapping public String view(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response) throws javax.portlet.PortletException
javax.portlet.PortletException@ModelAttribute(value="docType") public String getDocType(javax.portlet.PortletRequest request, javax.portlet.PortletResponse response)
@ModelAttribute(value="docExt") public String getDocExt(javax.portlet.PortletRequest request, javax.portlet.PortletResponse response)
@ModelAttribute(value="docIcon") public String getDocIcon(javax.portlet.PortletRequest request, javax.portlet.PortletResponse response)
@ModelAttribute(value="modalTitle") public String getModalTitle(javax.portlet.PortletRequest request, javax.portlet.PortletResponse response)
@ActionMapping(name="newDoc")
public void newWordDoc(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response)
throws javax.portlet.PortletException
javax.portlet.PortletExceptionpublic void setPortletConfig(javax.portlet.PortletConfig portletConfig)
setPortletConfig in interface org.springframework.web.portlet.context.PortletConfigAwarepublic void setPortletContext(javax.portlet.PortletContext portletContext)
setPortletContext in interface org.springframework.web.portlet.context.PortletContextAwareCopyright © 2018. All rights reserved.