View Javadoc
1   /**
2    * Copyright 2005-2016 The Kuali Foundation
3    *
4    * Licensed under the Educational Community License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    * http://www.opensource.org/licenses/ecl2.php
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package org.kuali.rice.krms.impl.rule;
17  
18  import org.kuali.rice.kew.api.action.ActionType;
19  import org.kuali.rice.kew.framework.postprocessor.ActionTakenEvent;
20  import org.kuali.rice.kew.framework.postprocessor.DocumentRouteLevelChange;
21  import org.kuali.rice.kew.framework.postprocessor.DocumentRouteStatusChange;
22  import org.kuali.rice.kim.api.identity.Person;
23  import org.kuali.rice.krad.bo.AdHocRoutePerson;
24  import org.kuali.rice.krad.bo.AdHocRouteWorkgroup;
25  import org.kuali.rice.krad.bo.DocumentHeader;
26  import org.kuali.rice.krad.bo.Note;
27  import org.kuali.rice.krad.bo.PersistableBusinessObject;
28  import org.kuali.rice.krad.bo.PersistableBusinessObjectExtension;
29  import org.kuali.rice.krad.maintenance.MaintenanceDocument;
30  import org.kuali.rice.krad.document.authorization.PessimisticLock;
31  import org.kuali.rice.krad.maintenance.Maintainable;
32  import org.kuali.rice.krad.rules.rule.event.KualiDocumentEvent;
33  import org.kuali.rice.krad.util.NoteType;
34  import org.kuali.rice.krad.util.documentserializer.PropertySerializabilityEvaluator;
35  
36  import java.util.Collection;
37  import java.util.List;
38  
39  public class AgendaEditorMaintenanceDocumentDummy implements MaintenanceDocument {
40      protected Maintainable oldMaintainableObject;
41      protected Maintainable newMaintainableObject;
42  
43      public String getXmlDocumentContents() {
44          return null;  //To change body of implemented methods use File | Settings | File Templates.
45      }
46  
47      public Maintainable getNewMaintainableObject() {
48          return this.newMaintainableObject;
49      }
50  
51      public Maintainable getOldMaintainableObject() {
52          return this.oldMaintainableObject;
53      }
54  
55      public void setXmlDocumentContents(String documentContents) {
56          //To change body of implemented methods use File | Settings | File Templates.
57      }
58  
59      public void setNewMaintainableObject(Maintainable newMaintainableObject) {
60          this.newMaintainableObject = newMaintainableObject;
61      }
62  
63      public void setOldMaintainableObject(Maintainable oldMaintainableObject) {
64          this.oldMaintainableObject = oldMaintainableObject;
65      }
66  
67      public Object getDocumentDataObject() {
68          return null;  //To change body of implemented methods use File | Settings | File Templates.
69      }
70  
71      public void populateXmlDocumentContentsFromMaintainables() {
72          //To change body of implemented methods use File | Settings | File Templates.
73      }
74  
75      public void populateMaintainablesFromXmlDocumentContents() {
76          //To change body of implemented methods use File | Settings | File Templates.
77      }
78  
79      public boolean isOldDataObjectInDocument() {
80          return false;  //To change body of implemented methods use File | Settings | File Templates.
81      }
82  
83      public boolean isNew() {
84          return false;  //To change body of implemented methods use File | Settings | File Templates.
85      }
86  
87      public boolean isEdit() {
88          return false;  //To change body of implemented methods use File | Settings | File Templates.
89      }
90  
91      public boolean isNewWithExisting() {
92          return false;  //To change body of implemented methods use File | Settings | File Templates.
93      }
94  
95      public boolean isFieldsClearedOnCopy() {
96          return false;  //To change body of implemented methods use File | Settings | File Templates.
97      }
98  
99      public void setFieldsClearedOnCopy(boolean keysClearedOnCopy) {
100         //To change body of implemented methods use File | Settings | File Templates.
101     }
102 
103     public boolean getDisplayTopicFieldInNotes() {
104         return false;  //To change body of implemented methods use File | Settings | File Templates.
105     }
106 
107     public void setDisplayTopicFieldInNotes(boolean displayTopicFieldInNotes) {
108         //To change body of implemented methods use File | Settings | File Templates.
109     }
110 
111     public DocumentHeader getDocumentHeader() {
112         return null;  //To change body of implemented methods use File | Settings | File Templates.
113     }
114 
115     public void setDocumentHeader(DocumentHeader documentHeader) {
116         //To change body of implemented methods use File | Settings | File Templates.
117     }
118 
119     public String getDocumentNumber() {
120         return null;  //To change body of implemented methods use File | Settings | File Templates.
121     }
122 
123     public void setDocumentNumber(String documentHeaderId) {
124         //To change body of implemented methods use File | Settings | File Templates.
125     }
126 
127     public void populateDocumentForRouting() {
128         //To change body of implemented methods use File | Settings | File Templates.
129     }
130 
131     public String serializeDocumentToXml() {
132         return null;  //To change body of implemented methods use File | Settings | File Templates.
133     }
134 
135     public String getXmlForRouteReport() {
136         return null;  //To change body of implemented methods use File | Settings | File Templates.
137     }
138 
139     public void doRouteLevelChange(DocumentRouteLevelChange levelChangeEvent) {
140         //To change body of implemented methods use File | Settings | File Templates.
141     }
142 
143     public void doActionTaken(ActionTakenEvent event) {
144         //To change body of implemented methods use File | Settings | File Templates.
145     }
146 
147     public void afterActionTaken(ActionType performed, ActionTakenEvent event) {
148 
149     }
150 
151     public void afterWorkflowEngineProcess(boolean successfullyProcessed) {
152         //To change body of implemented methods use File | Settings | File Templates.
153     }
154 
155     public void beforeWorkflowEngineProcess() {
156         //To change body of implemented methods use File | Settings | File Templates.
157     }
158 
159     public List<String> getWorkflowEngineDocumentIdsToLock() {
160         return null;  //To change body of implemented methods use File | Settings | File Templates.
161     }
162 
163     public String getDocumentTitle() {
164         return null;  //To change body of implemented methods use File | Settings | File Templates.
165     }
166 
167     public List<AdHocRoutePerson> getAdHocRoutePersons() {
168         return null;  //To change body of implemented methods use File | Settings | File Templates.
169     }
170 
171     public List<AdHocRouteWorkgroup> getAdHocRouteWorkgroups() {
172         return null;  //To change body of implemented methods use File | Settings | File Templates.
173     }
174 
175     public void setAdHocRoutePersons(List<AdHocRoutePerson> adHocRoutePersons) {
176         //To change body of implemented methods use File | Settings | File Templates.
177     }
178 
179     public void setAdHocRouteWorkgroups(List<AdHocRouteWorkgroup> adHocRouteWorkgroups) {
180         //To change body of implemented methods use File | Settings | File Templates.
181     }
182 
183     public void prepareForSave() {
184         //To change body of implemented methods use File | Settings | File Templates.
185     }
186 
187     public void validateBusinessRules(KualiDocumentEvent event) {
188         //To change body of implemented methods use File | Settings | File Templates.
189     }
190 
191     public void prepareForSave(KualiDocumentEvent event) {
192         //To change body of implemented methods use File | Settings | File Templates.
193     }
194 
195     public void postProcessSave(KualiDocumentEvent event) {
196         //To change body of implemented methods use File | Settings | File Templates.
197     }
198 
199     public void processAfterRetrieve() {
200         //To change body of implemented methods use File | Settings | File Templates.
201     }
202 
203     public boolean getAllowsCopy() {
204         return false;  //To change body of implemented methods use File | Settings | File Templates.
205     }
206 
207     public List<KualiDocumentEvent> generateSaveEvents() {
208         return null;  //To change body of implemented methods use File | Settings | File Templates.
209     }
210 
211     public void doRouteStatusChange(DocumentRouteStatusChange statusChangeEvent) {
212         //To change body of implemented methods use File | Settings | File Templates.
213     }
214 
215     public NoteType getNoteType() {
216         return null;  //To change body of implemented methods use File | Settings | File Templates.
217     }
218 
219     public PersistableBusinessObject getNoteTarget() {
220         return null;  //To change body of implemented methods use File | Settings | File Templates.
221     }
222 
223     public void addNote(Note note) {
224         //To change body of implemented methods use File | Settings | File Templates.
225     }
226 
227     public List<Note> getNotes() {
228         return null;  //To change body of implemented methods use File | Settings | File Templates.
229     }
230 
231     public void setNotes(List<Note> notes) {
232         //To change body of implemented methods use File | Settings | File Templates.
233     }
234 
235     public Note getNote(int index) {
236         return null;  //To change body of implemented methods use File | Settings | File Templates.
237     }
238 
239     public boolean removeNote(Note note) {
240         return false;  //To change body of implemented methods use File | Settings | File Templates.
241     }
242 
243     public List<PessimisticLock> getPessimisticLocks() {
244         return null;  //To change body of implemented methods use File | Settings | File Templates.
245     }
246 
247     public void refreshPessimisticLocks() {
248         //To change body of implemented methods use File | Settings | File Templates.
249     }
250 
251     public void addPessimisticLock(PessimisticLock lock) {
252         //To change body of implemented methods use File | Settings | File Templates.
253     }
254 
255     public List<String> getLockClearningMethodNames() {
256         return null;  //To change body of implemented methods use File | Settings | File Templates.
257     }
258 
259     public String getBasePathToDocumentDuringSerialization() {
260         return null;  //To change body of implemented methods use File | Settings | File Templates.
261     }
262 
263     public PropertySerializabilityEvaluator getDocumentPropertySerizabilityEvaluator() {
264         return null;  //To change body of implemented methods use File | Settings | File Templates.
265     }
266 
267     public Object wrapDocumentWithMetadataForXmlSerialization() {
268         return null;  //To change body of implemented methods use File | Settings | File Templates.
269     }
270 
271     public boolean useCustomLockDescriptors() {
272         return false;  //To change body of implemented methods use File | Settings | File Templates.
273     }
274 
275     public String getCustomLockDescriptor(Person user) {
276         return null;  //To change body of implemented methods use File | Settings | File Templates.
277     }
278 
279     public void setVersionNumber(Long versionNumber) {
280         //To change body of implemented methods use File | Settings | File Templates.
281     }
282 
283     public void setObjectId(String objectId) {
284         //To change body of implemented methods use File | Settings | File Templates.
285     }
286 
287     public PersistableBusinessObjectExtension getExtension() {
288         return null;  //To change body of implemented methods use File | Settings | File Templates.
289     }
290 
291     public void setExtension(PersistableBusinessObjectExtension extension) {
292         //To change body of implemented methods use File | Settings | File Templates.
293     }
294 
295     public void refreshNonUpdateableReferences() {
296         //To change body of implemented methods use File | Settings | File Templates.
297     }
298 
299     public void refreshReferenceObject(String referenceObjectName) {
300         //To change body of implemented methods use File | Settings | File Templates.
301     }
302 
303     public List<Collection<PersistableBusinessObject>> buildListOfDeletionAwareLists() {
304         return null;  //To change body of implemented methods use File | Settings | File Templates.
305     }
306 
307     public boolean isNewCollectionRecord() {
308         return false;  //To change body of implemented methods use File | Settings | File Templates.
309     }
310 
311     public void setNewCollectionRecord(boolean isNewCollectionRecord) {
312         //To change body of implemented methods use File | Settings | File Templates.
313     }
314 
315     public void linkEditableUserFields() {
316         //To change body of implemented methods use File | Settings | File Templates.
317     }
318 
319     public void refresh() {
320         //To change body of implemented methods use File | Settings | File Templates.
321     }
322 
323     public String getObjectId() {
324         return null;  //To change body of implemented methods use File | Settings | File Templates.
325     }
326 
327     public Long getVersionNumber() {
328         return null;  //To change body of implemented methods use File | Settings | File Templates.
329     }
330 }