public class GetSyncDLObjectUpdateHandler extends BaseSyncDLObjectHandler
Constructor and Description |
---|
GetSyncDLObjectUpdateHandler(Event event) |
Modifier and Type | Method and Description |
---|---|
protected void |
addFile(SyncFile syncFile,
java.lang.String filePathName) |
protected void |
copyFile(SyncFile sourceSyncFile,
SyncFile targetSyncFile) |
protected void |
deleteFile(SyncFile sourceSyncFile,
boolean trashed) |
protected void |
downloadFile(SyncFile syncFile,
java.lang.String sourceVersion,
long sourceVersionId,
boolean patch) |
protected boolean |
isIgnoredFilePath(SyncFile syncFile,
java.lang.String filePathName) |
protected void |
logResponse(java.lang.String response) |
protected void |
moveFile(SyncFile sourceSyncFile,
SyncFile targetSyncFile,
java.lang.String targetFilePathName) |
protected void |
processDependentSyncFiles(SyncFile syncFile) |
void |
processFinally() |
void |
processResponse(java.lang.String response) |
protected void |
processSyncFile(SyncFile targetSyncFile) |
protected void |
queueSyncFile(long parentFolderId,
SyncFile syncFile) |
protected void |
updateFile(SyncFile sourceSyncFile,
SyncFile targetSyncFile,
java.lang.String filePathName) |
processFilePathChange
doHandleResponse, getException, getResponseString, handlePortalException, handleResponse
getLocalSyncFile, getParameters, getParameterValue, getSyncAccountId, handleException, handleSiteDeactivatedException, isEventCancelled, removeEvent, retryServerConnection
public GetSyncDLObjectUpdateHandler(Event event)
public void processFinally()
processFinally
in interface Handler<java.lang.Void>
processFinally
in class BaseHandler
public void processResponse(java.lang.String response) throws java.lang.Exception
processResponse
in interface Handler<java.lang.Void>
processResponse
in class BaseHandler
java.lang.Exception
protected void addFile(SyncFile syncFile, java.lang.String filePathName) throws java.lang.Exception
java.lang.Exception
protected void copyFile(SyncFile sourceSyncFile, SyncFile targetSyncFile) throws java.lang.Exception
java.lang.Exception
protected void deleteFile(SyncFile sourceSyncFile, boolean trashed) throws java.lang.Exception
java.lang.Exception
protected void downloadFile(SyncFile syncFile, java.lang.String sourceVersion, long sourceVersionId, boolean patch) throws java.lang.Exception
java.lang.Exception
protected boolean isIgnoredFilePath(SyncFile syncFile, java.lang.String filePathName)
protected void logResponse(java.lang.String response)
logResponse
in class BaseJSONHandler
protected void moveFile(SyncFile sourceSyncFile, SyncFile targetSyncFile, java.lang.String targetFilePathName) throws java.lang.Exception
java.lang.Exception
protected void processDependentSyncFiles(SyncFile syncFile)
protected void processSyncFile(SyncFile targetSyncFile)
protected void queueSyncFile(long parentFolderId, SyncFile syncFile)