public abstract class CapitalAccountingLinesActionBase extends CapitalAssetInformationActionBase
LOGUPDATE_EVENT_ACTIONSMODULE_LOCKED_MESSAGE, MODULE_LOCKED_URL_SUFFIXDOCUMENT_LOAD_COMMANDS| Constructor and Description |
|---|
CapitalAccountingLinesActionBase() |
| Modifier and Type | Method and Description |
|---|---|
protected CapitalAccountingLines |
addCapitalAccountingLine(List<CapitalAccountingLines> capitalAccountingLines,
AccountingLine line)
convenience method to add a new capital accounting line to the collection of capital
accounting lines.
|
protected boolean |
capitalAccountingLinesSelected(CapitalAccountingLinesFormBase calfb)
checks the capital accounting lines if any of the lines have been selected for
further processing.
|
protected boolean |
checkObjecSubTypeCrossingCapitalAccountingLines(org.kuali.rice.krad.document.Document document)
runs the validation to check if object subtypes crosses groups on
selected capital accounting lines.
|
org.apache.struts.action.ActionForward |
correct(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
removes capitalaccountinglines which is a transient bo..
|
org.apache.struts.action.ActionForward |
createAsset(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Action "create" creates assets for the selected capital
accounting lines.
|
protected List<CapitalAccountingLines> |
createCapitalAccountingLine(List<CapitalAccountingLines> capitalAccountingLines,
AccountingLine line,
String distributionAmountCode)
Checks if the accounting line has an object code that belongs to object sub type group codes and
if so, creates a capital accounting line that will be displayed on the jsp.
|
protected void |
createCapitalAccountingLines(List<CapitalAccountingLines> capitalAccountingLines,
AccountingDocument tdoc,
String distributionAmountCode)
creates the capital accounting lines looking at source and/or target accounting lines.
|
protected void |
createCapitalAssetsForSelectedAccountingLines(org.apache.struts.action.ActionForm form,
CapitalAccountingLinesFormBase calfb,
String actionTypeIndicator,
String distributionAmountCode)
Helper method to first calculate the percents for the selected capital accounting lines as
the percent is required if the user is distributing the amounts by individual amount
method.
|
org.apache.struts.action.ActionForward |
deleteAccountingLinesForCapitalization(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Supports the delete button for capital accounting lines on the UI
|
org.apache.struts.action.ActionForward |
docHandler(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Upon entry we need to set the capitalAccountingLinesExist boolean and check the tab states
|
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)
Upon entry we need to set the capitalAccountingLinesExist boolean and check the tab states
|
org.apache.struts.action.ActionForward |
generateAccountingLinesForCapitalization(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Supports the generate button on the UI.
|
protected org.kuali.rice.krad.service.KualiRuleService |
getRuleService()
Get the rule service
|
protected void |
initializeCapitalAccountingLinesExist(AccountingDocument tdoc)
checks if the document has any capital accounting lines associated with it and sets
CapitalAccountingLinesDocumentBase.capitalAccountingLinesExist if necessary
|
protected void |
insertAccountingLine(boolean isSource,
KualiAccountingDocumentFormBase kualiDocumentFormBase,
AccountingLine line)
When user adds an accounting line to the either source or target, if the object code on
that line has capital object type code group then a capital accounting line is created.
|
protected void |
loadDocument(org.kuali.rice.kns.web.struts.form.KualiDocumentFormBase kualiDocumentFormBase)
All document-load operations get routed through here
|
org.apache.struts.action.ActionForward |
modifyAsset(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Action "modify" creates assets for the selected capital
accounting lines.
|
protected org.apache.struts.action.ActionForward |
performQuestionPrompt(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String actionTypeCode,
String distributionAmountCode) |
protected void |
sortCaptitalAccountingLines(List<CapitalAccountingLines> capitalAccountingLines)
sort the capital accounting lines collection based on financial object code and account number.
|
accountingLinesAmountDistributed, addCapitalAssetInfoDetailLines, addCapitalAssetTagLocationInfo, addMissingAccountingLinesToCapitalAsset, adjustAccountingLineAmountOnLastCapitalAsset, adjustAccountingLinesAmounts, adjustCapitalAssetsAccountingLinesAmounts, adjustVarianceOnCapitalAssets, calculatePercentsForSelectedCapitalAccountingLines, calculateRemainingDistributedAmount, calculateTotalCapitalLinesSelectedAmount, capitalAccountingLineAmountDistributed, capitalAccountingLineMissing, capitalAssetAmountAlreadyDistributedToGroupAccountingLines, capitalAssetCreated, capitalAssetExists, checkCapitalAccountingLinesSelected, checkCreateAssetsExist, checkModifyAssetsExist, checkSelectForCapitalAccountingLines, clearCapitalAssetInfo, clearCapitalAssetModify, copy, createCapitalAssetAccountingLinesDetails, createCapitalAssetForGroupAccountingLines, createCapitalAssetInformationDetail, createNewCapitalAsset, createNewModifyCapitalAsset, deleteCapitalAssetInfo, deleteCapitalAssetInfoDetailLine, deleteCapitalAssetLines, deleteCapitalAssetModify, DistributeCapitalAssetAmountToGroupAccountingLines, getAccountingLineAmount, getAccountingLinesDistributedAmount, getAccountingLinesTotalAmount, getCapitalAccountingLinePercent, getCapitalAssetAccountLineAmount, getCapitalAssetCreated, getCapitalAssetsAmountAllocated, getCurrentCapitalAssetInformationObject, getNextAccountingLineNumber, getNextCapitalAssetLineNumber, getNextLineItemNumber, getNumberOfModifiedAssetsExist, getRemainingAmounToDistribute, getTotalCapitalAccountsAmounts, getTotalQuantityOfCreateAssets, insertCapitalAssetInfo, modifyAssetAlreadyExists, modifyCapitalAssetCreated, numberOfCreateAssetsExist, processRemainingCapitalAssetInfo, redistributeAmountsForAccountingsLineForModifyAssets, redistributeAmountsForAccountingsLineForModifyAssetsByAmounts, redistributeCostEquallyForModifiedAssets, redistributeCreateCapitalAssetAmount, redistributeEqualAmounts, redistributeEqualAmountsForAccountingLineForCreateAssets, redistributeEqualAmountsOnLastCapitalAsset, redistributeIndividualAmounts, redistributeIndividualAmountsForAccountingLinesForCreateAssets, redistributeIndividualAmountsForAccountingLinesForModifyAssets, redistributeModifyCapitalAssetAmount, redistributeToGroupAccountingLinesFromAssetsByAmounts, refresh, refreshCapitalAssetModify, removeDistributedAccountingLine, removeEmptyCapitalAssetModify, resetCapitalAssetInfo, setTabStatesForCapitalAssets, setupIntialNextCapitalAssetLineNumber, uncheckCapitalAccountingLinesSelectedapprove, blanketApprove, checkSalesTax, checkSalesTaxRequiredAllLines, checkUploadFile, deepCopyAccountingLinesList, deleteAccountingLine, deleteSourceLine, deleteTargetLine, getObjectTypeCodeFromLine, getSourceAccountingLine, getTargetAccountingLine, handleSalesTaxRequired, handleSalesTaxRequiredAllLines, hasSalesTaxBeenEntered, hideDetails, insertSourceLine, insertTargetLine, isSalesTaxRequired, isValidSalesTaxEntered, performBalanceInquiryForAccountingLine, performBalanceInquiryForSourceLine, performBalanceInquiryForTargetLine, performLookup, populateSalesTax, processAccountingLineOverrides, processAccountingLineOverrides, processAccountingLineOverrides, processAccountingLineOverrides, processAccountingLines, refreshSalesTaxInfo, removeSalesTax, route, save, showDetails, toggleTab, uploadAccountingLines, uploadSourceLines, uploadTargetLinesisDocumentLockedpopulateAuthorizationFieldsacknowledge, attemptLockRelease, buildAuthorizationException, cancel, cancelBOAttachment, canSave, checkAndWarnAboutSensitiveData, checkAuthorization, close, combineAdHocRecipients, complete, convertSetToMap, createDocument, delete, deleteAdHocRoutePerson, deleteAdHocRouteWorkgroup, deleteBONote, determineNoteWorkflowNotificationAction, disapprove, doProcessingAfterPost, downloadBOAttachment, exitingDocument, fyi, generatePessimisticLockMessage, getAttachmentService, getBusinessObjectAuthorizationService, getBusinessObjectMetaDataService, getBusinessObjectService, getDataDictionaryService, getDocumentHelperService, getDocumentService, getEntityManagerFactory, getGroupService, getKualiConfigurationService, getKualiRuleService, getNoteService, getParameterService, getPessimisticLockService, getQuestion, hasPendingAdhocForCompletion, hideAllTabs, insertAdHocRoutePerson, insertAdHocRouteWorkgroup, insertBONote, 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 CapitalAccountingLinesActionBase()
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
public org.apache.struts.action.ActionForward docHandler(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
docHandler in class org.kuali.rice.kns.web.struts.action.KualiDocumentActionBaseExceptionKualiDocumentActionBase.docHandler(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)public org.apache.struts.action.ActionForward correct(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
correct in class FinancialSystemTransactionalDocumentActionBaseException - KRAD Conversion: Customizing the extra buttons on the formFinancialSystemTransactionalDocumentActionBase.correct(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
loadDocument in class KualiAccountingDocumentActionBaseorg.kuali.rice.kew.api.exception.WorkflowExceptionKualiDocumentActionBase.loadDocument(org.kuali.rice.kns.web.struts.form.KualiDocumentFormBase)protected void initializeCapitalAccountingLinesExist(AccountingDocument tdoc)
tdoc - protected void insertAccountingLine(boolean isSource, KualiAccountingDocumentFormBase kualiDocumentFormBase, AccountingLine line)
protected void createCapitalAccountingLines(List<CapitalAccountingLines> capitalAccountingLines, AccountingDocument tdoc, String distributionAmountCode)
capitalAccountingLines - tdoc - distributionAmountCode - distribution amount code for the lineprotected List<CapitalAccountingLines> createCapitalAccountingLine(List<CapitalAccountingLines> capitalAccountingLines, AccountingLine line, String distributionAmountCode)
capitalAccountingLines - line - distributionAmountCode - protected CapitalAccountingLines addCapitalAccountingLine(List<CapitalAccountingLines> capitalAccountingLines, AccountingLine line)
capitalAccountingLines - line - protected void sortCaptitalAccountingLines(List<CapitalAccountingLines> capitalAccountingLines)
capitalAccountingLines - List of capital accounting linespublic org.apache.struts.action.ActionForward generateAccountingLinesForCapitalization(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 deleteAccountingLinesForCapitalization(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 createAsset(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 modifyAsset(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 - Exceptionprotected void createCapitalAssetsForSelectedAccountingLines(org.apache.struts.action.ActionForm form, CapitalAccountingLinesFormBase calfb, String actionTypeIndicator, String distributionAmountCode)
form - calfb - actionTypeIndicator - indicates whether creating an asset for "create" or "modify" actions.distributionAmountCode - amount distribution codeprotected boolean capitalAccountingLinesSelected(CapitalAccountingLinesFormBase calfb)
calfb - protected boolean checkObjecSubTypeCrossingCapitalAccountingLines(org.kuali.rice.krad.document.Document document)
form - protected org.apache.struts.action.ActionForward performQuestionPrompt(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String actionTypeCode, String distributionAmountCode) throws Exception
mapping - An ActionMappingform - An ActionFormrequest - The HttpServletRequestresponse - The HttpServletResponsedistributionAmountCode - Exceptionprotected org.kuali.rice.krad.service.KualiRuleService getRuleService()
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.