1 19 20 package com.sslexplorer.vfs.forms; 21 22 import javax.servlet.ServletRequest ; 23 24 import org.apache.struts.action.ActionMapping; 25 26 import com.sslexplorer.core.forms.CoreForm; 27 import com.sslexplorer.vfs.UploadDetails; 28 29 32 public class AbstractUploadForm extends CoreForm { 33 34 private UploadDetails fileUpload; 35 private int uploadId; 36 37 public void initialise(int uploadId, UploadDetails fileUpload) { 38 this.fileUpload = fileUpload; 39 this.uploadId = uploadId; 40 } 41 42 public UploadDetails getUploadDetails() { 43 return fileUpload; 44 } 45 46 public void setUploadDetails(UploadDetails fileUpload) { 47 this.fileUpload = fileUpload; 48 } 49 50 public int getUploadId() { 51 return uploadId; 52 } 53 54 public void setUploadId(int uploadId) { 55 this.uploadId = uploadId; 56 } 57 58 61 public void reset(ActionMapping mapping, ServletRequest request) { 62 super.reset(mapping, request); 63 } 64 } 65 | Popular Tags |