|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krad.web.controller.UifControllerBase org.kuali.rice.krad.web.controller.DocumentControllerBase org.kuali.rice.krad.web.controller.MaintenanceDocumentController org.kuali.ole.license.controller.OleCheckListController
@Controller @RequestMapping(value="/oleCheckListMaintenance") public class OleCheckListController
OleCheckListController is the controller class for CheckList Maintenance Document.
Field Summary | |
---|---|
protected static org.apache.log4j.Logger |
LOG
|
Fields inherited from class org.kuali.rice.krad.web.controller.DocumentControllerBase |
---|
DOCUMENT_LOAD_COMMANDS |
Fields inherited from class org.kuali.rice.krad.web.controller.UifControllerBase |
---|
REDIRECT_PREFIX |
Constructor Summary | |
---|---|
OleCheckListController()
|
Method Summary | |
---|---|
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.MaintenanceForm 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.MaintenanceForm 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 |
protected void |
setupMaintenanceForDelete(org.kuali.rice.krad.web.form.MaintenanceForm 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. |
Methods inherited from class org.kuali.rice.krad.web.controller.MaintenanceDocumentController |
---|
createInitialForm, docHandler, maintenanceCopy, maintenanceEdit, maintenanceNewWithExisting, setupMaintenance, start |
Methods inherited from class org.kuali.rice.krad.web.controller.DocumentControllerBase |
---|
acknowledge, approve, blanketApprove, buildAuthorizationException, cancel, cancelAttachment, checkAndWarnAboutSensitiveData, combineAdHocRecipients, createDocument, deleteNote, disapprove, fyi, getAttachmentService, getBusinessObjectService, getConfigurationService, getDataDictionaryService, getDocumentDictionaryService, getDocumentService, getNoteService, insertNote, loadDocument, performWorkflowAction, reload, save, setBusinessObjectService, setDataDictionaryService, setDocumentDictionaryService, setDocumentService, supervisorFunctions |
Methods inherited from class org.kuali.rice.krad.web.controller.UifControllerBase |
---|
addLine, checkViewAuthorization, close, deleteLine, getUIFModelAndView, getUIFModelAndView, getViewService, initForm, navigate, performFieldQuery, performFieldSuggest, performLookup, performRedirect, refresh, returnToHistory, returnToHub, returnToPrevious, toggleInactiveRecordDisplay, updateComponent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final org.apache.log4j.Logger LOG
Constructor Detail |
---|
public OleCheckListController()
Method Detail |
---|
@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.MaintenanceForm 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.MaintenanceForm 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.MaintenanceForm 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
-
public boolean storeAttachment(org.springframework.web.multipart.MultipartFile attachedFile, String fileName) throws IOException
attachedFile
- fileName
-
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |