| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SessionDocumentService
Service API for persisting Document form content and
 retrieving back
 
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
| Method Summary | |
|---|---|
|  void | addDocumentToUserSession(UserSession userSession,
                                                 WorkflowDocument document)This method places a document into the user session. | 
|  DocumentFormBase | getDocumentForm(String documentNumber,
                               String docFormKey,
                               UserSession userSession,
                               String ipAddress)Returns DocumentFormBase object from the db | 
|  WorkflowDocument | getDocumentFromSession(UserSession userSession,
                                             String docId)Retrieves a document from the user session for the given document id | 
|  void | purgeAllSessionDocuments(Timestamp expirationDate)Delete KualiDocumentFormBase from session and database. | 
|  void | purgeDocumentForm(String documentNumber,
                                   String docFormKey,
                                   UserSession userSession,
                                   String ipAddress)Delete DocumentFormBase from session and database. | 
|  void | setDocumentForm(DocumentFormBase form,
                               UserSession userSession,
                               String ipAddress)This method stores a UifFormBase into session and database | 
| Method Detail | 
|---|
WorkflowDocument getDocumentFromSession(UserSession userSession,
                                        String docId)
void addDocumentToUserSession(UserSession userSession,
                              WorkflowDocument document)
void purgeDocumentForm(String documentNumber,
                       String docFormKey,
                       UserSession userSession,
                       String ipAddress)
documentNumber - docFormKey - userSession - 
void purgeAllSessionDocuments(Timestamp expirationDate)
documentNumber - 
void setDocumentForm(DocumentFormBase form,
                     UserSession userSession,
                     String ipAddress)
form - userSession - ipAddress - 
DocumentFormBase getDocumentForm(String documentNumber,
                                 String docFormKey,
                                 UserSession userSession,
                                 String ipAddress)
documentNumber - docFormKey - userSession - ipAddress - 
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||