public interface SyncEngine
| Modifier and Type | Method and Description |
|---|---|
SyncFolderDescriptor |
check(String folderId,
boolean recursively) |
ProcessDescriptor |
doSync(String folderId) |
void |
forceUnlock(String folderId) |
static SyncEngine |
get() |
Set<CatalogBean> |
getAvailableCatalogsByToken(String token) |
SynchronizedElementInfo |
getInfo(String elementId) |
ProcessDescriptor |
getProcessDescriptorByFolderId(String folderId) |
ProcessStatus |
getProcessStatusByFolderId(String folderId) |
String |
getRequestLoggerPath() |
SyncEngineStatusDescriptor |
getStatus() |
boolean |
isRequestLoggerEnabled() |
void |
registerCallBack(String folderId,
SyncOperationCallBack callback) |
void |
setRequestLogger(String path) |
void |
setSynchronizedFolder(SynchFolderConfiguration config,
String folderId) |
void |
shutDown() |
void |
stopSynch(String folderId) |
void |
unsetSynchronizedFolder(String folderId,
boolean deleteRemoteContent) |
void |
updateCatalogFile(String folderId,
File toUpdate) |
static SyncEngine get()
SyncFolderDescriptor check(String folderId, boolean recursively) throws WorkspaceInteractionException, InternalException
void registerCallBack(String folderId, SyncOperationCallBack callback) throws ProcessNotFoundException
ProcessNotFoundExceptionProcessDescriptor doSync(String folderId) throws WorkspaceInteractionException, InternalException
void stopSynch(String folderId) throws ProcessNotFoundException
ProcessNotFoundExceptionvoid setSynchronizedFolder(SynchFolderConfiguration config, String folderId) throws WorkspaceInteractionException, InternalException
void unsetSynchronizedFolder(String folderId, boolean deleteRemoteContent) throws WorkspaceInteractionException, InternalException
SynchronizedElementInfo getInfo(String elementId)
void updateCatalogFile(String folderId, File toUpdate) throws InternalException
InternalExceptionvoid forceUnlock(String folderId) throws InternalException, WorkspaceInteractionException
void shutDown()
ProcessDescriptor getProcessDescriptorByFolderId(String folderId) throws ProcessNotFoundException
ProcessNotFoundExceptionProcessStatus getProcessStatusByFolderId(String folderId) throws ProcessNotFoundException
ProcessNotFoundExceptionvoid setRequestLogger(String path)
boolean isRequestLoggerEnabled()
String getRequestLoggerPath()
Set<CatalogBean> getAvailableCatalogsByToken(String token) throws InternalException
InternalExceptionSyncEngineStatusDescriptor getStatus()
Copyright © 2021. All Rights Reserved.