|
@@ -31,6 +31,7 @@ public class SyncedFolderDisplayItem extends SyncedFolder {
|
|
private List<String> filePaths;
|
|
private List<String> filePaths;
|
|
private String folderName;
|
|
private String folderName;
|
|
private long numberOfFiles;
|
|
private long numberOfFiles;
|
|
|
|
+ private int type;
|
|
|
|
|
|
/**
|
|
/**
|
|
* constructor for the display item specialization for a synced folder object.
|
|
* constructor for the display item specialization for a synced folder object.
|
|
@@ -47,14 +48,16 @@ public class SyncedFolderDisplayItem extends SyncedFolder {
|
|
* @param filePaths the UI info for the file path
|
|
* @param filePaths the UI info for the file path
|
|
* @param folderName the UI info for the folder's name
|
|
* @param folderName the UI info for the folder's name
|
|
* @param numberOfFiles the UI info for number of files within the folder
|
|
* @param numberOfFiles the UI info for number of files within the folder
|
|
|
|
+ * @param type the type of the folder
|
|
*/
|
|
*/
|
|
public SyncedFolderDisplayItem(long id, String localPath, String remotePath, Boolean wifiOnly, Boolean chargingOnly,
|
|
public SyncedFolderDisplayItem(long id, String localPath, String remotePath, Boolean wifiOnly, Boolean chargingOnly,
|
|
Boolean subfolderByDate, String account, Integer uploadAction, Boolean enabled,
|
|
Boolean subfolderByDate, String account, Integer uploadAction, Boolean enabled,
|
|
- List<String> filePaths, String folderName, long numberOfFiles) {
|
|
|
|
|
|
+ List<String> filePaths, String folderName, long numberOfFiles, int type) {
|
|
super(id, localPath, remotePath, wifiOnly, chargingOnly, subfolderByDate, account, uploadAction, enabled);
|
|
super(id, localPath, remotePath, wifiOnly, chargingOnly, subfolderByDate, account, uploadAction, enabled);
|
|
this.filePaths = filePaths;
|
|
this.filePaths = filePaths;
|
|
this.folderName = folderName;
|
|
this.folderName = folderName;
|
|
this.numberOfFiles = numberOfFiles;
|
|
this.numberOfFiles = numberOfFiles;
|
|
|
|
+ this.type = type;
|
|
}
|
|
}
|
|
|
|
|
|
public SyncedFolderDisplayItem(long id, String localPath, String remotePath, Boolean wifiOnly, Boolean chargingOnly,
|
|
public SyncedFolderDisplayItem(long id, String localPath, String remotePath, Boolean wifiOnly, Boolean chargingOnly,
|
|
@@ -64,7 +67,6 @@ public class SyncedFolderDisplayItem extends SyncedFolder {
|
|
this.folderName = folderName;
|
|
this.folderName = folderName;
|
|
}
|
|
}
|
|
|
|
|
|
-
|
|
|
|
public List<String> getFilePaths() {
|
|
public List<String> getFilePaths() {
|
|
return filePaths;
|
|
return filePaths;
|
|
}
|
|
}
|
|
@@ -88,4 +90,12 @@ public class SyncedFolderDisplayItem extends SyncedFolder {
|
|
public void setNumberOfFiles(long numberOfFiles) {
|
|
public void setNumberOfFiles(long numberOfFiles) {
|
|
this.numberOfFiles = numberOfFiles;
|
|
this.numberOfFiles = numberOfFiles;
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ public int getType() {
|
|
|
|
+ return type;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setType(int type) {
|
|
|
|
+ this.type = type;
|
|
|
|
+ }
|
|
}
|
|
}
|