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, supervisorFunctions
checkViewAuthorization, sessionTimeout
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
acknowledge, approve, blanketApprove, cancelAttachment, close, complete, deleteNote, disapprove, docHandler, downloadAttachment, fyi, insertNote, performSuperUserWorkflowAction, performSuperUserWorkflowAction, performWorkflowAction, performWorkflowAction, recall, reload, route, save, save, sendAdHocRequests, superUserApprove, superUserDisapprove, superUserTakeActions, supervisorFunctions
cancel, checkViewAuthorization, sessionTimeout
public MaintenanceDocumentControllerServiceImpl()
public org.springframework.web.servlet.ModelAndView start(UifFormBase form)
start
in interface ControllerService
start
in class ControllerServiceImpl
form
- 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 DocumentControllerServiceImpl
form
- form instance that contains the doc id parameter and where
the retrieved document instance should be setWorkflowException
protected 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 DocumentControllerServiceImpl
form
- form instance that contains the doc type parameter and where
the new document instance should be setWorkflowException
public org.springframework.web.servlet.ModelAndView setupMaintenanceEdit(MaintenanceDocumentForm form)
setupMaintenanceEdit
in interface MaintenanceDocumentControllerService
form
- form instance containing the maintenance datapublic org.springframework.web.servlet.ModelAndView setupMaintenanceCopy(MaintenanceDocumentForm form)
setupMaintenanceCopy
in interface MaintenanceDocumentControllerService
form
- form instance containing the maintenance datapublic org.springframework.web.servlet.ModelAndView setupMaintenanceNewWithExisting(MaintenanceDocumentForm form)
setupMaintenanceNewWithExisting
in interface MaintenanceDocumentControllerService
form
- form instance containing the maintenance datapublic org.springframework.web.servlet.ModelAndView setupMaintenanceDelete(MaintenanceDocumentForm form)
setupMaintenanceDelete
in interface MaintenanceDocumentControllerService
form
- form instance containing the maintenance datapublic void setupMaintenanceDocument(MaintenanceDocumentForm form, String maintenanceAction)
setupMaintenanceDocument
in interface MaintenanceDocumentControllerService
form
- 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 MaintenanceDocumentControllerService
form
- form instance containing the maintenance dataresponse
- Http response for returning the attachment contentsprotected MaintenanceDocumentService getMaintenanceDocumentService()
public void setMaintenanceDocumentService(MaintenanceDocumentService maintenanceDocumentService)
Copyright © 2005–2015 The Kuali Foundation. All rights reserved.