|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.kns.service.impl.SessionDocumentServiceImpl
@Deprecated @Transactional public class SessionDocumentServiceImpl
Implementation of SessionDocumentService that persists the document form
contents to the underlying database
| 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 |
|---|
protected static final String IP_ADDRESS
protected static final String PRINCIPAL_ID
protected static final String DOCUMENT_NUMBER
protected static final String SESSION_ID
| Constructor Detail |
|---|
public SessionDocumentServiceImpl()
| Method Detail |
|---|
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanException
public KualiDocumentFormBase getDocumentForm(String documentNumber,
String docFormKey,
UserSession userSession,
String ipAddress)
SessionDocumentService
getDocumentForm in interface SessionDocumentService
protected Object retrieveDocumentForm(UserSession userSession,
String sessionId,
String documentNumber,
String ipAddress)
throws Exception
Exception
public WorkflowDocument getDocumentFromSession(UserSession userSession,
String docId)
SessionDocumentService
getDocumentFromSession in interface SessionDocumentService
public void addDocumentToUserSession(UserSession userSession,
WorkflowDocument document)
SessionDocumentService
addDocumentToUserSession in interface SessionDocumentServiceorg.kuali.rice.krad.service.SessionDocumentService#addDocumentToUserSession(org.kuali.rice.krad.UserSession,
org.kuali.rice.krad.workflow.service.KualiWorkflowDocument)
public void purgeDocumentForm(String documentNumber,
String docFormKey,
UserSession userSession,
String ipAddress)
SessionDocumentService
purgeDocumentForm in interface SessionDocumentServiceorg.kuali.rice.krad.service.SessionDocumentService#purgeDocumentForm(String
documentNumber, String docFormKey, UserSession userSession)
public void setDocumentForm(KualiDocumentFormBase form,
UserSession userSession,
String ipAddress)
SessionDocumentService
setDocumentForm in interface SessionDocumentService
protected void persistDocumentForm(Object form,
UserSession userSession,
String ipAddress,
String sessionId,
String documentNumber)
public void purgeAllSessionDocuments(Timestamp expirationDate)
SessionDocumentService
purgeAllSessionDocuments in interface SessionDocumentServiceSessionDocumentService.purgeAllSessionDocuments(java.sql.Timestamp)protected SessionDocumentDao getSessionDocumentDao()
public void setSessionDocumentDao(SessionDocumentDao sessionDocumentDao)
protected BusinessObjectService getBusinessObjectService()
public void setBusinessObjectService(BusinessObjectService businessObjectService)
public int getMaxCacheSize()
public void setMaxCacheSize(int maxCacheSize)
protected EncryptionService getEncryptionService()
protected DataDictionaryService getDataDictionaryService()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||