public class InquiryControllerServiceImpl extends ControllerServiceImpl implements InquiryControllerService
Constructor and Description |
---|
InquiryControllerServiceImpl() |
Modifier and Type | Method and Description |
---|---|
protected org.springframework.web.servlet.ModelAndView |
checkForModuleInquiryRedirect(InquiryForm inquiryForm,
javax.servlet.http.HttpServletRequest request)
Checks for a module service that claims the inquiry class as an EBO, and if found redirects to the URL
given by the module service.
|
void |
downloadCustomDataObjectAttachment(InquiryForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
When the data object is a custom object, streams the requested attachment back to the
response.
|
void |
downloadDataObjectAttachment(InquiryForm form,
javax.servlet.http.HttpServletResponse response)
When the data object is a
PersistableAttachment or
PersistableAttachmentList , streams the selected attachment back to the
response. |
org.springframework.web.servlet.ModelAndView |
start(UifFormBase form)
Determines if the inquiry request needs to be redirected based on the module service, if not retrieves
the inquiry data object and sets the instance onto the form for display.
|
cancel, checkViewAuthorization, getModelAndViewService, getNavigationControllerService, sessionTimeout, setModelAndViewService, setNavigationControllerService
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
cancel, checkViewAuthorization, sessionTimeout
public InquiryControllerServiceImpl()
public org.springframework.web.servlet.ModelAndView start(UifFormBase form)
Note the inquiry data object is retrieved based on the key values passed by the request.
Initial method called when requesting a new view instance.start
in interface ControllerService
start
in class ControllerServiceImpl
form
- form instance containing the model dataprotected org.springframework.web.servlet.ModelAndView checkForModuleInquiryRedirect(InquiryForm inquiryForm, javax.servlet.http.HttpServletRequest request)
inquiryForm
- form instance containing the inquiry datarequest
- http request being handledpublic void downloadDataObjectAttachment(InquiryForm form, javax.servlet.http.HttpServletResponse response)
PersistableAttachment
or
PersistableAttachmentList
, streams the selected attachment back to the
response.downloadDataObjectAttachment
in interface InquiryControllerService
form
- form instance containing the inquiry dataresponse
- Http response for returning the attachment contentspublic void downloadCustomDataObjectAttachment(InquiryForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
downloadCustomDataObjectAttachment
in interface InquiryControllerService
form
- form instance containing the inquiry datarequest
- Http request for sending the fileName, contentType, and fileContentDataObjFieldresponse
- Http response for returning the attachment contentsException
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.