1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package org.kuali.kfs.module.tem.document.web.bean;
20
21 import java.util.List;
22 import java.util.Map;
23
24 import org.kuali.kfs.module.tem.businessobject.AccountingDistribution;
25 import org.kuali.kfs.module.tem.businessobject.AccountingDocumentRelationship;
26 import org.kuali.kfs.module.tem.businessobject.ActualExpense;
27 import org.kuali.kfs.module.tem.businessobject.ImportedExpense;
28 import org.kuali.kfs.module.tem.businessobject.TemDistributionAccountingLine;
29 import org.kuali.kfs.module.tem.document.TravelDocument;
30 import org.kuali.rice.core.api.util.type.KualiDecimal;
31 import org.kuali.rice.kns.web.ui.ExtraButton;
32 import org.kuali.rice.krad.bo.Note;
33 import org.kuali.rice.krad.document.Document;
34
35
36
37
38
39 public interface TravelMvcWrapperBean {
40
41 Integer getTravelerId();
42
43 TravelDocument getTravelDocument();
44
45 void setTravelerId(Integer travelerId);
46
47 Integer getTempTravelerId();
48
49 void setTempTravelerId(Integer tempTravelerId);
50
51
52
53
54
55
56 String getEmpPrincipalId();
57
58
59
60
61
62
63 void setEmpPrincipalId(String empPrincipalId);
64
65
66
67
68
69
70 String getTempEmpPrincipalId();
71
72
73
74
75
76
77 void setTempEmpPrincipalId(String tempEmpPrincipalId);
78
79 Map<String, String> getModesOfTransportation();
80
81
82
83
84
85
86 boolean isShowLodging();
87
88
89
90
91
92
93 void setShowLodging(boolean showLodging);
94
95
96
97
98
99
100 boolean isShowMileage();
101
102
103
104
105
106
107 void setShowMileage(boolean showMileage);
108
109
110
111
112
113
114 boolean isShowPerDiem();
115
116
117
118
119
120
121 boolean canReturn();
122
123
124
125
126
127
128 void setCanReturn(final boolean canReturn);
129
130
131
132
133
134
135 void setShowPerDiem(boolean showPerDiem);
136
137 boolean isShowAllPerDiemCategories();
138
139
140
141
142
143
144 void setPerDiemPercentage(String perDiemPercentage);
145
146
147
148
149
150
151 int getPerDiemPercentage();
152
153
154
155
156
157
158 void setPerDiemPercentage(int perDiemPercentage);
159
160
161
162
163
164
165
166 Map<String, List<Document>> getRelatedDocuments();
167
168 void setRelatedDocuments(Map<String, List<Document>> relatedDocuments);
169
170
171
172
173
174
175 Map<String, List<Note>> getRelatedDocumentNotes();
176
177
178
179
180
181
182 void setRelatedDocumentNotes(Map<String, List<Note>> relatedDocumentNotes);
183
184
185
186
187
188
189 boolean isCalculated();
190
191
192
193
194
195
196 void setCalculated(boolean calculated);
197
198 List<ExtraButton> getExtraButtons();
199
200 String getMethodToCall();
201
202 void setNewActualExpenseLine(ActualExpense newActualExpenseLine);
203
204 ActualExpense getNewActualExpenseLine();
205
206 void setNewActualExpenseLines(List<ActualExpense> newActualExpenseLines);
207
208 List<ActualExpense> getNewActualExpenseLines();
209
210 AccountingDocumentRelationship getNewAccountingDocumentRelationship();
211
212 void setNewAccountingDocumentRelationship(AccountingDocumentRelationship newEmergencyContactLine);
213
214 void setNewImportedExpenseLines(List<ImportedExpense> importedExpenses);
215
216 List<ImportedExpense> getNewImportedExpenseLines();
217
218 void setNewImportedExpenseLine(ImportedExpense importedExpense);
219
220 ImportedExpense getNewImportedExpenseLine();
221
222 void setDistribution(final List<AccountingDistribution> distribution);
223
224 List<AccountingDistribution> getDistribution();
225
226
227
228
229
230 public Integer getAccountDistributionnextSourceLineNumber();
231
232
233
234
235
236 public void setAccountDistributionnextSourceLineNumber(Integer accountDistributionnextSourceLineNumber);
237
238
239
240
241
242 public TemDistributionAccountingLine getAccountDistributionnewSourceLine();
243
244
245
246
247
248 public void setAccountDistributionnewSourceLine(TemDistributionAccountingLine accountDistributionnewSourceLine);
249
250
251
252
253
254
255
256
257
258 public void addAccountDistributionsourceAccountingLine(TemDistributionAccountingLine line);
259
260 public KualiDecimal getDistributionRemainingAmount(boolean selectedDistributions);
261
262 public KualiDecimal getDistributionSubTotal(boolean selectedDistributions);
263
264 public List<TemDistributionAccountingLine> getAccountDistributionsourceAccountingLines();
265
266 public void setAccountDistributionsourceAccountingLines(List<TemDistributionAccountingLine> accountDistributionsourceAccountingLines);
267
268 }