org.exoplatform.clouddrive.box
Class JCRLocalBoxDrive.FullSync
java.lang.Object
org.exoplatform.clouddrive.box.JCRLocalBoxDrive.FullSync
- All Implemented Interfaces:
- org.exoplatform.clouddrive.CloudDrive.Command
- Enclosing class:
- JCRLocalBoxDrive
protected class JCRLocalBoxDrive.FullSync
- extends Object
Sync algorithm for Box drive based on all remote files traversing: we do
compare all remote files with locals by its Etag and fetch an item if the tags differ.
| Fields inherited from interface org.exoplatform.clouddrive.CloudDrive.Command |
COMPLETE |
|
Method Summary |
protected void |
execLocal()
Execute full sync from current thread. |
protected com.box.boxjavalibv2.dao.BoxFolder |
syncChilds(String folderId,
javax.jcr.Node parent)
|
protected void |
syncFiles()
|
api
protected final BoxAPI api
- Box API.
JCRLocalBoxDrive.FullSync
protected JCRLocalBoxDrive.FullSync()
throws javax.jcr.RepositoryException,
org.exoplatform.clouddrive.DriveRemovedException
- Create command for Box synchronization.
- Throws:
javax.jcr.RepositoryException
org.exoplatform.clouddrive.DriveRemovedException
syncFiles
protected void syncFiles()
throws javax.jcr.RepositoryException,
org.exoplatform.clouddrive.CloudDriveException
-
- Throws:
javax.jcr.RepositoryException
org.exoplatform.clouddrive.CloudDriveException
syncChilds
protected com.box.boxjavalibv2.dao.BoxFolder syncChilds(String folderId,
javax.jcr.Node parent)
throws javax.jcr.RepositoryException,
org.exoplatform.clouddrive.CloudDriveException
- Throws:
javax.jcr.RepositoryException
org.exoplatform.clouddrive.CloudDriveException
execLocal
protected void execLocal()
throws org.exoplatform.clouddrive.CloudDriveException,
javax.jcr.RepositoryException
- Execute full sync from current thread.
- Throws:
org.exoplatform.clouddrive.CloudDriveException
javax.jcr.RepositoryException
Copyright © 2003–2014 eXo Platform SAS. All rights reserved.