View Javadoc

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