public class BalanceInquiryLookupAction extends org.kuali.rice.kns.web.struts.action.KualiMultipleValueLookupAction
org.kuali.ole.module.ld.document.SalaryExpenseTransferDocument
which creates source lines from a labor
ledger balance inquiry screen.KualiMultipleValueLookupAction
which required some
customization because requirements were not possible with displaytag.org.kuali.ole.module.ld.document.SalaryExpenseTransferDocument
,
org.kuali.ole.module.ld.document.web.struts.SalaryExpenseTransferAction;
,
org.kuali.ole.module.ld.document.web.struts.SalaryExpenseTransferForm;
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_MAX_ROWS_PER_PAGE
If there is no app param defined for the # rows/page, then this value will be used for the default
|
Constructor and Description |
---|
BalanceInquiryLookupAction() |
Modifier and Type | Method and Description |
---|---|
protected Collection |
performMultipleValueLookup(org.kuali.rice.kns.web.struts.form.MultipleValueLookupForm multipleValueLookupForm,
List<org.kuali.rice.kns.web.ui.ResultRow> resultTable,
int maxRowsPerPage,
boolean bounded)
This method performs the lookup and returns a collection of lookup items.
|
org.apache.struts.action.ActionForward |
prepareToReturnNone(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
This method returns none of the selected results and redirects back to the lookup caller.
|
org.apache.struts.action.ActionForward |
prepareToReturnSelectedResults(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
This method does the processing necessary to return selected results and sends a redirect back to the lookup caller
|
org.apache.struts.action.ActionForward |
search(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
search - sets the values of the data entered on the form on the jsp into a map and then searches for the results.
|
org.apache.struts.action.ActionForward |
selectAll(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected List<org.kuali.rice.kns.web.ui.ResultRow> |
selectAll(org.kuali.rice.kns.web.struts.form.MultipleValueLookupForm multipleValueLookupForm,
int maxRowsPerPage) |
org.apache.struts.action.ActionForward |
sort(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
org.apache.struts.action.ActionForward |
switchToPage(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
org.apache.struts.action.ActionForward |
unselectAll(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
cancel, clearValues, export, getMaxRowsPerPage, prepareToExport, prepareToReturnNone, prepareToReturnSelectedResultBOs, sort, switchToPage, unselectAll
checkAuthorization, customLookupableMethodCall, execute, refresh, start, suppressActionsIfNeeded, viewResults
addMethodToCallToUncheckedList, defaultDispatch, dispatchMethod, doProcessingAfterPost, findMethodToCall, getApplicationBaseUrl, getBusinessObjectAuthorizationService, getEncryptionService, getHeaderTabDispatch, getHeaderTabNavigateTo, getImageContext, getKualiModuleService, getLineToDelete, getLineToEdit, getReturnLocation, getRoleQualification, getSelectedLine, getTabToToggle, headerTab, hideAllTabs, isModuleLocked, performInquiry, performLookup, performQuestionWithInput, performQuestionWithInputAgainBecauseOfErrors, performQuestionWithoutInput, performWorkgroupLookup, postTextAreaToParent, retrieveLookupParameterValue, showAllTabs, toggleTab, updateTextArea, validateLookupInquiryFullParameter
cancelled, getMethod, getMethodName, getParameter, unspecified
addErrors, addMessages, execute, generateToken, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet
public static final int DEFAULT_MAX_ROWS_PER_PAGE
KualiMultipleValueLookupAction.getMaxRowsPerPage(MultipleValueLookupForm)
,
Constant Field Valuespublic BalanceInquiryLookupAction()
public org.apache.struts.action.ActionForward search(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
search
in class org.kuali.rice.kns.web.struts.action.KualiMultipleValueLookupAction
Exception
public org.apache.struts.action.ActionForward prepareToReturnNone(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
prepareToReturnNone
in class org.kuali.rice.kns.web.struts.action.KualiMultipleValueLookupAction
mapping
- form
- must be an instance of MultipleValueLookupFormrequest
- response
- Exception
public org.apache.struts.action.ActionForward prepareToReturnSelectedResults(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
prepareToReturnSelectedResults
in class org.kuali.rice.kns.web.struts.action.KualiMultipleValueLookupAction
mapping
- form
- must be an instance of MultipleValueLookupFormrequest
- response
- Exception
public org.apache.struts.action.ActionForward sort(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
sort
in interface org.kuali.rice.kns.web.struts.action.KualiTableRenderAction
sort
in class org.kuali.rice.kns.web.struts.action.KualiMultipleValueLookupAction
Exception
KualiMultipleValueLookupAction.sort(org.apache.struts.action.ActionMapping,
org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
public org.apache.struts.action.ActionForward selectAll(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
selectAll
in class org.kuali.rice.kns.web.struts.action.KualiMultipleValueLookupAction
Exception
KualiMultipleValueLookupAction.selectAll(org.apache.struts.action.ActionMapping,
org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
public org.apache.struts.action.ActionForward unselectAll(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
unselectAll
in class org.kuali.rice.kns.web.struts.action.KualiMultipleValueLookupAction
Exception
KualiMultipleValueLookupAction.unselectAll(org.apache.struts.action.ActionMapping,
org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
public org.apache.struts.action.ActionForward switchToPage(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
switchToPage
in interface org.kuali.rice.kns.web.struts.action.KualiTableRenderAction
switchToPage
in class org.kuali.rice.kns.web.struts.action.KualiMultipleValueLookupAction
Exception
KualiMultipleValueLookupAction.switchToPage(org.apache.struts.action.ActionMapping,
org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
protected Collection performMultipleValueLookup(org.kuali.rice.kns.web.struts.form.MultipleValueLookupForm multipleValueLookupForm, List<org.kuali.rice.kns.web.ui.ResultRow> resultTable, int maxRowsPerPage, boolean bounded)
performMultipleValueLookup
in class org.kuali.rice.kns.web.struts.action.KualiMultipleValueLookupAction
multipleValueLookupForm
- resultTable
- a list of result rows (used to generate what's shown in the UI). This list will be modified by this methodmaxRowsPerPage
- bounded
- whether the results will be boundedprotected List<org.kuali.rice.kns.web.ui.ResultRow> selectAll(org.kuali.rice.kns.web.struts.form.MultipleValueLookupForm multipleValueLookupForm, int maxRowsPerPage)
selectAll
in class org.kuali.rice.kns.web.struts.action.KualiMultipleValueLookupAction
KRAD Conversion: Lookupable performs customization of the results.
Fields are in data dictionary for bo Balance.
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.