1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.kns.maintenance;
17
18 import org.kuali.rice.kns.document.authorization.MaintenanceDocumentRestrictions;
19 import org.kuali.rice.krad.bo.BusinessObject;
20 import org.kuali.rice.krad.bo.PersistableBusinessObject;
21 import org.kuali.rice.kns.document.MaintenanceDocument;
22 import org.kuali.rice.kns.lookup.SelectiveReferenceRefresher;
23
24 import java.util.Collection;
25 import java.util.List;
26 import java.util.Map;
27
28
29
30
31
32
33 @Deprecated
34 public interface Maintainable extends org.kuali.rice.krad.maintenance.Maintainable, SelectiveReferenceRefresher {
35
36 public String getDocumentTitle(MaintenanceDocument document);
37
38
39
40
41 @Deprecated
42 public PersistableBusinessObject getBusinessObject();
43
44
45
46
47 @Deprecated
48 public void refresh(String refreshCaller, Map fieldValues, MaintenanceDocument document);
49
50
51
52
53 @Deprecated
54 public void setBusinessObject(PersistableBusinessObject object);
55
56 @Deprecated
57 public Class getBoClass();
58
59 @Deprecated
60 public void setBoClass(Class boClass);
61
62
63
64
65
66
67 @Deprecated
68 public void saveBusinessObject();
69
70 @Deprecated
71 public void addMultipleValueLookupResults(MaintenanceDocument document, String collectionName,
72 Collection<PersistableBusinessObject> rawValues, boolean needsBlank, PersistableBusinessObject bo);
73
74 @Deprecated
75 public List<String> getDuplicateIdentifierFieldsFromDataDictionary(String docTypeName, String collectionName);
76
77 @Deprecated
78 public List<String> getMultiValueIdentifierList(Collection maintCollection, List<String> duplicateIdentifierFields);
79
80 @Deprecated
81 public boolean hasBusinessObjectExisted(BusinessObject bo, List<String> existingIdentifierList,
82 List<String> duplicateIdentifierFields);
83
84
85
86
87
88
89
90
91
92
93 @Deprecated
94 public void clearBusinessObjectOfRestrictedValues(MaintenanceDocumentRestrictions maintenanceDocumentRestrictions);
95
96 public boolean isBoNotesEnabled();
97
98
99
100
101
102
103
104 @Deprecated
105 public void prepareBusinessObject(BusinessObject businessObject);
106
107
108 @Deprecated
109 public void deleteBusinessObject();
110
111 @Deprecated
112 boolean isOldBusinessObjectInDocument();
113
114
115
116
117
118
119
120
121
122 @Deprecated
123 public boolean getShowInactiveRecords(String collectionName);
124
125
126
127
128
129 @Deprecated
130 public Map<String, Boolean> getInactiveRecordDisplay();
131
132
133
134
135
136
137
138
139
140
141 @Deprecated
142 public void setShowInactiveRecords(String collectionName, boolean showInactive);
143
144
145
146
147
148
149
150 @Deprecated
151 public Map<String, String> populateNewCollectionLines(Map<String, String> fieldValues,
152 MaintenanceDocument maintenanceDocument, String methodToCall);
153
154
155
156
157
158
159
160
161 @Deprecated
162 public PersistableBusinessObject getNewCollectionLine(String collectionName);
163
164
165
166
167
168
169
170 @Deprecated
171 public void addNewLineToCollection(String collectionName);
172
173
174
175
176
177
178
179
180
181 @Deprecated
182 public void processBeforeAddLine(String colName, Class colClass, BusinessObject addBO);
183
184
185
186
187
188
189 @Deprecated
190 public void setGenerateDefaultValues(String docTypeName);
191
192
193
194
195
196
197 @Deprecated
198 public void setGenerateBlankRequiredValues(String docTypeName);
199
200
201
202
203
204
205
206
207
208
209 @Deprecated
210 public List getSections(MaintenanceDocument maintenanceDocument, Maintainable oldMaintainable);
211
212
213
214
215
216
217
218
219 @Deprecated
220 public Map populateBusinessObject(Map<String, String> fieldValues, MaintenanceDocument maintenanceDocument,
221 String methodToCall);
222
223
224
225
226
227 @Deprecated
228 public String getMaintainableTitle();
229
230 public void setupNewFromExisting(MaintenanceDocument document,
231 Map<String, String[]> parameters);
232
233 public void processAfterCopy(MaintenanceDocument document,
234 Map<String, String[]> requestParameters);
235
236 public void processAfterEdit(MaintenanceDocument document,
237 Map<String, String[]> requestParameters);
238
239 public void processAfterNew(MaintenanceDocument document,
240 Map<String, String[]> requestParameters);
241
242 public void processAfterPost(MaintenanceDocument document,
243 Map<String, String[]> requestParameters);
244 }