001: /*
002: * Copyright 2006-2007 The Kuali Foundation.
003: *
004: * Licensed under the Educational Community License, Version 1.0 (the "License");
005: * you may not use this file except in compliance with the License.
006: * You may obtain a copy of the License at
007: *
008: * http://www.opensource.org/licenses/ecl1.php
009: *
010: * Unless required by applicable law or agreed to in writing, software
011: * distributed under the License is distributed on an "AS IS" BASIS,
012: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013: * See the License for the specific language governing permissions and
014: * limitations under the License.
015: */
016: package org.kuali.workflow;
017:
018: import java.sql.Timestamp;
019:
020: import org.kuali.core.bo.user.UniversalUser;
021: import org.kuali.core.workflow.service.KualiWorkflowDocument;
022:
023: import edu.iu.uis.eden.clientapp.vo.RouteHeaderVO;
024: import edu.iu.uis.eden.clientapp.vo.UserIdVO;
025: import edu.iu.uis.eden.clientapp.vo.WorkflowAttributeDefinitionVO;
026: import edu.iu.uis.eden.clientapp.vo.WorkgroupIdVO;
027: import edu.iu.uis.eden.exception.WorkflowException;
028:
029: /**
030: * This class is the base class for a MockWorkflowDocument. It can be extended by any other kind of mock document that needs to
031: * override certain methods. This class has absolutely no state or behavior. There is no public constructor, and no member
032: * variables. All void methods do nothing. All methods with a return value return null. All state and behavior needs to be added via
033: * a subclass.
034: */
035: public abstract class MockWorkflowDocument implements
036: KualiWorkflowDocument {
037:
038: /**
039: * Constructs a MockWorkflowDocument.java.
040: */
041: protected MockWorkflowDocument() {
042: }
043:
044: /**
045: * @see org.kuali.core.workflow.service.KualiWorkflowDocument#getApplicationContent()
046: */
047: public String getApplicationContent() {
048: // TODO Auto-generated method stub
049: return null;
050: }
051:
052: /**
053: * @see org.kuali.core.workflow.service.KualiWorkflowDocument#setApplicationContent(java.lang.String)
054: */
055: public void setApplicationContent(String applicationContent) {
056: // TODO Auto-generated method stub
057:
058: }
059:
060: /**
061: * @see org.kuali.core.workflow.service.KualiWorkflowDocument#clearAttributeContent()
062: */
063: public void clearAttributeContent() {
064: // TODO Auto-generated method stub
065:
066: }
067:
068: /**
069: * @see org.kuali.core.workflow.service.KualiWorkflowDocument#getAttributeContent()
070: */
071: public String getAttributeContent() {
072: // TODO Auto-generated method stub
073: return null;
074: }
075:
076: /**
077: * @see org.kuali.core.workflow.service.KualiWorkflowDocument#addAttributeDefinition(edu.iu.uis.eden.clientapp.vo.WorkflowAttributeDefinitionVO)
078: */
079: public void addAttributeDefinition(
080: WorkflowAttributeDefinitionVO attributeDefinition) {
081: // TODO Auto-generated method stub
082:
083: }
084:
085: /**
086: * @see org.kuali.core.workflow.service.KualiWorkflowDocument#removeAttributeDefinition(edu.iu.uis.eden.clientapp.vo.WorkflowAttributeDefinitionVO)
087: */
088: public void removeAttributeDefinition(
089: WorkflowAttributeDefinitionVO attributeDefinition) {
090: // TODO Auto-generated method stub
091:
092: }
093:
094: /**
095: * @see org.kuali.core.workflow.service.KualiWorkflowDocument#clearAttributeDefinitions()
096: */
097: public void clearAttributeDefinitions() {
098: // TODO Auto-generated method stub
099:
100: }
101:
102: /**
103: * @see org.kuali.core.workflow.service.KualiWorkflowDocument#getAttributeDefinitions()
104: */
105: public WorkflowAttributeDefinitionVO[] getAttributeDefinitions() {
106: // TODO Auto-generated method stub
107: return null;
108: }
109:
110: /**
111: * @see org.kuali.core.workflow.service.KualiWorkflowDocument#addSearchableDefinition(edu.iu.uis.eden.clientapp.vo.WorkflowAttributeDefinitionVO)
112: */
113: public void addSearchableDefinition(
114: WorkflowAttributeDefinitionVO searchableDefinition) {
115: // TODO Auto-generated method stub
116:
117: }
118:
119: /**
120: * @see org.kuali.core.workflow.service.KualiWorkflowDocument#removeSearchableDefinition(edu.iu.uis.eden.clientapp.vo.WorkflowAttributeDefinitionVO)
121: */
122: public void removeSearchableDefinition(
123: WorkflowAttributeDefinitionVO searchableDefinition) {
124: // TODO Auto-generated method stub
125:
126: }
127:
128: /**
129: * @see org.kuali.core.workflow.service.KualiWorkflowDocument#clearSearchableDefinitions()
130: */
131: public void clearSearchableDefinitions() {
132: // TODO Auto-generated method stub
133:
134: }
135:
136: /**
137: * @see org.kuali.core.workflow.service.KualiWorkflowDocument#getSearchableDefinitions()
138: */
139: public WorkflowAttributeDefinitionVO[] getSearchableDefinitions() {
140: // TODO Auto-generated method stub
141: return null;
142: }
143:
144: /**
145: * @see org.kuali.core.workflow.service.KualiWorkflowDocument#getRouteHeader()
146: */
147: public RouteHeaderVO getRouteHeader() {
148: // TODO Auto-generated method stub
149: return null;
150: }
151:
152: /**
153: * @see org.kuali.core.workflow.service.KualiWorkflowDocument#getRouteHeaderId()
154: */
155: public Long getRouteHeaderId() throws WorkflowException {
156: // TODO Auto-generated method stub
157: return null;
158: }
159:
160: /**
161: * @see org.kuali.core.workflow.service.KualiWorkflowDocument#setAppDocId(java.lang.String)
162: */
163: public void setAppDocId(String appDocId) {
164: // TODO Auto-generated method stub
165:
166: }
167:
168: /**
169: * @see org.kuali.core.workflow.service.KualiWorkflowDocument#getAppDocId()
170: */
171: public String getAppDocId() {
172: // TODO Auto-generated method stub
173: return null;
174: }
175:
176: /**
177: * @see org.kuali.core.workflow.service.KualiWorkflowDocument#getInitiatorNetworkId()
178: */
179: public String getInitiatorNetworkId() {
180: // TODO Auto-generated method stub
181: return null;
182: }
183:
184: /**
185: * @see org.kuali.core.workflow.service.KualiWorkflowDocument#getTitle()
186: */
187: public String getTitle() {
188: // TODO Auto-generated method stub
189: return null;
190: }
191:
192: /**
193: * @see org.kuali.core.workflow.service.KualiWorkflowDocument#saveDocument(java.lang.String)
194: */
195: public void saveDocument(String annotation)
196: throws WorkflowException {
197: // TODO Auto-generated method stub
198:
199: }
200:
201: /**
202: * @see org.kuali.core.workflow.service.KualiWorkflowDocument#routeDocument(java.lang.String)
203: */
204: public void routeDocument(String annotation)
205: throws WorkflowException {
206: // TODO Auto-generated method stub
207:
208: }
209:
210: /**
211: * @see org.kuali.core.workflow.service.KualiWorkflowDocument#disapprove(java.lang.String)
212: */
213: public void disapprove(String annotation) throws WorkflowException {
214: // TODO Auto-generated method stub
215:
216: }
217:
218: /**
219: * @see org.kuali.core.workflow.service.KualiWorkflowDocument#approve(java.lang.String)
220: */
221: public void approve(String annotation) throws WorkflowException {
222: // TODO Auto-generated method stub
223:
224: }
225:
226: /**
227: * @see org.kuali.core.workflow.service.KualiWorkflowDocument#superUserApprove(java.lang.String)
228: */
229: public void super UserApprove(String annotation)
230: throws WorkflowException {
231: // TODO Auto-generated method stub
232:
233: }
234:
235: /**
236: * @see org.kuali.core.workflow.service.KualiWorkflowDocument#cancel(java.lang.String)
237: */
238: public void cancel(String annotation) throws WorkflowException {
239: // TODO Auto-generated method stub
240:
241: }
242:
243: /**
244: * @see org.kuali.core.workflow.service.KualiWorkflowDocument#blanketApprove(java.lang.String)
245: */
246: public void blanketApprove(String annotation)
247: throws WorkflowException {
248: // TODO Auto-generated method stub
249:
250: }
251:
252: /**
253: * @see org.kuali.core.workflow.service.KualiWorkflowDocument#blanketApprove(java.lang.String, java.lang.Integer)
254: */
255: public void blanketApprove(String annotation, Integer routeLevel)
256: throws WorkflowException {
257: // TODO Auto-generated method stub
258:
259: }
260:
261: /**
262: * @see org.kuali.core.workflow.service.KualiWorkflowDocument#saveRoutingData()
263: */
264: public void saveRoutingData() throws WorkflowException {
265: // TODO Auto-generated method stub
266:
267: }
268:
269: /**
270: * @see org.kuali.core.workflow.service.KualiWorkflowDocument#acknowledge(java.lang.String)
271: */
272: public void acknowledge(String annotation) throws WorkflowException {
273: // TODO Auto-generated method stub
274:
275: }
276:
277: /**
278: * @see org.kuali.core.workflow.service.KualiWorkflowDocument#fyi()
279: */
280: public void fyi() throws WorkflowException {
281: // TODO Auto-generated method stub
282:
283: }
284:
285: /**
286: * @see org.kuali.core.workflow.service.KualiWorkflowDocument#delete()
287: */
288: public void delete() throws WorkflowException {
289: // TODO Auto-generated method stub
290:
291: }
292:
293: /**
294: * @see org.kuali.core.workflow.service.KualiWorkflowDocument#refreshContent()
295: */
296: public void refreshContent() throws WorkflowException {
297: // TODO Auto-generated method stub
298:
299: }
300:
301: /**
302: * @see org.kuali.core.workflow.service.KualiWorkflowDocument#appSpecificRouteDocumentToUser(java.lang.String, java.lang.String,
303: * int, java.lang.String, edu.iu.uis.eden.clientapp.vo.UserIdVO, java.lang.String, boolean)
304: */
305: public void appSpecificRouteDocumentToUser(String actionRequested,
306: String routeTypeName, int priority, String annotation,
307: UserIdVO recipient, String responsibilityDesc,
308: boolean ignorePreviousActions) throws WorkflowException {
309: // TODO Auto-generated method stub
310:
311: }
312:
313: /**
314: * @see org.kuali.core.workflow.service.KualiWorkflowDocument#appSpecificRouteDocumentToWorkgroup(java.lang.String,
315: * java.lang.String, int, java.lang.String, edu.iu.uis.eden.clientapp.vo.WorkgroupIdVO, java.lang.String, boolean)
316: */
317: public void appSpecificRouteDocumentToWorkgroup(
318: String actionRequested, String routeTypeName, int priority,
319: String annotation, WorkgroupIdVO workgroupId,
320: String responsibilityDesc, boolean ignorePreviousActions)
321: throws WorkflowException {
322: // TODO Auto-generated method stub
323:
324: }
325:
326: /**
327: * @see org.kuali.core.workflow.service.KualiWorkflowDocument#setTitle(java.lang.String)
328: */
329: public void setTitle(String title) throws WorkflowException {
330: // TODO Auto-generated method stub
331:
332: }
333:
334: /**
335: * @see org.kuali.core.workflow.service.KualiWorkflowDocument#getDocumentType()
336: */
337: public String getDocumentType() {
338: // TODO Auto-generated method stub
339: return null;
340: }
341:
342: /**
343: * @see org.kuali.core.workflow.service.KualiWorkflowDocument#isAdHocRequested()
344: */
345: public boolean isAdHocRequested() {
346: // TODO Auto-generated method stub
347: return false;
348: }
349:
350: /**
351: * @see org.kuali.core.workflow.service.KualiWorkflowDocument#isAcknowledgeRequested()
352: */
353: public boolean isAcknowledgeRequested() {
354: // TODO Auto-generated method stub
355: return false;
356: }
357:
358: /**
359: * @see org.kuali.core.workflow.service.KualiWorkflowDocument#isApprovalRequested()
360: */
361: public boolean isApprovalRequested() {
362: // TODO Auto-generated method stub
363: return false;
364: }
365:
366: /**
367: * @see org.kuali.core.workflow.service.KualiWorkflowDocument#isCompletionRequested()
368: */
369: public boolean isCompletionRequested() {
370: // TODO Auto-generated method stub
371: return false;
372: }
373:
374: /**
375: * @see org.kuali.core.workflow.service.KualiWorkflowDocument#isFYIRequested()
376: */
377: public boolean isFYIRequested() {
378: // TODO Auto-generated method stub
379: return false;
380: }
381:
382: /**
383: * @see org.kuali.core.workflow.service.KualiWorkflowDocument#isBlanketApproveCapable()
384: */
385: public boolean isBlanketApproveCapable() {
386: // TODO Auto-generated method stub
387: return false;
388: }
389:
390: /**
391: * @see org.kuali.core.workflow.service.KualiWorkflowDocument#getDocRouteLevel()
392: */
393: public Integer getDocRouteLevel() {
394: // TODO Auto-generated method stub
395: return null;
396: }
397:
398: /**
399: * @see org.kuali.core.workflow.service.KualiWorkflowDocument#getDocRouteLevelName()
400: */
401: public String getDocRouteLevelName() throws WorkflowException {
402: // TODO Auto-generated method stub
403: return null;
404: }
405:
406: /**
407: * @see org.kuali.core.workflow.service.KualiWorkflowDocument#getRouteTypeName()
408: */
409: public String getRouteTypeName() throws WorkflowException {
410: // TODO Auto-generated method stub
411: return null;
412: }
413:
414: /**
415: * @see org.kuali.core.workflow.service.KualiWorkflowDocument#complete(java.lang.String)
416: */
417: public void complete(String annotation) throws WorkflowException {
418: // TODO Auto-generated method stub
419:
420: }
421:
422: /**
423: * @see org.kuali.core.workflow.service.KualiWorkflowDocument#returnToPreviousRouteLevel(java.lang.String, java.lang.Integer)
424: */
425: public void returnToPreviousRouteLevel(String annotation,
426: Integer destRouteLevel) throws WorkflowException {
427: // TODO Auto-generated method stub
428:
429: }
430:
431: /**
432: * @see org.kuali.core.workflow.service.KualiWorkflowDocument#logDocumentAction(java.lang.String)
433: */
434: public void logDocumentAction(String annotation)
435: throws WorkflowException {
436: // TODO Auto-generated method stub
437:
438: }
439:
440: /**
441: * @see org.kuali.core.workflow.service.KualiWorkflowDocument#stateIsInitiated()
442: */
443: public boolean stateIsInitiated() {
444: // TODO Auto-generated method stub
445: return false;
446: }
447:
448: /**
449: * @see org.kuali.core.workflow.service.KualiWorkflowDocument#stateIsSaved()
450: */
451: public boolean stateIsSaved() {
452: // TODO Auto-generated method stub
453: return false;
454: }
455:
456: /**
457: * @see org.kuali.core.workflow.service.KualiWorkflowDocument#stateIsEnroute()
458: */
459: public boolean stateIsEnroute() {
460: // TODO Auto-generated method stub
461: return false;
462: }
463:
464: /**
465: * @see org.kuali.core.workflow.service.KualiWorkflowDocument#stateIsFinal()
466: */
467: public boolean stateIsFinal() {
468: // TODO Auto-generated method stub
469: return false;
470: }
471:
472: /**
473: * @see org.kuali.core.workflow.service.KualiWorkflowDocument#stateIsException()
474: */
475: public boolean stateIsException() {
476: // TODO Auto-generated method stub
477: return false;
478: }
479:
480: /**
481: * @see org.kuali.core.workflow.service.KualiWorkflowDocument#stateIsCanceled()
482: */
483: public boolean stateIsCanceled() {
484: // TODO Auto-generated method stub
485: return false;
486: }
487:
488: /**
489: * @see org.kuali.core.workflow.service.KualiWorkflowDocument#stateIsDisapproved()
490: */
491: public boolean stateIsDisapproved() {
492: // TODO Auto-generated method stub
493: return false;
494: }
495:
496: /**
497: * @see org.kuali.core.workflow.service.KualiWorkflowDocument#stateIsApproved()
498: */
499: public boolean stateIsApproved() {
500: // TODO Auto-generated method stub
501: return false;
502: }
503:
504: /**
505: * @see org.kuali.core.workflow.service.KualiWorkflowDocument#stateIsProcessed()
506: */
507: public boolean stateIsProcessed() {
508: // TODO Auto-generated method stub
509: return false;
510: }
511:
512: /**
513: * @see org.kuali.core.workflow.service.KualiWorkflowDocument#getStatusDisplayValue()
514: */
515: public String getStatusDisplayValue() {
516: // TODO Auto-generated method stub
517: return null;
518: }
519:
520: /**
521: * @see org.kuali.core.workflow.service.KualiWorkflowDocument#getCreateDate()
522: */
523: public Timestamp getCreateDate() {
524: // TODO Auto-generated method stub
525: return null;
526: }
527:
528: /**
529: * @see org.kuali.core.workflow.service.KualiWorkflowDocument#userIsInitiator(org.kuali.core.bo.user.KualiUser)
530: */
531: public boolean userIsInitiator(UniversalUser user) {
532: // TODO Auto-generated method stub
533: return false;
534: }
535:
536: /**
537: * @see org.kuali.core.workflow.service.KualiWorkflowDocument#getNodeNames()
538: */
539: public String[] getNodeNames() throws WorkflowException {
540: // TODO Auto-generated method stub
541: return null;
542: }
543:
544: }
|