@Controller @RequestMapping(value="/oleCheckListMaintenance") public class OleCheckListController extends org.kuali.rice.krad.web.controller.MaintenanceDocumentController
Modifier and Type | Field and Description |
---|---|
protected static org.apache.log4j.Logger |
LOG |
Constructor and Description |
---|
OleCheckListController() |
Modifier and Type | Method and Description |
---|---|
org.springframework.web.servlet.ModelAndView |
blanketApprove(org.kuali.rice.krad.web.form.DocumentFormBase docForm,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Performs the blanket approve workflow action on the form document instance
|
protected boolean |
deleteAttachment(OleCheckListBo oleCheckListBo)
This method is used to delete the attachment(checklist template) file.
|
org.springframework.web.servlet.ModelAndView |
deleteDocument(org.kuali.rice.krad.web.form.MaintenanceDocumentForm form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
This method invokes deleteAttachment method to delete attachment and set the error accordingly ..
|
org.springframework.web.servlet.ModelAndView |
downloadAttachment(org.kuali.rice.krad.web.form.UifFormBase form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
This method is used to download the attachment.
|
org.kuali.rice.core.api.config.property.ConfigurationService |
getKualiConfigurationService() |
protected OleCheckListMaintenanceDocumentService |
getMaintenanceDocumentService() |
org.springframework.web.servlet.ModelAndView |
maintenanceDelete(org.kuali.rice.krad.web.form.MaintenanceDocumentForm form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
This method invokes setupMaintenanceForDelete method to populate the document for deleting.
|
org.springframework.web.servlet.ModelAndView |
route(org.kuali.rice.krad.web.form.DocumentFormBase docForm,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
This method store the uploaded checklist template in the specified path and also populates the document
for routing
|
org.springframework.web.servlet.ModelAndView |
save(org.kuali.rice.krad.web.form.DocumentFormBase docForm,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Saves the document instance contained on the form
|
protected void |
setupMaintenanceForDelete(org.kuali.rice.krad.web.form.MaintenanceDocumentForm form,
javax.servlet.http.HttpServletRequest request,
String maintenanceAction)
This method populates confirmation to delete the document.
|
boolean |
storeAttachment(org.springframework.web.multipart.MultipartFile attachedFile,
String fileName)
This method stores uploaded checklist template in the specified path.
|
createInitialForm, docHandler, maintenanceCopy, maintenanceEdit, maintenanceNewWithExisting, setupMaintenance, start
acknowledge, approve, buildAuthorizationException, cancel, cancelAttachment, checkAndWarnAboutSensitiveData, combineAdHocRecipients, complete, createDocument, deleteNote, disapprove, fyi, getAttachmentService, getBusinessObjectService, getConfigurationService, getDataDictionaryService, getDocumentDictionaryService, getDocumentService, getNoteService, insertNote, loadDocument, performWorkflowAction, reload, setBusinessObjectService, setDataDictionaryService, setDocumentDictionaryService, setDocumentService, supervisorFunctions
addBlankLine, addLine, checkForm, checkViewAuthorization, close, deleteLine, getBooleanDialogResponse, getMessageView, getStringDialogResponse, getUIFModelAndView, getUIFModelAndView, getViewService, hasDialogBeenAnswered, hasDialogBeenDisplayed, initForm, navigate, performFieldQuery, performFieldSuggest, performLookup, performRedirect, refresh, returnFromLightbox, returnToHistory, returnToHub, returnToPrevious, saveLine, showDialog
protected static final org.apache.log4j.Logger LOG
public OleCheckListController()
@RequestMapping(params="methodToCall=downloadAttachment") public org.springframework.web.servlet.ModelAndView downloadAttachment(@ModelAttribute(value="KualiForm") org.kuali.rice.krad.web.form.UifFormBase form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
downloadAttachment
in class org.kuali.rice.krad.web.controller.DocumentControllerBase
form
- result
- request
- response
- @RequestMapping(params="methodToCall=maintenanceDelete") public org.springframework.web.servlet.ModelAndView maintenanceDelete(@ModelAttribute(value="KualiForm") org.kuali.rice.krad.web.form.MaintenanceDocumentForm form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
form
- result
- request
- response
- Exception
@RequestMapping(params="methodToCall=deleteDocument") public org.springframework.web.servlet.ModelAndView deleteDocument(@ModelAttribute(value="KualiForm") org.kuali.rice.krad.web.form.MaintenanceDocumentForm form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
form
- result
- request
- response
- Exception
protected void setupMaintenanceForDelete(org.kuali.rice.krad.web.form.MaintenanceDocumentForm form, javax.servlet.http.HttpServletRequest request, String maintenanceAction)
form
- request
- maintenanceAction
- protected boolean deleteAttachment(OleCheckListBo oleCheckListBo)
oleCheckListBo
- protected OleCheckListMaintenanceDocumentService getMaintenanceDocumentService()
getMaintenanceDocumentService
in class org.kuali.rice.krad.web.controller.MaintenanceDocumentController
public org.kuali.rice.core.api.config.property.ConfigurationService getKualiConfigurationService()
@RequestMapping(params="methodToCall=route") public org.springframework.web.servlet.ModelAndView route(@ModelAttribute(value="KualiForm") org.kuali.rice.krad.web.form.DocumentFormBase docForm, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
route
in class org.kuali.rice.krad.web.controller.MaintenanceDocumentController
docForm
- result
- request
- response
- @RequestMapping(params="methodToCall=blanketApprove") public org.springframework.web.servlet.ModelAndView blanketApprove(@ModelAttribute(value="KualiForm") org.kuali.rice.krad.web.form.DocumentFormBase docForm, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
blanketApprove
in class org.kuali.rice.krad.web.controller.DocumentControllerBase
docForm
- - document form base containing the document instance that will be blanket approvedException
public boolean storeAttachment(org.springframework.web.multipart.MultipartFile attachedFile, String fileName) throws IOException
attachedFile
- fileName
- IOException
@RequestMapping(params="methodToCall=save") public org.springframework.web.servlet.ModelAndView save(@ModelAttribute(value="KualiForm") org.kuali.rice.krad.web.form.DocumentFormBase docForm, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
save
in class org.kuali.rice.krad.web.controller.DocumentControllerBase
docForm
- - document form base containing the document instance that will be savedException
Copyright © 2004-2014 The Kuali Foundation. All Rights Reserved.