public class FileEventUtil
extends java.lang.Object
Constructor and Description |
---|
FileEventUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
addFile(java.nio.file.Path filePath,
long folderId,
long repositoryId,
long syncAccountId,
java.lang.String checksum,
java.lang.String name,
java.lang.String mimeType,
SyncFile syncFile) |
static void |
addFolder(long parentFolderId,
long repositoryId,
long syncAccountId,
java.lang.String name,
SyncFile syncFile) |
static void |
cancelCheckOut(long syncAccountId,
SyncFile syncFile) |
static void |
checkInFile(long syncAccountId,
SyncFile syncFile) |
static void |
checkOutFile(long syncAccountId,
SyncFile syncFile) |
static void |
copyFile(long sourceFileEntryId,
long folderId,
long repositoryId,
long syncAccountId,
java.lang.String name,
SyncFile syncFile) |
static void |
deleteFile(long syncAccountId,
SyncFile syncFile) |
static void |
deleteFolder(long syncAccountId,
SyncFile syncFile) |
static void |
downloadFile(long syncAccountId,
SyncFile syncFile) |
static void |
downloadFile(long syncAccountId,
SyncFile syncFile,
boolean batch) |
static void |
downloadPatch(long sourceVersionId,
long syncAccountId,
SyncFile syncFile,
long targetVersionId) |
static java.util.List<SyncFile> |
getAllFolders(long companyId,
long repositoryId,
long syncAccountId) |
static void |
moveFile(long folderId,
long syncAccountId,
SyncFile syncFile) |
static void |
moveFolder(long parentFolderId,
long syncAccountId,
SyncFile syncFile) |
static void |
resyncFolder(long syncAccountId,
SyncFile syncFile) |
static void |
retryFileTransfers(long syncAccountId) |
static void |
updateFile(java.nio.file.Path filePath,
long syncAccountId,
SyncFile syncFile,
java.nio.file.Path deltaFilePath,
java.lang.String name,
java.lang.String sourceChecksum,
java.lang.String sourceFileName,
long sourceVersionId,
java.lang.String targetChecksum) |
static void |
updateFolder(java.nio.file.Path filePath,
long syncAccountId,
SyncFile syncFile) |
public static void addFile(java.nio.file.Path filePath, long folderId, long repositoryId, long syncAccountId, java.lang.String checksum, java.lang.String name, java.lang.String mimeType, SyncFile syncFile)
public static void addFolder(long parentFolderId, long repositoryId, long syncAccountId, java.lang.String name, SyncFile syncFile)
public static void cancelCheckOut(long syncAccountId, SyncFile syncFile)
public static void checkInFile(long syncAccountId, SyncFile syncFile)
public static void checkOutFile(long syncAccountId, SyncFile syncFile)
public static void copyFile(long sourceFileEntryId, long folderId, long repositoryId, long syncAccountId, java.lang.String name, SyncFile syncFile)
public static void deleteFile(long syncAccountId, SyncFile syncFile)
public static void deleteFolder(long syncAccountId, SyncFile syncFile)
public static void downloadFile(long syncAccountId, SyncFile syncFile)
public static void downloadFile(long syncAccountId, SyncFile syncFile, boolean batch)
public static void downloadPatch(long sourceVersionId, long syncAccountId, SyncFile syncFile, long targetVersionId)
public static java.util.List<SyncFile> getAllFolders(long companyId, long repositoryId, long syncAccountId)
public static void moveFile(long folderId, long syncAccountId, SyncFile syncFile)
public static void moveFolder(long parentFolderId, long syncAccountId, SyncFile syncFile)
public static void resyncFolder(long syncAccountId, SyncFile syncFile)
public static void retryFileTransfers(long syncAccountId) throws java.io.IOException
java.io.IOException
public static void updateFile(java.nio.file.Path filePath, long syncAccountId, SyncFile syncFile, java.nio.file.Path deltaFilePath, java.lang.String name, java.lang.String sourceChecksum, java.lang.String sourceFileName, long sourceVersionId, java.lang.String targetChecksum) throws java.io.IOException
java.io.IOException
public static void updateFolder(java.nio.file.Path filePath, long syncAccountId, SyncFile syncFile)