public class CloudDriveContext 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 |
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 - UIComponentExceptionpublic 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, CloudProvider) method.requestContext - RequestContextparent - Nodetrue if nodes successfully initialized, false if nodes already
initializedjavax.jcr.RepositoryExceptionorg.exoplatform.clouddrive.CloudDriveException#init(RequestContext, String, String)},
#init(RequestContext, String, String, CloudProvider)}Copyright © 2003–2016 eXo Platform SAS. All rights reserved.