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
20
21 @Deprecated
22 public class FileStatus implements Serializable{
23 private static final long serialVersionUID = 1L;
24
25 public static enum FileTransferStatus{IN_PROGRESS, UPLOAD_FINISHED, COMMIT_FINISHED, ERROR, FILE_ERROR}
26 private FileTransferStatus status = FileTransferStatus.IN_PROGRESS;
27 private Long progress = 0L;
28 private String fileName;
29 private String docId;
30
31 public String getFileName() {
32 return fileName;
33 }
34 public void setFileName(String fileName) {
35 this.fileName = fileName;
36 }
37 public FileTransferStatus getStatus() {
38 return status;
39 }
40 public void setStatus(FileTransferStatus status) {
41 this.status = status;
42 }
43 public Long getProgress() {
44 return progress;
45 }
46 public void setProgress(Long progress) {
47 this.progress = progress;
48 }
49 public String getDocId() {
50 return docId;
51 }
52 public void setDocId(String docId) {
53 this.docId = docId;
54 }
55
56
57 }