1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.kns.service.impl;
17
18 import org.kuali.rice.kew.api.WorkflowDocument;
19 import org.kuali.rice.kns.service.SessionDocumentService;
20 import org.kuali.rice.kns.web.struts.form.KualiDocumentFormBase;
21 import org.kuali.rice.krad.UserSession;
22
23 import java.sql.Timestamp;
24
25
26
27
28
29
30 public class NoOpSessionDocumentServiceImpl implements SessionDocumentService{
31
32 @Override
33 public WorkflowDocument getDocumentFromSession(UserSession userSession, String docId) {
34 return null;
35 }
36
37 @Override
38 public void addDocumentToUserSession(UserSession userSession, WorkflowDocument document) {
39
40 }
41
42 @Override
43 public void purgeDocumentForm(String documentNumber, String docFormKey, UserSession userSession, String ipAddress) {
44
45 }
46
47 @Override
48 public void purgeAllSessionDocuments(Timestamp expirationDate) {
49
50 }
51
52 @Override
53 public KualiDocumentFormBase getDocumentForm(String documentNumber, String docFormKey, UserSession userSession,
54 String ipAddress) {
55 return null;
56 }
57
58 @Override
59 public void setDocumentForm(KualiDocumentFormBase form, UserSession userSession, String ipAddress) {
60
61 }
62 }