public class MaintenanceDocumentControllerServiceImpl extends DocumentControllerServiceImpl implements MaintenanceDocumentControllerService
DOCUMENT_LOAD_COMMANDS, EXPLANATION_DIALOG, SENSITIVE_DATA_DIALOG| Constructor and Description |
|---|
MaintenanceDocumentControllerServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
createDocument(DocumentFormBase form)
Creates a new document of the type specified by the docTypeName property of the given form.
|
protected void |
createMaintenanceDocument(MaintenanceDocumentForm form,
String maintenanceAction)
Helper method to create a new maintenance document instance and set the instance on the given form.
|
void |
downloadDataObjectAttachment(MaintenanceDocumentForm form,
javax.servlet.http.HttpServletResponse response)
When the maintenance data object is a
PersistableAttachment or
PersistableAttachmentList, streams the selected attachment back to the
response. |
protected MaintenanceDocumentService |
getMaintenanceDocumentService() |
protected void |
loadDocument(DocumentFormBase form)
Loads the document by its provided document header id on the given form.
|
void |
setMaintenanceDocumentService(MaintenanceDocumentService maintenanceDocumentService) |
org.springframework.web.servlet.ModelAndView |
setupMaintenanceCopy(MaintenanceDocumentForm form)
Sets up a new maintenance document for a copy action on the data object identified by the form
parameters.
|
org.springframework.web.servlet.ModelAndView |
setupMaintenanceDelete(MaintenanceDocumentForm form)
Sets up a new maintenance document for a delete action on the data object identified by the form
parameters.
|
void |
setupMaintenanceDocument(MaintenanceDocumentForm form,
String maintenanceAction)
Invoked to setup a new maintenance document for the maintenance data contained on the form
and the given maintenance action.
|
org.springframework.web.servlet.ModelAndView |
setupMaintenanceEdit(MaintenanceDocumentForm form)
Sets up a new maintenance document for an edit action on the data object identified by the form
parameters.
|
org.springframework.web.servlet.ModelAndView |
setupMaintenanceNewWithExisting(MaintenanceDocumentForm form)
Sets up a new maintenance document for a new with existing action on the data object identified by the form
parameters.
|
org.springframework.web.servlet.ModelAndView |
start(UifFormBase form)
Initial method called when requesting a new view instance.
|
acknowledge, approve, blanketApprove, buildAuthorizationException, cancel, cancelAttachment, checkSensitiveDataAndWarningDialog, close, combineAdHocRecipients, complete, deleteNote, disapprove, docHandler, downloadAttachment, fyi, generateDisapprovalNote, getAddLineNoteInstance, getAttachmentService, getCollectionControllerService, getConfigurationService, getDataDictionaryService, getDocumentDictionaryService, getDocumentService, getLegacyDataAdapter, getModelAndViewService, getNavigationControllerService, getNewNoteAttachment, getNoteService, getParameterService, getWorkflowDocumentActionsService, insertNote, performSuperUserWorkflowAction, performSuperUserWorkflowAction, performWorkflowAction, performWorkflowAction, recall, reload, route, save, save, saveNewNote, sendAdHocRequests, setAttachmentService, setCollectionControllerService, setConfigurationService, setDataDictionaryService, setDocumentDictionaryService, setDocumentService, setLegacyDataAdapter, setModelAndViewService, setNavigationControllerService, setNewNoteProperties, setNoteService, setParameterService, superUserApprove, superUserDisapprove, superUserTakeActions, supervisorFunctionscheckViewAuthorization, sessionTimeoutclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitacknowledge, approve, blanketApprove, cancelAttachment, close, complete, deleteNote, disapprove, docHandler, downloadAttachment, fyi, insertNote, performSuperUserWorkflowAction, performSuperUserWorkflowAction, performWorkflowAction, performWorkflowAction, recall, reload, route, save, save, sendAdHocRequests, superUserApprove, superUserDisapprove, superUserTakeActions, supervisorFunctionscancel, checkViewAuthorization, sessionTimeoutpublic MaintenanceDocumentControllerServiceImpl()
public org.springframework.web.servlet.ModelAndView start(UifFormBase form)
start in interface ControllerServicestart in class ControllerServiceImplform - form instance containing the model dataprotected void loadDocument(DocumentFormBase form) throws WorkflowException
This has been abstracted out so that it can be overridden in children if the need arises
loadDocument in class DocumentControllerServiceImplform - form instance that contains the doc id parameter and where
the retrieved document instance should be setWorkflowExceptionprotected void createDocument(DocumentFormBase form) throws WorkflowException
This has been abstracted out so that it can be overridden in children if the need arises
createDocument in class DocumentControllerServiceImplform - form instance that contains the doc type parameter and where
the new document instance should be setWorkflowExceptionpublic org.springframework.web.servlet.ModelAndView setupMaintenanceEdit(MaintenanceDocumentForm form)
setupMaintenanceEdit in interface MaintenanceDocumentControllerServiceform - form instance containing the maintenance datapublic org.springframework.web.servlet.ModelAndView setupMaintenanceCopy(MaintenanceDocumentForm form)
setupMaintenanceCopy in interface MaintenanceDocumentControllerServiceform - form instance containing the maintenance datapublic org.springframework.web.servlet.ModelAndView setupMaintenanceNewWithExisting(MaintenanceDocumentForm form)
setupMaintenanceNewWithExisting in interface MaintenanceDocumentControllerServiceform - form instance containing the maintenance datapublic org.springframework.web.servlet.ModelAndView setupMaintenanceDelete(MaintenanceDocumentForm form)
setupMaintenanceDelete in interface MaintenanceDocumentControllerServiceform - form instance containing the maintenance datapublic void setupMaintenanceDocument(MaintenanceDocumentForm form, String maintenanceAction)
setupMaintenanceDocument in interface MaintenanceDocumentControllerServiceform - form instance containing the maintenance datamaintenanceAction - type of maintenance action being requested (new, edit, copy, delete)protected void createMaintenanceDocument(MaintenanceDocumentForm form, String maintenanceAction)
form - form instance to pull data object from and set new document instance onmaintenanceAction - type of maintenance action being requestedpublic void downloadDataObjectAttachment(MaintenanceDocumentForm form, javax.servlet.http.HttpServletResponse response)
PersistableAttachment or
PersistableAttachmentList, streams the selected attachment back to the
response.downloadDataObjectAttachment in interface MaintenanceDocumentControllerServiceform - form instance containing the maintenance dataresponse - Http response for returning the attachment contentsprotected MaintenanceDocumentService getMaintenanceDocumentService()
public void setMaintenanceDocumentService(MaintenanceDocumentService maintenanceDocumentService)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.