Package org.kuali.rice.krad.document
Class TransactionalDocumentControllerServiceImpl
java.lang.Object
org.kuali.rice.krad.web.service.impl.ControllerServiceImpl
org.kuali.rice.krad.document.DocumentControllerServiceImpl
org.kuali.rice.krad.document.TransactionalDocumentControllerServiceImpl
- All Implemented Interfaces:
DocumentControllerService,TransactionalDocumentControllerService,ControllerService
public class TransactionalDocumentControllerServiceImpl
extends DocumentControllerServiceImpl
implements TransactionalDocumentControllerService
Default implementation of the transactional document controller service.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Field Summary
Fields inherited from class org.kuali.rice.krad.document.DocumentControllerServiceImpl
DOCUMENT_LOAD_COMMANDS, EXPLANATION_DIALOG, SENSITIVE_DATA_DIALOG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.web.servlet.ModelAndViewacknowledge(DocumentFormBase form) Sends a acknowledge workflow action for the document contained on the form.org.springframework.web.servlet.ModelAndViewapprove(DocumentFormBase form) Sends a approve workflow action for the document contained on the form.org.springframework.web.servlet.ModelAndViewcancel(UifFormBase form) Navigates back to a previous point (depending on how the view was requested).org.springframework.web.servlet.ModelAndViewclose(DocumentFormBase form) Closes the document and returns to the hub.org.springframework.web.servlet.ModelAndViewInvoked to copy the current transactional document into a new document.org.springframework.web.servlet.ModelAndViewdisapprove(DocumentFormBase form) Sends a disapprove workflow action for the document contained on the form.protected PessimisticLockServiceprotected voidReleases the pessimistic locks for the current user.org.springframework.web.servlet.ModelAndViewroute(DocumentFormBase form) Sends a route workflow action for the document contained on the form.protected voidsetPessimisticLockService(PessimisticLockService pessimisticLockService) Methods inherited from class org.kuali.rice.krad.document.DocumentControllerServiceImpl
blanketApprove, buildAuthorizationException, cancelAttachment, checkSensitiveDataAndWarningDialog, combineAdHocRecipients, complete, createDocument, deleteNote, docHandler, downloadAttachment, fyi, generateDisapprovalNote, getAddLineNoteInstance, getAttachmentService, getCollectionControllerService, getConfigurationService, getDataDictionaryService, getDocumentDictionaryService, getDocumentService, getLegacyDataAdapter, getModelAndViewService, getNavigationControllerService, getNewNoteAttachment, getNoteService, getParameterService, getWorkflowDocumentActionsService, insertNote, loadDocument, performSuperUserWorkflowAction, performSuperUserWorkflowAction, performWorkflowAction, performWorkflowAction, recall, reload, save, save, saveNewNote, sendAdHocRequests, setAttachmentService, setCollectionControllerService, setConfigurationService, setDataDictionaryService, setDocumentDictionaryService, setDocumentService, setLegacyDataAdapter, setModelAndViewService, setNavigationControllerService, setNewNoteProperties, setNoteService, setParameterService, superUserApprove, superUserDisapprove, superUserTakeActions, supervisorFunctionsMethods inherited from class org.kuali.rice.krad.web.service.impl.ControllerServiceImpl
checkViewAuthorization, sessionTimeout, startMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.kuali.rice.krad.web.service.ControllerService
checkViewAuthorization, sessionTimeout, startMethods inherited from interface org.kuali.rice.krad.document.DocumentControllerService
blanketApprove, cancelAttachment, complete, deleteNote, docHandler, downloadAttachment, fyi, insertNote, performSuperUserWorkflowAction, performSuperUserWorkflowAction, performWorkflowAction, performWorkflowAction, recall, reload, save, save, sendAdHocRequests, superUserApprove, superUserDisapprove, superUserTakeActions, supervisorFunctions
-
Constructor Details
-
TransactionalDocumentControllerServiceImpl
public TransactionalDocumentControllerServiceImpl()
-
-
Method Details
-
copy
Invoked to copy the current transactional document into a new document.- Specified by:
copyin interfaceTransactionalDocumentControllerService- Parameters:
form- form instance containing the transactional document data- Returns:
- ModelAndView instance for rendering the document view
-
cancel
Navigates back to a previous point (depending on how the view was requested). Invoked when the cancel action is invoked on a view. org.kuali.rice.krad.web.service.impl.NavigationControllerServiceImpl#back(org.kuali.rice.krad.web.form.UifFormBase, boolean)Releases the pessimistic locks before continuing.
- Specified by:
cancelin interfaceControllerService- Overrides:
cancelin classDocumentControllerServiceImpl- Parameters:
form- form instance containing the model data- Returns:
- ModelAndView instance for rendering the view
-
route
Sends a route workflow action for the document contained on the form.Releases the pessimistic locks before continuing.
- Specified by:
routein interfaceDocumentControllerService- Overrides:
routein classDocumentControllerServiceImpl- Parameters:
form- form instance containing the document the route request will be generated for- Returns:
- ModelAndView instance for rendering the document view
-
approve
Sends a approve workflow action for the document contained on the form.Releases the pessimistic locks before continuing.
- Specified by:
approvein interfaceDocumentControllerService- Overrides:
approvein classDocumentControllerServiceImpl- Parameters:
form- form instance containing the document the approve request will be generated for- Returns:
- ModelAndView instance for rendering the document view
-
disapprove
Sends a disapprove workflow action for the document contained on the form.Releases the pessimistic locks before continuing.
- Specified by:
disapprovein interfaceDocumentControllerService- Overrides:
disapprovein classDocumentControllerServiceImpl- Parameters:
form- form instance containing the document the disapprove request will be generated for- Returns:
- ModelAndView instance for rendering the document view
-
acknowledge
Sends a acknowledge workflow action for the document contained on the form.Releases the pessimistic locks before continuing.
- Specified by:
acknowledgein interfaceDocumentControllerService- Overrides:
acknowledgein classDocumentControllerServiceImpl- Parameters:
form- form instance containing the document the acknowledge request will be generated for- Returns:
- ModelAndView instance for rendering the document view
-
close
Closes the document and returns to the hub.Prompts for save and releases the pessimistic locks before continuing.
- Specified by:
closein interfaceDocumentControllerService- Overrides:
closein classDocumentControllerServiceImpl- Parameters:
form- form instance containing the document instance- Returns:
- ModelAndView instance for rendering the document view
-
releasePessimisticLocks
Releases the pessimistic locks for the current user.- Parameters:
form- form instance containing the transactional document data
-
getPessimisticLockService
-
setPessimisticLockService
-