View Javadoc

1   /**
2    * Copyright 2010 The Kuali Foundation Licensed under the
3    * Educational Community License, Version 2.0 (the "License"); you may
4    * not use this file except in compliance with the License. You may
5    * obtain a copy of the License at
6    *
7    * http://www.osedu.org/licenses/ECL-2.0
8    *
9    * Unless required by applicable law or agreed to in writing,
10   * software distributed under the License is distributed on an "AS IS"
11   * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
12   * or implied. See the License for the specific language governing
13   * permissions and limitations under the License.
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  }