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