protected class JCRLocalDropboxDrive.Connect extends Object implements JCRLocalDropboxDrive.Changes
| Modifier and Type | Field and Description |
|---|---|
protected DropboxAPI |
api
The api.
|
| Modifier | Constructor and Description |
|---|---|
protected |
Connect()
Instantiates a new connect.
|
| Modifier and Type | Method and Description |
|---|---|
void |
apply(org.exoplatform.clouddrive.jcr.JCRLocalCloudFile localFile)
Process locally applied file (it can be any extra operations including the gathering of effected
files/stats or chunk saving in JRC).
|
boolean |
canApply(String parentId,
String fileId)
Answers if given file ID under its parent (by ID) already applied locally.
|
protected void |
fetchFiles() |
protected final DropboxAPI api
protected Connect()
throws javax.jcr.RepositoryException,
org.exoplatform.clouddrive.DriveRemovedException
javax.jcr.RepositoryException - the repository exceptionorg.exoplatform.clouddrive.DriveRemovedException - the drive removed exceptionprotected void fetchFiles()
throws org.exoplatform.clouddrive.CloudDriveException,
javax.jcr.RepositoryException
org.exoplatform.clouddrive.CloudDriveExceptionjavax.jcr.RepositoryExceptionpublic void apply(org.exoplatform.clouddrive.jcr.JCRLocalCloudFile localFile)
throws javax.jcr.RepositoryException,
org.exoplatform.clouddrive.CloudDriveException
apply in interface JCRLocalDropboxDrive.ChangeslocalFile - JCRLocalCloudFile changed filejavax.jcr.RepositoryException - the repository exceptionorg.exoplatform.clouddrive.CloudDriveException - the cloud drive exceptionpublic boolean canApply(String parentId, String fileId)
canApply in interface JCRLocalDropboxDrive.ChangesparentId - StringfileId - Stringtrue if file was already applied, false otherwise.Copyright © 2003–2017 eXo Platform SAS. All rights reserved.