public class SynchEngineImpl extends Object implements SyncEngine
| Constructor and Description |
|---|
SynchEngineImpl() |
| Modifier and Type | Method and Description |
|---|---|
SyncFolderDescriptor |
check(String folderId,
boolean recursively) |
SyncOperationTicket |
doSync(String folderId) |
SynchronizedElementInfo |
getInfo(String elementId) |
void |
registerCallBack(String folderId,
SyncOperationCallBack callback) |
void |
setSynchronizedFolder(SynchFolderConfiguration config,
String folderId) |
void |
stopSynch(String folderId) |
void |
unsetSynchronizedFolder(String folderId,
boolean deleteRemoteContent) |
void |
updateCatalogFile(String folderId,
File toUpdate) |
public SyncFolderDescriptor check(String folderId, boolean recursively) throws WorkspaceInteractionException, InternalException
check in interface SyncEngineWorkspaceInteractionExceptionInternalExceptionpublic void registerCallBack(String folderId, SyncOperationCallBack callback) throws ProcessNotFoundException
registerCallBack in interface SyncEngineProcessNotFoundExceptionpublic SyncOperationTicket doSync(String folderId)
doSync in interface SyncEnginepublic void stopSynch(String folderId) throws ProcessNotFoundException
stopSynch in interface SyncEngineProcessNotFoundExceptionpublic void setSynchronizedFolder(SynchFolderConfiguration config, String folderId) throws WorkspaceInteractionException, InternalException
setSynchronizedFolder in interface SyncEngineWorkspaceInteractionExceptionInternalExceptionpublic void unsetSynchronizedFolder(String folderId, boolean deleteRemoteContent) throws WorkspaceInteractionException, InternalException
unsetSynchronizedFolder in interface SyncEngineWorkspaceInteractionExceptionInternalExceptionpublic SynchronizedElementInfo getInfo(String elementId)
getInfo in interface SyncEnginepublic void updateCatalogFile(String folderId, File toUpdate)
updateCatalogFile in interface SyncEngineCopyright © 2018. All Rights Reserved.