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