org.kuali.rice.kns.service.impl
Class SessionDocumentServiceImpl

java.lang.Object
  extended by org.kuali.rice.kns.service.impl.SessionDocumentServiceImpl
All Implemented Interfaces:
SessionDocumentService, org.springframework.beans.factory.InitializingBean

Deprecated.

@Deprecated
@Transactional
public class SessionDocumentServiceImpl
extends Object
implements SessionDocumentService, org.springframework.beans.factory.InitializingBean

Implementation of SessionDocumentService that persists the document form contents to the underlying database

Author:
Kuali Rice Team (rice.collab@kuali.org)

Field Summary
protected static String DOCUMENT_NUMBER
          Deprecated.  
protected static String IP_ADDRESS
          Deprecated.  
protected static String PRINCIPAL_ID
          Deprecated.  
protected static String SESSION_ID
          Deprecated.  
 
Constructor Summary
SessionDocumentServiceImpl()
          Deprecated.  
 
Method Summary
 void addDocumentToUserSession(UserSession userSession, WorkflowDocument document)
          Deprecated. This method places a document into the user session.
 void afterPropertiesSet()
          Deprecated.  
protected  BusinessObjectService getBusinessObjectService()
          Deprecated.  
protected  DataDictionaryService getDataDictionaryService()
          Deprecated.  
 KualiDocumentFormBase getDocumentForm(String documentNumber, String docFormKey, UserSession userSession, String ipAddress)
          Deprecated. Returns KualiDocumentFormBase object.
 WorkflowDocument getDocumentFromSession(UserSession userSession, String docId)
          Deprecated. Retrieves a document from the user session for the given document id
protected  EncryptionService getEncryptionService()
          Deprecated.  
 int getMaxCacheSize()
          Deprecated.  
protected  SessionDocumentDao getSessionDocumentDao()
          Deprecated.  
protected  void persistDocumentForm(Object form, UserSession userSession, String ipAddress, String sessionId, String documentNumber)
          Deprecated.  
 void purgeAllSessionDocuments(Timestamp expirationDate)
          Deprecated. Delete KualiDocumentFormBases from database.
 void purgeDocumentForm(String documentNumber, String docFormKey, UserSession userSession, String ipAddress)
          Deprecated. Delete KualiDocumentFormBase from session and database.
protected  Object retrieveDocumentForm(UserSession userSession, String sessionId, String documentNumber, String ipAddress)
          Deprecated.  
 void setBusinessObjectService(BusinessObjectService businessObjectService)
          Deprecated.  
 void setDocumentForm(KualiDocumentFormBase form, UserSession userSession, String ipAddress)
          Deprecated. Store KualiDocumentFormBase into session and database.
 void setMaxCacheSize(int maxCacheSize)
          Deprecated.  
 void setSessionDocumentDao(SessionDocumentDao sessionDocumentDao)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IP_ADDRESS

protected static final String IP_ADDRESS
Deprecated. 
See Also:
Constant Field Values

PRINCIPAL_ID

protected static final String PRINCIPAL_ID
Deprecated. 
See Also:
Constant Field Values

DOCUMENT_NUMBER

protected static final String DOCUMENT_NUMBER
Deprecated. 
See Also:
Constant Field Values

SESSION_ID

protected static final String SESSION_ID
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

SessionDocumentServiceImpl

public SessionDocumentServiceImpl()
Deprecated. 
Method Detail

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Deprecated. 
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
Exception

getDocumentForm

public KualiDocumentFormBase getDocumentForm(String documentNumber,
                                             String docFormKey,
                                             UserSession userSession,
                                             String ipAddress)
Deprecated. 
Description copied from interface: SessionDocumentService
Returns KualiDocumentFormBase object. It will check userSession first, if it failed then check database

Specified by:
getDocumentForm in interface SessionDocumentService
Returns:
KualiDocumentFormBase

retrieveDocumentForm

protected Object retrieveDocumentForm(UserSession userSession,
                                      String sessionId,
                                      String documentNumber,
                                      String ipAddress)
                               throws Exception
Deprecated. 
Throws:
Exception

getDocumentFromSession

public WorkflowDocument getDocumentFromSession(UserSession userSession,
                                               String docId)
Deprecated. 
Description copied from interface: SessionDocumentService
Retrieves a document from the user session for the given document id

Specified by:
getDocumentFromSession in interface SessionDocumentService

addDocumentToUserSession

public void addDocumentToUserSession(UserSession userSession,
                                     WorkflowDocument document)
Deprecated. 
Description copied from interface: SessionDocumentService
This method places a document into the user session.

Specified by:
addDocumentToUserSession in interface SessionDocumentService
See Also:
SessionDocumentService.addDocumentToUserSession(org.kuali.rice.krad.UserSession, org.kuali.rice.kew.api.WorkflowDocument)

purgeDocumentForm

public void purgeDocumentForm(String documentNumber,
                              String docFormKey,
                              UserSession userSession,
                              String ipAddress)
Deprecated. 
Description copied from interface: SessionDocumentService
Delete KualiDocumentFormBase from session and database.

Specified by:
purgeDocumentForm in interface SessionDocumentService
See Also:
org.kuali.rice.krad.service.SessionDocumentService#purgeDocumentForm(String documentNumber, String docFormKey, UserSession userSession)

setDocumentForm

public void setDocumentForm(KualiDocumentFormBase form,
                            UserSession userSession,
                            String ipAddress)
Deprecated. 
Description copied from interface: SessionDocumentService
Store KualiDocumentFormBase into session and database.

Specified by:
setDocumentForm in interface SessionDocumentService

persistDocumentForm

protected void persistDocumentForm(Object form,
                                   UserSession userSession,
                                   String ipAddress,
                                   String sessionId,
                                   String documentNumber)
Deprecated. 

purgeAllSessionDocuments

public void purgeAllSessionDocuments(Timestamp expirationDate)
Deprecated. 
Description copied from interface: SessionDocumentService
Delete KualiDocumentFormBases from database.

Specified by:
purgeAllSessionDocuments in interface SessionDocumentService
See Also:
SessionDocumentService.purgeAllSessionDocuments(java.sql.Timestamp)

getSessionDocumentDao

protected SessionDocumentDao getSessionDocumentDao()
Deprecated. 

setSessionDocumentDao

public void setSessionDocumentDao(SessionDocumentDao sessionDocumentDao)
Deprecated. 

getBusinessObjectService

protected BusinessObjectService getBusinessObjectService()
Deprecated. 

setBusinessObjectService

public void setBusinessObjectService(BusinessObjectService businessObjectService)
Deprecated. 

getMaxCacheSize

public int getMaxCacheSize()
Deprecated. 

setMaxCacheSize

public void setMaxCacheSize(int maxCacheSize)
Deprecated. 

getEncryptionService

protected EncryptionService getEncryptionService()
Deprecated. 

getDataDictionaryService

protected DataDictionaryService getDataDictionaryService()
Deprecated. 


Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.