public class FileSyncHandler extends java.lang.Object implements TaskHandler
| Modifier and Type | Field and Description | 
|---|---|
| static java.lang.String | FILE_CLASSDUPLICATED class ID of DBFile so that this can be  an external application. | 
| static java.lang.String | FILE_LOCATION_CLASSDUPLICATED class ID of DBFileLocation so that this can be  an external application. | 
| Constructor and Description | 
|---|
| FileSyncHandler() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | beginTask(TaskManager manager,
         Executor executor,
         java.lang.String xml)begin the task and process any parameters | 
| void | handleTask(Executor executor,
          java.lang.String transid,
          SoapResultSet transRecord)Just call FILE FETCH file_key LOCATION location_code to pull the file to
 the given file store whenever a file changes. | 
| void | setFileStoreCode(java.lang.String code)set the file store code. | 
public static final java.lang.String FILE_CLASS
public static final java.lang.String FILE_LOCATION_CLASS
public void setFileStoreCode(java.lang.String code)
code - the codepublic void beginTask(TaskManager manager, Executor executor, java.lang.String xml) throws java.lang.Exception
beginTask in interface TaskHandlerxml - the XMLmanager - the task managerexecutor - the server connectionjava.lang.Exception - a serious problempublic void handleTask(Executor executor, java.lang.String transid, SoapResultSet transRecord) throws java.lang.Exception
handleTask in interface TaskHandlerexecutor - the soap executortransid - the transaction id to handletransRecord - the transaction record for the transaction
    +--------+--------+--------+----------------+----------+------+-----------+
    |trans_id|layer_id|dbclass |global_key      |row_uid   |action|action_name|
    +--------+--------+--------+----------------+----------+------+-----------+
    |   82115|       1|DBFolder|4295260035~765@1|4295260035|D     |Delete     |
    |   82115|       1|DBFolder|4295260038~765@1|4295260038|D     |Delete     |
    +--------+--------+--------+----------------+----------+------+-----------+java.lang.Exception - a serious problemstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.