|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krad.service.impl.SessionDocumentServiceImpl
@Transactional public class SessionDocumentServiceImpl
Implementation of SessionDocumentService
that persists the document form
contents to the underlying database
Field Summary | |
---|---|
protected static String |
DOCUMENT_NUMBER
|
protected static String |
IP_ADDRESS
|
protected static String |
PRINCIPAL_ID
|
protected static String |
SESSION_ID
|
Constructor Summary | |
---|---|
SessionDocumentServiceImpl()
|
Method Summary | |
---|---|
void |
addDocumentToUserSession(UserSession userSession,
WorkflowDocument document)
This method places a document into the user session. |
protected BusinessObjectService |
getBusinessObjectService()
|
protected DataDictionaryService |
getDataDictionaryService()
|
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 |
protected EncryptionService |
getEncryptionService()
|
protected SessionDocumentDao |
getSessionDocumentDao()
|
protected void |
persistDocumentForm(DocumentFormBase form,
UserSession userSession,
String ipAddress,
String sessionId,
String documentNumber)
|
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. |
protected Object |
retrieveDocumentForm(UserSession userSession,
String sessionId,
String documentNumber,
String ipAddress)
|
void |
setBusinessObjectService(BusinessObjectService businessObjectService)
|
void |
setDocumentForm(DocumentFormBase form,
UserSession userSession,
String ipAddress)
This method stores a UifFormBase into session and database |
void |
setSessionDocumentDao(SessionDocumentDao sessionDocumentDao)
|
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 DocumentFormBase 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 SessionDocumentService
SessionDocumentService.addDocumentToUserSession(org.kuali.rice.krad.UserSession,
org.kuali.rice.kew.api.WorkflowDocument)
public void purgeDocumentForm(String documentNumber, String docFormKey, UserSession userSession, String ipAddress)
SessionDocumentService
purgeDocumentForm
in interface SessionDocumentService
SessionDocumentService.purgeDocumentForm(String, String,
org.kuali.rice.krad.UserSession, String)
public void setDocumentForm(DocumentFormBase form, UserSession userSession, String ipAddress)
SessionDocumentService
setDocumentForm
in interface SessionDocumentService
protected void persistDocumentForm(DocumentFormBase form, UserSession userSession, String ipAddress, String sessionId, String documentNumber)
public void purgeAllSessionDocuments(Timestamp expirationDate)
SessionDocumentService
purgeAllSessionDocuments
in interface SessionDocumentService
SessionDocumentService.purgeAllSessionDocuments(java.sql.Timestamp)
protected SessionDocumentDao getSessionDocumentDao()
public void setSessionDocumentDao(SessionDocumentDao sessionDocumentDao)
protected BusinessObjectService getBusinessObjectService()
public void setBusinessObjectService(BusinessObjectService businessObjectService)
protected EncryptionService getEncryptionService()
protected DataDictionaryService getDataDictionaryService()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |