|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.clouddrive.ecms.CloudDriveContext
public class CloudDriveContext
Initialize Cloud Drive support in portal request.
Created by The eXo Platform SAS.
| Field Summary | |
|---|---|
protected static String |
JAVASCRIPT
|
protected static org.exoplatform.services.log.Log |
LOG
|
| Method Summary | |
|---|---|
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 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final String JAVASCRIPT
protected static final org.exoplatform.services.log.Log LOG
| Method Detail |
|---|
public static void init(org.exoplatform.web.application.RequestContext requestContext,
String workspace,
String nodePath)
throws org.exoplatform.clouddrive.CloudDriveException
CloudProvider.
requestContext - RequestContextworkspace - StringnodePath - String
org.exoplatform.clouddrive.CloudDriveException - if cannot auth url from the provider
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 - Node
true if nodes successfully initialized, false if nodes already
initialized
javax.jcr.RepositoryException
org.exoplatform.clouddrive.CloudDriveException#init(RequestContext, String, String)},
#init(RequestContext, String, String, CloudProvider)}
public static void showInfo(org.exoplatform.web.application.RequestContext requestContext,
String title,
String message)
throws javax.jcr.RepositoryException,
org.exoplatform.clouddrive.CloudDriveException
title - Stringmessage - String
javax.jcr.RepositoryException
org.exoplatform.clouddrive.CloudDriveException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||