Class KualiInquiryAction
java.lang.Object
org.apache.struts.action.Action
org.apache.struts.actions.BaseAction
org.apache.struts.actions.DispatchAction
org.kuali.rice.kns.web.struts.action.KualiAction
org.kuali.rice.kns.web.struts.action.KualiInquiryAction
Deprecated.
This class handles actions for inquiries of business objects.
-
Field Summary
Fields inherited from class org.kuali.rice.kns.web.struts.action.KualiAction
FORM_ACTION, FORWARD_NEXT, FORWARD_TEXT_AREA_UPDATE, METHOD_TO_CALL, POST_TEXT_AREA_TO_PARENT, TEXT_AREA_FIELD_ANCHOR, TEXT_AREA_FIELD_LABEL, TEXT_AREA_FIELD_NAME, TEXT_AREA_MAX_LENGTH, TEXT_AREA_READ_ONLYFields inherited from class org.apache.struts.actions.DispatchAction
clazz, log, methods, typesFields inherited from class org.apache.struts.actions.BaseAction
messagesFields inherited from class org.apache.struts.action.Action
servlet -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleancanViewBONotes(Person user) Deprecated.protected voidcheckAuthorization(org.apache.struts.action.ActionForm form, String methodToCall) Deprecated.Override this method to provide action-level access controls to the application.org.apache.struts.action.ActionForwardcontinueWithInquiry(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Deprecated.org.apache.struts.action.ActionForwarddownloadAttachment(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Deprecated.Downloads the attachment to the user's browser.org.apache.struts.action.ActionForwarddownloadBOAttachment(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Deprecated.Downloads the selected attachment to the user's browser.org.apache.struts.action.ActionForwarddownloadBONote(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Deprecated.org.apache.struts.action.ActionForwarddownloadCustomBOAttachment(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Deprecated.org.apache.struts.action.ActionForwardexecute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Deprecated.Entry point to all actions.org.apache.struts.action.ActionForwardexport(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Deprecated.Handles exporting the BusinessObject for this Inquiry to XML if it has a custom XML exporter available.protected StringextractCollectionName(javax.servlet.http.HttpServletRequest request, String methodToCall) Deprecated.Convert a Request into a Mapinvalid input: '<'String,String>.protected NoteServiceDeprecated.getRoleQualification(org.apache.struts.action.ActionForm form, String methodToCall) Deprecated.override this method to add data from the form for role qualification in the authorization checkorg.apache.struts.action.ActionForwardhideAllTabs(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Deprecated.Toggles all tabs to closedprotected voidpopulateSections(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request, InquiryForm inquiryForm, BusinessObject bo) Deprecated.protected BusinessObjectretrieveBOFromInquirable(InquiryForm inquiryForm) Deprecated.protected intselectedAttachmentIndex(javax.servlet.http.HttpServletRequest request) Deprecated.org.apache.struts.action.ActionForwardshowAllTabs(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Deprecated.Toggles all tabs to openorg.apache.struts.action.ActionForwardstart(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Deprecated.Gets an inquirable impl from the impl service name parameter.protected voidstreamToResponse(byte[] fileContents, String fileName, String fileContentType, javax.servlet.http.HttpServletResponse response) Deprecated.Handy method to stream the byte array to response object.org.apache.struts.action.ActionForwardtoggleInactiveRecordDisplay(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Deprecated.Turns on (or off) the inactive record display for a maintenance collection.org.apache.struts.action.ActionForwardtoggleTab(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Deprecated.Toggles the tab state in the uiMethods inherited from class org.kuali.rice.kns.web.struts.action.KualiAction
addMethodToCallToUncheckedList, defaultDispatch, dispatchMethod, doProcessingAfterPost, findMethodToCall, getApplicationBaseUrl, getBusinessObjectAuthorizationService, getEncryptionService, getHeaderTabDispatch, getHeaderTabNavigateTo, getImageContext, getKualiModuleService, getLineToDelete, getLineToEdit, getReturnLocation, getSelectedLine, getTabToToggle, headerTab, isModuleLocked, performInquiry, performLookup, performQuestionWithInput, performQuestionWithInputAgainBecauseOfErrors, performQuestionWithoutInput, performWorkgroupLookup, postTextAreaToParent, refresh, retrieveLookupParameterValue, updateTextArea, validateLookupInquiryFullParameterMethods inherited from class org.apache.struts.actions.DispatchAction
cancelled, getMethod, getMethodName, getParameter, unspecifiedMethods inherited from class org.apache.struts.action.Action
addErrors, addMessages, execute, generateToken, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet
-
Constructor Details
-
KualiInquiryAction
public KualiInquiryAction()Deprecated.
-
-
Method Details
-
checkAuthorization
protected void checkAuthorization(org.apache.struts.action.ActionForm form, String methodToCall) throws AuthorizationException Deprecated.Description copied from class:KualiActionOverride this method to provide action-level access controls to the application.- Overrides:
checkAuthorizationin classKualiAction- Throws:
AuthorizationException
-
getRoleQualification
protected Map<String,String> getRoleQualification(org.apache.struts.action.ActionForm form, String methodToCall) Deprecated.Description copied from class:KualiActionoverride this method to add data from the form for role qualification in the authorization check- Overrides:
getRoleQualificationin classKualiAction
-
execute
public org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception Deprecated.Description copied from class:KualiActionEntry point to all actions. NOTE: No need to hook into execute for handling framework setup anymore. Just implement the methodToCall for the framework setup, Constants.METHOD_REQUEST_PARAMETER will contain the full parameter, which can be sub stringed for getting framework parameters.- Overrides:
executein classKualiAction- Throws:
Exception- See Also:
-
start
public org.apache.struts.action.ActionForward start(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception Deprecated.Gets an inquirable impl from the impl service name parameter. Then calls lookup service to retrieve the record from the key/value parameters. Finally gets a list of Rows from the inquirable- Throws:
Exception
-
downloadAttachment
public org.apache.struts.action.ActionForward downloadAttachment(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception Deprecated.Downloads the attachment to the user's browser.- Throws:
Exception
-
downloadCustomBOAttachment
public org.apache.struts.action.ActionForward downloadCustomBOAttachment(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception Deprecated.- Throws:
Exception
-
downloadBOAttachment
public org.apache.struts.action.ActionForward downloadBOAttachment(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception Deprecated.Downloads the selected attachment to the user's browser.- Throws:
Exception
-
canViewBONotes
Deprecated. -
continueWithInquiry
public org.apache.struts.action.ActionForward continueWithInquiry(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception Deprecated.- Throws:
Exception
-
downloadBONote
public org.apache.struts.action.ActionForward downloadBONote(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception Deprecated.- Throws:
Exception
-
selectedAttachmentIndex
protected int selectedAttachmentIndex(javax.servlet.http.HttpServletRequest request) Deprecated. -
toggleInactiveRecordDisplay
public org.apache.struts.action.ActionForward toggleInactiveRecordDisplay(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception Deprecated.Turns on (or off) the inactive record display for a maintenance collection.- Throws:
Exception
-
toggleTab
public org.apache.struts.action.ActionForward toggleTab(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception Deprecated.Description copied from class:KualiActionToggles the tab state in the ui- Overrides:
toggleTabin classKualiAction- Throws:
Exception
-
hideAllTabs
public org.apache.struts.action.ActionForward hideAllTabs(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception Deprecated.Description copied from class:KualiActionToggles all tabs to closed- Overrides:
hideAllTabsin classKualiAction- Throws:
Exception
-
showAllTabs
public org.apache.struts.action.ActionForward showAllTabs(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception Deprecated.Description copied from class:KualiActionToggles all tabs to open- Overrides:
showAllTabsin classKualiAction- Throws:
Exception
-
export
public org.apache.struts.action.ActionForward export(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception Deprecated.Handles exporting the BusinessObject for this Inquiry to XML if it has a custom XML exporter available.- Throws:
Exception
-
extractCollectionName
protected String extractCollectionName(javax.servlet.http.HttpServletRequest request, String methodToCall) Deprecated.Convert a Request into a Mapinvalid input: '<'String,String>. Technically, Request parameters do not neatly translate into a Map of Strings, because a given parameter may legally appear more than once (so a Map of String[] would be more accurate.) This method should be safe for business objects, but may not be reliable for more general uses. -
retrieveBOFromInquirable
Deprecated. -
populateSections
protected void populateSections(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request, InquiryForm inquiryForm, BusinessObject bo) Deprecated. -
streamToResponse
protected void streamToResponse(byte[] fileContents, String fileName, String fileContentType, javax.servlet.http.HttpServletResponse response) throws Exception Deprecated.Handy method to stream the byte array to response object.- Throws:
Exception
-
getNoteService
Deprecated.
-
InquiryController.