public class DropboxService extends Object implements org.exoplatform.services.rest.resource.ResourceContainer
| Modifier and Type | Field and Description |
|---|---|
protected org.exoplatform.clouddrive.CloudDriveService |
cloudDrives
The cloud drives.
|
protected org.exoplatform.clouddrive.features.CloudDriveFeatures |
features
The features.
|
protected org.exoplatform.services.jcr.RepositoryService |
jcrService
The jcr service.
|
protected static org.exoplatform.services.log.Log |
LOG
The Constant LOG.
|
protected org.exoplatform.services.jcr.ext.app.SessionProviderService |
sessionProviders
The session providers.
|
| Constructor and Description |
|---|
DropboxService(org.exoplatform.clouddrive.CloudDriveService cloudDrives,
org.exoplatform.clouddrive.features.CloudDriveFeatures features,
org.exoplatform.services.jcr.RepositoryService jcrService,
org.exoplatform.services.jcr.ext.app.SessionProviderService sessionProviders)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
getFileLink(javax.ws.rs.core.UriInfo uriInfo,
String workspace,
String path,
String contentId)
Return content of a file existing on cloud side.
|
protected static final org.exoplatform.services.log.Log LOG
protected final org.exoplatform.clouddrive.features.CloudDriveFeatures features
protected final org.exoplatform.clouddrive.CloudDriveService cloudDrives
protected final org.exoplatform.services.jcr.RepositoryService jcrService
protected final org.exoplatform.services.jcr.ext.app.SessionProviderService sessionProviders
public DropboxService(org.exoplatform.clouddrive.CloudDriveService cloudDrives,
org.exoplatform.clouddrive.features.CloudDriveFeatures features,
org.exoplatform.services.jcr.RepositoryService jcrService,
org.exoplatform.services.jcr.ext.app.SessionProviderService sessionProviders)
cloudDrives - the cloud drivesfeatures - the featuresjcrService - the jcr servicesessionProviders - the session providers@RolesAllowed(value="users") public javax.ws.rs.core.Response getFileLink(@Context javax.ws.rs.core.UriInfo uriInfo, String workspace, String path, String contentId)
uriInfo - the uri infoworkspace - the workspacepath - the pathcontentId - the content idCopyright © 2003–2018 eXo Platform SAS. All rights reserved.