|
||||||||||
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.patron.controller.OlePatronMaintenanceDocumentController
@Controller @RequestMapping(value="/patronMaintenance") public class OlePatronMaintenanceDocumentController
.OlePatronMaintenanceDocumentController invokes MaintenanceDocumentController and returns instance of MaintenanceDocumentService.
Field Summary |
---|
Fields inherited from class org.kuali.rice.krad.web.controller.DocumentControllerBase |
---|
DOCUMENT_LOAD_COMMANDS |
Constructor Summary | |
---|---|
OlePatronMaintenanceDocumentController()
|
Method Summary | |
---|---|
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)
To delete the whole patron document. |
org.springframework.web.servlet.ModelAndView |
getImage(org.kuali.rice.krad.web.form.MaintenanceDocumentForm form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
org.springframework.web.servlet.ModelAndView |
getImageForLoan(org.kuali.rice.krad.web.form.MaintenanceDocumentForm form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
protected org.kuali.rice.krad.service.MaintenanceDocumentService |
getMaintenanceDocumentService()
This method returns the instance of olePatronMaintenanceDocumentService |
OlePatronService |
getOlePatronService()
|
org.springframework.web.servlet.ModelAndView |
lostBarcode(org.kuali.rice.krad.web.form.DocumentFormBase form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
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)
Use to create a link delete in the lookup result action field which will use to delete patron record.. |
org.springframework.web.servlet.ModelAndView |
route(org.kuali.rice.krad.web.form.DocumentFormBase form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
To submit or route the patron maintenance document |
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. |
org.springframework.web.servlet.ModelAndView |
uploadImage(org.kuali.rice.krad.web.form.DocumentFormBase form,
org.springframework.validation.BindingResult result,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
boolean |
validateFile(String inputFile)
This method validate the image file type. |
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, complete, createDocument, deleteNote, disapprove, downloadAttachment, 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 |
---|
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, toggleInactiveRecordDisplay |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OlePatronMaintenanceDocumentController()
Method Detail |
---|
public OlePatronService getOlePatronService()
protected org.kuali.rice.krad.service.MaintenanceDocumentService getMaintenanceDocumentService()
getMaintenanceDocumentService
in class org.kuali.rice.krad.web.controller.MaintenanceDocumentController
@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
- @RequestMapping(params="methodToCall=route") public org.springframework.web.servlet.ModelAndView route(@ModelAttribute(value="KualiForm") org.kuali.rice.krad.web.form.DocumentFormBase form, 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
form
- document form base containing the document instance that will be routed
@RequestMapping(params="methodToCall=lostBarcode") public org.springframework.web.servlet.ModelAndView lostBarcode(@ModelAttribute(value="KualiForm") org.kuali.rice.krad.web.form.DocumentFormBase form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
@RequestMapping(params="methodToCall=uploadImage") public org.springframework.web.servlet.ModelAndView uploadImage(@ModelAttribute(value="KualiForm") org.kuali.rice.krad.web.form.DocumentFormBase form, org.springframework.validation.BindingResult result, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
public boolean validateFile(String inputFile)
inputFile
-
@RequestMapping(params="methodToCall=getImage") public org.springframework.web.servlet.ModelAndView getImage(@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)
@RequestMapping(params="methodToCall=getImageForLoan") public org.springframework.web.servlet.ModelAndView getImageForLoan(@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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |