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