public class CloudDriveContext 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 |
init(org.exoplatform.web.application.RequestContext requestContext)
Initialize request with Cloud Drive support (global settings only).
|
static void |
init(org.exoplatform.web.application.RequestContext requestContext,
String workspace,
String nodePath)
Initialize request with Cloud Drive support for given JCR location and
CloudProvider. |
static void |
init(org.exoplatform.webui.core.UIComponent uiComponent)
Initialize request with Cloud Drive support from given WebUI component.
|
static boolean |
initConnected(org.exoplatform.web.application.RequestContext requestContext,
javax.jcr.Node parent)
Initialize already connected drives for a request and given JCR location.
|
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.webui.core.UIComponent uiComponent)
throws Exception
uiComponent - UIComponentException - the exceptionpublic static void init(org.exoplatform.web.application.RequestContext requestContext)
throws org.exoplatform.clouddrive.CloudDriveException
requestContext - the request contextorg.exoplatform.clouddrive.CloudDriveException - the cloud drive exceptionpublic static void init(org.exoplatform.web.application.RequestContext requestContext,
String workspace,
String nodePath)
throws org.exoplatform.clouddrive.CloudDriveException
CloudProvider.public static boolean initConnected(org.exoplatform.web.application.RequestContext requestContext,
javax.jcr.Node parent)
throws javax.jcr.RepositoryException,
org.exoplatform.clouddrive.CloudDriveException
init(RequestContext, String, String) method.requestContext - RequestContextparent - Nodetrue if nodes successfully initialized,
false if nodes already initializedjavax.jcr.RepositoryException - the repository exceptionorg.exoplatform.clouddrive.CloudDriveException - the cloud drive exceptioninit(RequestContext, String, String)Copyright © 2003–2020 eXo Platform SAS. All rights reserved.