Package org.kuali.rice.krad.service
Interface SessionDocumentService
- All Known Implementing Classes:
SessionDocumentServiceImpl
Deprecated.
Service API for persisting
Document form content and
retrieving back- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddDocumentToUserSession(UserSession userSession, org.kuali.rice.kew.api.WorkflowDocument document) Deprecated.This method places a document into the user session.getDocumentForm(String documentNumber, String docFormKey, UserSession userSession, String ipAddress) Deprecated.Returns DocumentFormBase object from the dborg.kuali.rice.kew.api.WorkflowDocumentgetDocumentFromSession(UserSession userSession, String docId) Deprecated.Retrieves a document from the user session for the given document idvoidpurgeAllSessionDocuments(Timestamp expirationDate) Deprecated.Delete KualiDocumentFormBase from session and database.voidpurgeDocumentForm(String documentNumber, String docFormKey, UserSession userSession, String ipAddress) Deprecated.Delete DocumentFormBase from session and database.voidsetDocumentForm(DocumentFormBase form, UserSession userSession, String ipAddress) Deprecated.This method stores a UifFormBase into session and database
-
Method Details
-
getDocumentFromSession
org.kuali.rice.kew.api.WorkflowDocument getDocumentFromSession(UserSession userSession, String docId) Deprecated.Retrieves a document from the user session for the given document id -
addDocumentToUserSession
void addDocumentToUserSession(UserSession userSession, org.kuali.rice.kew.api.WorkflowDocument document) Deprecated.This method places a document into the user session. -
purgeDocumentForm
void purgeDocumentForm(String documentNumber, String docFormKey, UserSession userSession, String ipAddress) Deprecated.Delete DocumentFormBase from session and database.- Parameters:
documentNumber-docFormKey-userSession-
-
purgeAllSessionDocuments
Deprecated.Delete KualiDocumentFormBase from session and database.- Parameters:
documentNumber-
-
setDocumentForm
Deprecated.This method stores a UifFormBase into session and database- Parameters:
form-userSession-ipAddress-
-
getDocumentForm
DocumentFormBase getDocumentForm(String documentNumber, String docFormKey, UserSession userSession, String ipAddress) Deprecated.Returns DocumentFormBase object from the db- Parameters:
documentNumber-docFormKey-userSession-ipAddress-- Returns:
-
Used as an extension to session support. If a session times out, the doucment contents can be retrieved from the persistence storage and work resumed