1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.ole.sys.web.struts;
17
18 import java.util.HashMap;
19 import java.util.List;
20 import java.util.Map;
21
22 import org.apache.struts.upload.FormFile;
23 import org.kuali.ole.sys.batch.BatchInputFileSetType;
24 import org.kuali.ole.sys.businessobject.BatchUpload;
25 import org.kuali.rice.core.api.util.KeyValue;
26 import org.kuali.rice.kns.web.struts.form.KualiForm;
27
28
29
30
31 public class KualiBatchInputFileSetForm extends KualiForm {
32 private Map<String, FormFile> uploadedFiles;
33
34 private BatchUpload batchUpload;
35 private List<KeyValue> fileUserIdentifiers;
36
37 private String titleKey;
38 private BatchInputFileSetType batchInputFileSetType;
39
40 private String downloadFileType;
41 private List<KeyValue> fileTypes;
42
43
44
45
46 public KualiBatchInputFileSetForm() {
47 super();
48 this.batchUpload = new BatchUpload();
49 this.uploadedFiles = new HashMap<String, FormFile>();
50 }
51
52
53
54
55 public BatchUpload getBatchUpload() {
56 return batchUpload;
57 }
58
59
60
61
62 public void setBatchUpload(BatchUpload batchUpload) {
63 this.batchUpload = batchUpload;
64 }
65
66
67
68
69 public List<KeyValue> getFileUserIdentifiers() {
70 return fileUserIdentifiers;
71 }
72
73
74
75
76 public void setFileUserIdentifiers(List<KeyValue> fileUserIdentifiers) {
77 this.fileUserIdentifiers = fileUserIdentifiers;
78 }
79
80
81
82
83 public String getTitleKey() {
84 return titleKey;
85 }
86
87
88
89
90 public void setTitleKey(String titleKey) {
91 this.titleKey = titleKey;
92 }
93
94
95
96
97
98
99 public BatchInputFileSetType getBatchInputFileSetType() {
100 return batchInputFileSetType;
101 }
102
103
104
105
106
107
108 public void setBatchInputFileSetType(BatchInputFileSetType batchInputFileSetType) {
109 this.batchInputFileSetType = batchInputFileSetType;
110 }
111
112
113
114
115
116
117 public Map<String, FormFile> getUploadedFiles() {
118 return uploadedFiles;
119 }
120
121
122
123
124
125
126 public void setUploadedFiles(Map<String, FormFile> uploadedFiles) {
127 this.uploadedFiles = uploadedFiles;
128 }
129
130
131
132
133
134
135 public List<KeyValue> getFileTypes() {
136 return fileTypes;
137 }
138
139
140
141
142
143
144 public void setFileTypes(List<KeyValue> fileAliases) {
145 this.fileTypes = fileAliases;
146 }
147
148
149
150
151
152
153 public String getDownloadFileType() {
154 return downloadFileType;
155 }
156
157
158
159
160
161
162 public void setDownloadFileType(String downloadFileAlias) {
163 this.downloadFileType = downloadFileAlias;
164 }
165 }