@Controller
@RequestMapping(value="VIEW")
public class OnlyofficeController
extends fr.toutatice.portail.cms.nuxeo.api.CMSPortlet
implements org.springframework.web.portlet.context.PortletContextAware, org.springframework.web.portlet.context.PortletConfigAware
| Constructor and Description |
|---|
OnlyofficeController()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
checkClosed(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response) |
String |
getApiUrl(javax.portlet.PortletRequest portletRequest,
javax.portlet.PortletResponse portletResponse) |
String |
getOnlyOfficeConfig(javax.portlet.PortletRequest portletRequest,
javax.portlet.PortletResponse portletResponse) |
Map<String,String> |
getToolbarProperties(javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response)
Get toolbar properties model attribute.
|
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, serveResourceEditor, 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 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.PortletContextAware@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@ActionMapping(params="action=checkClosed")
public void checkClosed(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response)
throws javax.portlet.PortletException
javax.portlet.PortletException@ModelAttribute(value="apiUrl") public String getApiUrl(javax.portlet.PortletRequest portletRequest, javax.portlet.PortletResponse portletResponse)
@ModelAttribute(value="onlyOfficeConfig") public String getOnlyOfficeConfig(javax.portlet.PortletRequest portletRequest, javax.portlet.PortletResponse portletResponse) throws javax.portlet.PortletException
javax.portlet.PortletException@ModelAttribute(value="toolbarProperties") public Map<String,String> getToolbarProperties(javax.portlet.PortletRequest request, javax.portlet.PortletResponse response) throws javax.portlet.PortletException, IOException
request - portlet requestresponse - portlet responsejavax.portlet.PortletExceptionIOExceptionCopyright © 2021. All rights reserved.