public class OnlyofficeEditorContext extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static String |
JAVASCRIPT
The Constant JAVASCRIPT.
|
protected static org.exoplatform.services.log.Log |
LOG
The Constant LOG.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
close(org.exoplatform.web.application.RequestContext requestContext)
Close.
|
static void |
init(org.exoplatform.web.application.RequestContext requestContext,
String workspace,
String nodePath)
Initialize request with Onlyoffice support for given JCR location.
|
static void |
open(org.exoplatform.web.application.RequestContext requestContext)
Open.
|
static void |
showInfo(org.exoplatform.web.application.RequestContext requestContext,
String title,
String message)
Show info notification to the user.
|
protected static final String JAVASCRIPT
protected static final org.exoplatform.services.log.Log LOG
public static void init(org.exoplatform.web.application.RequestContext requestContext,
String workspace,
String nodePath)
throws OnlyofficeEditorException
requestContext - RequestContextworkspace - StringnodePath - StringOnlyofficeEditorException - if cannot auth url from the providerpublic static void open(org.exoplatform.web.application.RequestContext requestContext)
throws OnlyofficeEditorException
requestContext - the request contextOnlyofficeEditorException - the onlyoffice editor exceptionpublic static void close(org.exoplatform.web.application.RequestContext requestContext)
throws OnlyofficeEditorException
requestContext - the request contextOnlyofficeEditorException - the onlyoffice editor exceptionpublic static void showInfo(org.exoplatform.web.application.RequestContext requestContext,
String title,
String message)
throws javax.jcr.RepositoryException,
OnlyofficeEditorException
requestContext - the request contexttitle - Stringmessage - Stringjavax.jcr.RepositoryException - the repository exceptionOnlyofficeEditorException - the onlyoffice editor exceptionCopyright © 2003–2018 eXo Platform SAS. All rights reserved.