|
||||||||||
| 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 boolean |
init(org.exoplatform.web.application.RequestContext requestContext,
String workspace,
String nodePath)
Initialize request with Cloud Drive support for given JCR location. |
static boolean |
init(org.exoplatform.web.application.RequestContext requestContext,
String workspace,
String nodePath,
org.exoplatform.clouddrive.CloudProvider provider)
Initialize request with Cloud Drive support for given JCR location and CloudProvider. |
static boolean |
initNodes(org.exoplatform.web.application.RequestContext requestContext,
javax.jcr.Node parent)
Initialize already connected drives for a request and given JCR location. |
static boolean |
initProviders(org.exoplatform.web.application.RequestContext requestContext,
org.exoplatform.clouddrive.CloudProvider... providers)
Initialize request with Cloud Drive providers CloudProvider. |
| 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 boolean init(org.exoplatform.web.application.RequestContext requestContext,
String workspace,
String nodePath,
org.exoplatform.clouddrive.CloudProvider provider)
throws org.exoplatform.clouddrive.CloudDriveException
CloudProvider.
requestContext - RequestContextworkspace - StringnodePath - Stringprovider - CloudProvider optional, if null then any provider will be assumed
true if request successfully initialized, false if request
already
initialized
org.exoplatform.clouddrive.CloudDriveException - if cannot auth url from the provider
public static boolean init(org.exoplatform.web.application.RequestContext requestContext,
String workspace,
String nodePath)
throws org.exoplatform.clouddrive.CloudDriveException
requestContext - RequestContextworkspace - StringnodePath - String
true if request successfully initialized, false if request
already initialized
org.exoplatform.clouddrive.CloudDriveException - if cannot auth url from the provider
public static boolean initNodes(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 boolean initProviders(org.exoplatform.web.application.RequestContext requestContext,
org.exoplatform.clouddrive.CloudProvider... providers)
throws org.exoplatform.clouddrive.CloudDriveException
CloudProvider.
requestContext - RequestContextproviders - array of CloudProvider to add to the request context
org.exoplatform.clouddrive.CloudDriveException - if cannot auth url from the provider
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||