public interface SyncEngine
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, WorkspaceInteractionException, InternalException
void setSynchronizedFolder(SynchFolderConfiguration config, String folderId) throws WorkspaceInteractionException, InternalException
void unsetSynchronizedFolder(String folderId, boolean deleteRemoteContent) throws WorkspaceInteractionException, InternalException
SynchronizedElementInfo getInfo(String elementId)
elementId - void updateCatalogFile(String folderId, File toUpdate) throws InternalException, WorkspaceInteractionException
void forceUnlock(String folderId) throws InternalException, WorkspaceInteractionException
folderId - InternalExceptionWorkspaceInteractionExceptionvoid shutDown()
ProcessDescriptor getProcessDescriptorByFolderId(String folderId) throws ProcessNotFoundException
ProcessNotFoundExceptionProcessStatus getProcessStatusByFolderId(String folderId) throws ProcessNotFoundException
ProcessNotFoundExceptionvoid setRequestLogger(String path)
boolean isRequestLoggerEnabled()
String getRequestLoggerPath()
Set<CatalogBean> getAvailableCatalogs() throws InternalException
InternalExceptionSyncEngineStatusDescriptor getStatus()
SynchFolderConfiguration getConfig(String fodlerId) throws WorkspaceInteractionException, WorkspaceNotSynchedException
static SynchronizedElementInfo parseInfo(Map<String,Object> itemProperties, ContainerType itemType) throws WorkspaceNotSynchedException
WorkspaceNotSynchedExceptionCopyright © 2021. All Rights Reserved.