protected class JCRLocalCMISDrive.Sync.TraversingAlgorithm extends Object
| Modifier and Type | Class and Description |
|---|---|
protected class |
JCRLocalCMISDrive.Sync.TraversingAlgorithm.CMISItem
The Class CMISItem.
|
protected class |
JCRLocalCMISDrive.Sync.TraversingAlgorithm.FolderReader
The Class FolderReader.
|
| Modifier and Type | Field and Description |
|---|---|
protected Queue<JCRLocalCMISDrive.Sync.TraversingAlgorithm.CMISItem> |
allItems
The all items.
|
protected Map<String,List<javax.jcr.Node>> |
allLocal
The all local.
|
protected Queue<Future<org.apache.chemistry.opencmis.client.api.Folder>> |
readers
The readers.
|
| Modifier | Constructor and Description |
|---|---|
protected |
TraversingAlgorithm() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
isReadDone()
Checks if is read done.
|
protected Future<org.apache.chemistry.opencmis.client.api.Folder> |
readItems(String folderId)
Read items.
|
protected org.apache.chemistry.opencmis.client.api.Folder |
syncChilds(String folderId)
Sync childs.
|
protected void |
syncFiles()
Sync files.
|
protected final Queue<JCRLocalCMISDrive.Sync.TraversingAlgorithm.CMISItem> allItems
protected Future<org.apache.chemistry.opencmis.client.api.Folder> readItems(String folderId) throws javax.jcr.RepositoryException, org.exoplatform.clouddrive.CloudDriveException
folderId - the folder idjavax.jcr.RepositoryException - the repository exceptionorg.exoplatform.clouddrive.CloudDriveException - the cloud drive exceptionprotected void syncFiles()
throws javax.jcr.RepositoryException,
org.exoplatform.clouddrive.CloudDriveException,
InterruptedException
javax.jcr.RepositoryException - the repository exceptionorg.exoplatform.clouddrive.CloudDriveException - the cloud drive exceptionInterruptedException - the interrupted exceptionprotected boolean isReadDone()
protected org.apache.chemistry.opencmis.client.api.Folder syncChilds(String folderId) throws javax.jcr.RepositoryException, org.exoplatform.clouddrive.CloudDriveException, InterruptedException
folderId - the folder idjavax.jcr.RepositoryException - the repository exceptionorg.exoplatform.clouddrive.CloudDriveException - the cloud drive exceptionInterruptedException - the interrupted exceptionCopyright © 2003–2020 eXo Platform SAS. All rights reserved.