1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.student.common.ui.client.dto;
17
18 import java.io.Serializable;
19 import java.util.ArrayList;
20 import java.util.List;
21
22
23
24
25
26
27
28 @Deprecated
29 public class UploadStatus implements Serializable{
30
31 private static final long serialVersionUID = 1L;
32
33 public static enum UploadTransferStatus{IN_PROGRESS, UPLOAD_FINISHED, COMMIT_FINISHED, ERROR, FILE_ERROR}
34
35 private Long totalSize;
36 private Long progress;
37 private UploadTransferStatus status = UploadTransferStatus.IN_PROGRESS;
38 private int itemsRead = 0;
39 private List<String> createdDocIds = new ArrayList<String>();
40 private List<FileStatus> fileStatusList = new ArrayList<FileStatus>();
41
42 public Long getTotalSize() {
43 return totalSize;
44 }
45 public void setTotalSize(Long totalSize) {
46 this.totalSize = totalSize;
47 }
48 public Long getProgress() {
49 return progress;
50 }
51 public void setProgress(Long progress) {
52 this.progress = progress;
53 }
54 public UploadTransferStatus getStatus() {
55 return status;
56 }
57 public void setStatus(UploadTransferStatus status) {
58 this.status = status;
59 }
60 public int getItemsRead() {
61 return itemsRead;
62 }
63 public void setItemsRead(int itemsRead) {
64 this.itemsRead = itemsRead;
65 }
66 public List<String> getCreatedDocIds() {
67 return createdDocIds;
68 }
69 public void setCreatedDocIds(List<String> createdDocIds) {
70 this.createdDocIds = createdDocIds;
71 }
72 public List<FileStatus> getFileStatusList() {
73 return fileStatusList;
74 }
75 public void setFileStatusList(List<FileStatus> fileStatusList) {
76 this.fileStatusList = fileStatusList;
77 }
78
79
80
81
82 }