01: package com.technoetic.xplanner.forms;
02:
03: import org.apache.struts.action.ActionForm;
04: import org.apache.struts.action.ActionMapping;
05: import org.apache.struts.upload.FormFile;
06:
07: import javax.servlet.http.HttpServletRequest;
08:
09: public class FileManagerForm extends ActionForm {
10: private String action;
11: private FormFile formFile;
12: private String name;
13: private String directoryId;
14: private String fileId;
15:
16: public String getAction() {
17: return action;
18: }
19:
20: public void setAction(String action) {
21: this .action = action;
22: }
23:
24: public FormFile getFormFile() {
25: return formFile;
26: }
27:
28: public void setFormFile(FormFile formFile) {
29: this .formFile = formFile;
30: }
31:
32: public String getDirectoryId() {
33: return directoryId;
34: }
35:
36: public void setDirectoryId(String directoryId) {
37: this .directoryId = directoryId;
38: }
39:
40: public String getFileId() {
41: return fileId;
42: }
43:
44: public void setFileId(String fileId) {
45: this .fileId = fileId;
46: }
47:
48: public String getName() {
49: return name;
50: }
51:
52: public void setName(String name) {
53: this .name = name;
54: }
55:
56: public void reset(ActionMapping mapping, HttpServletRequest request) {
57: name = null;
58: directoryId = null;
59: fileId = null;
60: action = null;
61: formFile = null;
62: super.reset(mapping, request);
63: }
64: }
|