public class PurchasingAccountsPayableActionBase extends KualiAccountingDocumentActionBase
LOG, UPDATE_EVENT_ACTIONSMODULE_LOCKED_MESSAGE, MODULE_LOCKED_URL_SUFFIXDOCUMENT_LOAD_COMMANDS| Constructor and Description |
|---|
PurchasingAccountsPayableActionBase() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.struts.action.ActionForward |
calculate(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Perform calculation on item line.
|
org.apache.struts.action.ActionForward |
clearAllTaxes(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 |
copy(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected SourceAccountingLine |
customAccountRetrieval(int accountIndex,
PurchasingAccountsPayableFormBase purchasingAccountsPayableForm)
Perform custom processing on accounting lines.
|
protected void |
customCalculate(PurchasingAccountsPayableDocument purapDoc) |
org.apache.struts.action.ActionForward |
deleteSourceLine(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
This method will remove a SourceAccountingLine from a FinancialDocument.
|
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) |
protected String[] |
getSelectedLineForAccounts(javax.servlet.http.HttpServletRequest request)
Will return an array of Strings containing 2 indexes, the first String is the item index and the second String is the account
index.
|
SourceAccountingLine |
getSourceAccountingLine(org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request)
This method is a helper method that will return a source accounting line.
|
org.apache.struts.action.ActionForward |
hideAllAccounts(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Toggles all specific tabs to closed
|
protected void |
insertAccountingLine(KualiAccountingDocumentFormBase financialDocumentForm,
PurApItem item,
PurApAccountingLine line)
Insert the given Accounting Line in several appropriate places in the given item and given form.
|
protected void |
insertAccountingLine(PurchasingAccountsPayableFormBase financialDocumentForm,
PurApItem item,
PurApAccountingLine line)
Insert the given Accounting Line in several appropriate places in the given item and given form.
|
org.apache.struts.action.ActionForward |
insertBONote(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Override to verify the document has been saved before the note is inserted.
|
org.apache.struts.action.ActionForward |
insertSourceLine(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
This action executes an insert of a SourceAccountingLine into a document only after validating the accounting line and
checking any appropriate business rules.
|
protected void |
loadDocument(org.kuali.rice.kns.web.struts.form.KualiDocumentFormBase kualiDocumentFormBase)
All document-load operations get routed through here
|
protected void |
processAccountingLineOverrides(List accountingLines) |
boolean |
processCustomInsertAccountingLine(PurchasingAccountsPayableFormBase purapForm,
javax.servlet.http.HttpServletRequest request)
Allows the custom processing of an accounting line during a call to insert source line.
|
org.apache.struts.action.ActionForward |
refreshAccountSummary(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Invokes a service method to refresh the account summary.
|
org.apache.struts.action.ActionForward |
showAllAccounts(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Toggles all specific tabs to open
|
protected <T extends PurchasingAccountsPayableDocument,V extends KualiAccountingDocumentFormBase> |
updateBaseline(T document,
V form)
Updates the baseline accounts on form and doc.
|
protected void |
uploadAccountingLines(boolean isSource,
org.apache.struts.action.ActionForm form)
This method determines whether we are uploading source or target lines, and then calls uploadAccountingLines directly on the
document object.
|
approve, blanketApprove, checkSalesTax, checkSalesTaxRequiredAllLines, checkUploadFile, deepCopyAccountingLinesList, deleteAccountingLine, deleteTargetLine, execute, getObjectTypeCodeFromLine, getTargetAccountingLine, handleSalesTaxRequired, handleSalesTaxRequiredAllLines, hasSalesTaxBeenEntered, hideDetails, insertAccountingLine, insertTargetLine, isSalesTaxRequired, isValidSalesTaxEntered, performBalanceInquiryForAccountingLine, performBalanceInquiryForSourceLine, performBalanceInquiryForTargetLine, performLookup, populateSalesTax, processAccountingLineOverrides, processAccountingLineOverrides, processAccountingLineOverrides, processAccountingLines, refresh, refreshSalesTaxInfo, removeSalesTax, route, save, showDetails, toggleTab, uploadSourceLines, uploadTargetLinescorrect, isDocumentLockedpopulateAuthorizationFieldsacknowledge, attemptLockRelease, buildAuthorizationException, cancel, cancelBOAttachment, canSave, checkAndWarnAboutSensitiveData, checkAuthorization, close, combineAdHocRecipients, complete, convertSetToMap, createDocument, delete, deleteAdHocRoutePerson, deleteAdHocRouteWorkgroup, deleteBONote, determineNoteWorkflowNotificationAction, disapprove, docHandler, doProcessingAfterPost, exitingDocument, fyi, generatePessimisticLockMessage, getAttachmentService, getBusinessObjectAuthorizationService, getBusinessObjectMetaDataService, getBusinessObjectService, getDataDictionaryService, getDocumentHelperService, getDocumentService, getEntityManagerFactory, getGroupService, getKualiConfigurationService, getKualiRuleService, getNoteService, getParameterService, getPessimisticLockService, getQuestion, hasPendingAdhocForCompletion, hideAllTabs, insertAdHocRoutePerson, insertAdHocRouteWorkgroup, isFormRepresentingLockObject, performRouteReport, populateAdHocActionRequestCodes, promptBeforeValidation, promptBeforeValidation, recall, refreshAdHocRoutingWorkgroupLookups, releaseLocks, reload, returnToSender, selectedAttachmentIndex, sendAdHocRequests, sendNoteWorkflowNotification, setupDocumentExit, setupPessimisticLockMessages, showAllTabs, streamToResponse, superUserApprove, superUserDisapprove, supervisorFunctions, takeSuperUserActionsaddMethodToCallToUncheckedList, defaultDispatch, dispatchMethod, findMethodToCall, getApplicationBaseUrl, getEncryptionService, getHeaderTabDispatch, getHeaderTabNavigateTo, getImageContext, getKualiModuleService, getLineToDelete, getLineToEdit, getReturnLocation, getRoleQualification, getSelectedLine, getTabToToggle, headerTab, isModuleLocked, performInquiry, performQuestionWithInput, performQuestionWithInputAgainBecauseOfErrors, performQuestionWithoutInput, performWorkgroupLookup, postTextAreaToParent, retrieveLookupParameterValue, updateTextArea, validateLookupInquiryFullParametercancelled, getMethod, getMethodName, getParameter, unspecifiedaddErrors, addMessages, execute, generateToken, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServletpublic PurchasingAccountsPayableActionBase()
public org.apache.struts.action.ActionForward copy(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
copy in class org.kuali.rice.kns.web.struts.action.KualiTransactionalDocumentActionBaseExceptionKualiTransactionalDocumentActionBase.copy(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)protected void loadDocument(org.kuali.rice.kns.web.struts.form.KualiDocumentFormBase kualiDocumentFormBase) throws org.kuali.rice.kew.api.exception.WorkflowException
KualiAccountingDocumentActionBaseloadDocument in class KualiAccountingDocumentActionBaseorg.kuali.rice.kew.api.exception.WorkflowExceptionKualiDocumentActionBase.loadDocument(org.kuali.rice.kns.web.struts.form.KualiDocumentFormBase)protected <T extends PurchasingAccountsPayableDocument,V extends KualiAccountingDocumentFormBase> void updateBaseline(T document, V form)
document - A descendant of PurchasingAccountsPayableDocumentpublic org.apache.struts.action.ActionForward refreshAccountSummary(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
mapping - An ActionMappingform - An ActionFormrequest - The HttpServletRequestresponse - The HttpServletResponseExceptionprotected void uploadAccountingLines(boolean isSource, org.apache.struts.action.ActionForm form) throws FileNotFoundException, IOException
KualiAccountingDocumentActionBasepublic org.apache.struts.action.ActionForward insertSourceLine(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
KualiAccountingDocumentActionBaseinsertSourceLine in class KualiAccountingDocumentActionBaseExceptionKualiAccountingDocumentActionBase.insertSourceLine(org.apache.struts.action.ActionMapping,
org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)protected void insertAccountingLine(PurchasingAccountsPayableFormBase financialDocumentForm, PurApItem item, PurApAccountingLine line)
financialDocumentForm - A form that inherits from PurchasingAccountsPaybleFormBaseitem - A PurApItemline - A PurApAccountingLinepublic boolean processCustomInsertAccountingLine(PurchasingAccountsPayableFormBase purapForm, javax.servlet.http.HttpServletRequest request)
purapForm - request - protected void insertAccountingLine(KualiAccountingDocumentFormBase financialDocumentForm, PurApItem item, PurApAccountingLine line)
financialDocumentForm - A form that inherits from KualiAccountingDocumentFormBaseitem - A PurApItemline - A PurApAccountingLinepublic org.apache.struts.action.ActionForward deleteSourceLine(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
KualiAccountingDocumentActionBasedeleteSourceLine in class KualiAccountingDocumentActionBaseExceptionKualiAccountingDocumentActionBase.deleteSourceLine(org.apache.struts.action.ActionMapping,
org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)public SourceAccountingLine getSourceAccountingLine(org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request)
KualiAccountingDocumentActionBaseprotected SourceAccountingLine customAccountRetrieval(int accountIndex, PurchasingAccountsPayableFormBase purchasingAccountsPayableForm)
getSelectedLineForAccounts.accountIndex - The index of the account into the request parameterpurchasingAccountsPayableForm - A form which inherits from PurchasingAccountsPayableFormBaseprotected String[] getSelectedLineForAccounts(javax.servlet.http.HttpServletRequest request)
request - The HttpServletRequestpublic 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
downloadBOAttachment in class org.kuali.rice.kns.web.struts.action.KualiDocumentActionBaseExceptionKualiDocumentActionBase.downloadBOAttachment(org.apache.struts.action.ActionMapping,
org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)protected void processAccountingLineOverrides(List accountingLines)
processAccountingLineOverrides in class KualiAccountingDocumentActionBasepublic org.apache.struts.action.ActionForward calculate(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
mapping - An ActionMappingform - An ActionFormrequest - The HttpServletRequestresponse - The HttpServletResponseExceptionpublic org.apache.struts.action.ActionForward clearAllTaxes(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
Exceptionprotected void customCalculate(PurchasingAccountsPayableDocument purapDoc)
public org.apache.struts.action.ActionForward showAllAccounts(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
mapping - form - request - response - Exceptionpublic org.apache.struts.action.ActionForward hideAllAccounts(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
mapping - form - request - response - Exceptionpublic org.apache.struts.action.ActionForward insertBONote(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
insertBONote in class org.kuali.rice.kns.web.struts.action.KualiDocumentActionBaseExceptionKualiDocumentActionBase.insertBONote(org.apache.struts.action.ActionMapping,
org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)Copyright © 2004–2015 The Kuali Foundation. All rights reserved.