@Service public class OnlyofficeImpl extends Object implements IOnlyofficeService
| Constructor and Description |
|---|
OnlyofficeImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
askForLocking(fr.toutatice.portail.cms.nuxeo.api.NuxeoController nuxeoController)
Test if current document can be locked.
|
String |
getCloseRedirectionUrl(org.osivia.portal.api.context.PortalControllerContext portalControllerContext,
String documentId)
Get close redirection URL.
|
String |
getOnlyOfficeConfig(javax.portlet.PortletRequest portletRequest,
javax.portlet.PortletResponse portletResponse,
javax.portlet.PortletContext portletContext,
String documentPath) |
Map<String,String> |
getToolbarProperties(org.osivia.portal.api.context.PortalControllerContext portalControllerContext)
Get toolbar properties.
|
void |
lockTemporary(fr.toutatice.portail.cms.nuxeo.api.NuxeoController nuxeoController)
Lock document during edition
|
boolean |
waitForRefresh(org.osivia.portal.api.context.PortalControllerContext pcc,
String uuid)
Call nuxeo cache for current editing users.
|
public String getOnlyOfficeConfig(javax.portlet.PortletRequest portletRequest, javax.portlet.PortletResponse portletResponse, javax.portlet.PortletContext portletContext, String documentPath) throws javax.portlet.PortletException
getOnlyOfficeConfig in interface IOnlyofficeServicejavax.portlet.PortletExceptionpublic Map<String,String> getToolbarProperties(org.osivia.portal.api.context.PortalControllerContext portalControllerContext) throws javax.portlet.PortletException, IOException
getToolbarProperties in interface IOnlyofficeServiceportalControllerContext - portal controller contextjavax.portlet.PortletExceptionIOExceptionpublic boolean waitForRefresh(org.osivia.portal.api.context.PortalControllerContext pcc,
String uuid)
IOnlyofficeServicewaitForRefresh in interface IOnlyofficeServiceuuid - nuxeo docidpublic boolean askForLocking(fr.toutatice.portail.cms.nuxeo.api.NuxeoController nuxeoController)
throws javax.portlet.PortletException
IOnlyofficeServiceaskForLocking in interface IOnlyofficeServicejavax.portlet.PortletExceptionpublic void lockTemporary(fr.toutatice.portail.cms.nuxeo.api.NuxeoController nuxeoController)
throws javax.portlet.PortletException
IOnlyofficeServicelockTemporary in interface IOnlyofficeServicejavax.portlet.PortletExceptionpublic String getCloseRedirectionUrl(org.osivia.portal.api.context.PortalControllerContext portalControllerContext, String documentId)
IOnlyofficeServicegetCloseRedirectionUrl in interface IOnlyofficeServiceportalControllerContext - portal controller contextdocumentId - document identifierCopyright © 2021. All rights reserved.