public class OnlyofficeEditorContext extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static String |
JAVASCRIPT |
protected static org.exoplatform.services.log.Log |
LOG |
| Modifier and Type | Method and Description |
|---|---|
static void |
close(org.exoplatform.web.application.RequestContext requestContext) |
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) |
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
OnlyofficeEditorExceptionpublic static void close(org.exoplatform.web.application.RequestContext requestContext)
throws OnlyofficeEditorException
OnlyofficeEditorExceptionpublic static void showInfo(org.exoplatform.web.application.RequestContext requestContext,
String title,
String message)
throws javax.jcr.RepositoryException,
OnlyofficeEditorException
title - Stringmessage - Stringjavax.jcr.RepositoryExceptionCloudDriveExceptionOnlyofficeEditorExceptionCopyright © 2003–2016 eXo Platform SAS. All rights reserved.