public abstract class CapitalAssetInformationActionBase extends KualiAccountingDocumentActionBase
| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.log4j.Logger |
LOG |
UPDATE_EVENT_ACTIONSMODULE_LOCKED_MESSAGE, MODULE_LOCKED_URL_SUFFIXDOCUMENT_LOAD_COMMANDS| Constructor and Description |
|---|
CapitalAssetInformationActionBase() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
accountingLinesAmountDistributed(List<CapitalAccountingLines> capitalAccountingLines,
CapitalAssetInformation existingCapitalAsset) |
protected void |
addCapitalAssetInfoDetailLines(CapitalAssetInformation capitalAssetInformation)
add detail lines into the given capital asset information
|
org.apache.struts.action.ActionForward |
addCapitalAssetTagLocationInfo(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
inserts capital asset information into capital assets list.
|
protected void |
addMissingAccountingLinesToCapitalAsset(List<CapitalAccountingLines> capitalAccountingLines,
CapitalAssetInformation existingCapitalAsset)
adds any missing capital accounting line details as an accounting line into the collection of
accounting lines for this capital asset based on the action type.
|
protected void |
adjustAccountingLineAmountOnLastCapitalAsset(CapitalAccountingLines capitalAccountingLine,
CapitalAssetInformation lastCapitalAsset,
org.kuali.rice.core.api.util.type.KualiDecimal difference) |
protected void |
adjustAccountingLinesAmounts(CapitalAccountingLines capitalAcctLine,
List<CapitalAssetInformation> capitalAssetInformation)
for each capital account line, compares its amounts to the accounting lines
on capital assets and adjusts its accounting lines amounts for any variances.
|
protected void |
adjustCapitalAssetsAccountingLinesAmounts(List<CapitalAccountingLines> selectedCapitalAccountingLines,
List<CapitalAssetInformation> capitalAssetInformation)
checks the capital accounting line's amount to the sum of the distributed
accounting lines amounts and adjusts if there are any variances..
|
protected void |
adjustVarianceOnCapitalAssets(List<CapitalAssetInformation> capitalAssetInformation)
adjusts variances on capital assets where distribution method is set
as "distribute evenly" and capital asset amount is odd value.
|
protected void |
calculatePercentsForSelectedCapitalAccountingLines(CapitalAccountingLinesFormBase calfb)
calculates the percents for the selected capital accounting lines only
|
protected void |
calculateRemainingDistributedAmount(CapitalAccountingLinesFormBase calfb,
List<CapitalAssetInformation> capitalAssetInformation) |
protected org.kuali.rice.core.api.util.type.KualiDecimal |
calculateTotalCapitalLinesSelectedAmount(List<CapitalAccountingLines> capitalAccountingLines) |
protected boolean |
capitalAccountingLineAmountDistributed(CapitalAccountingLines capitalAccountingLine,
List<CapitalAssetInformation> capitalAssetsInformation) |
protected boolean |
capitalAccountingLineMissing(CapitalAccountingLines capitalAccountingLine,
List<CapitalAssetAccountsGroupDetails> groupAccountLines,
Integer capitalAssetLineNumber)
checks the current list of accounting lines created for the capital asset against the given
capital accounting line and returns true or false
|
protected boolean |
capitalAssetAmountAlreadyDistributedToGroupAccountingLines(CapitalAssetInformation capitalAsset)
checks if the capital asset amount already distributed to its group accounting lines
|
protected CapitalAssetInformation |
capitalAssetCreated(List<CapitalAccountingLines> capitalAccountingLines,
List<CapitalAssetInformation> capitalAssetInformation) |
protected boolean |
capitalAssetExists(List<CapitalAccountingLines> capitalAccountingLines,
CapitalAssetInformation capitalAsset,
String actionTypeCode)
checks if the selected capital accounting lines have a capital asset created by checking the
accounts associated with the capital asset information.
|
protected void |
checkCapitalAccountingLinesSelected(CapitalAccountingLinesFormBase calfb)
sets the capital accounting lines select and amount distributed values to true if
there are capital asset records for a given capital accounting line.
|
protected boolean |
checkCreateAssetsExist(CapitalAccountingLinesFormBase capitalAccountingLinesFormBase) |
protected boolean |
checkModifyAssetsExist(CapitalAccountingLinesFormBase capitalAccountingLinesFormBase) |
protected void |
checkSelectForCapitalAccountingLines(CapitalAccountingLinesFormBase calfb)
checks "select" check box on capital accounting lines if there are
corresponding capital asset records.
|
org.apache.struts.action.ActionForward |
clearCapitalAssetInfo(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Clear the capital asset information that the user has entered
|
org.apache.struts.action.ActionForward |
clearCapitalAssetModify(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
clear up the modify capital asset information.
|
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)
Overridden to guarantee that form of copied document is set to whatever the entry mode of the document is
|
protected void |
createCapitalAssetAccountingLinesDetails(CapitalAccountingLines capitalAccountingLine,
CapitalAssetInformation capitalAsset) |
protected void |
createCapitalAssetForGroupAccountingLines(CapitalAccountingLinesFormBase calfb,
String actionType,
String distributionAmountCode)
Populates capital asset information collection with capital accounting lines.
|
protected void |
createCapitalAssetInformationDetail(CapitalAssetInformation capitalAsset)
creates a new tag/location details record and adds to the collection for capital asset
|
protected void |
createNewCapitalAsset(List<CapitalAccountingLines> capitalAccountingLines,
List<CapitalAssetInformation> currentCapitalAssetInformation,
String documentNumber,
String actionType,
Integer nextCapitalAssetLineNumber)
helper method to add accounting details for this new capital asset record
|
protected void |
createNewModifyCapitalAsset(List<CapitalAccountingLines> capitalAccountingLines,
List<CapitalAssetInformation> currentCapitalAssetInformation,
String documentNumber,
String actionType,
Integer nextCapitalAssetLineNumber,
long capitalAssetNumber)
helper method to add accounting details for this new modify capital asset record
|
org.apache.struts.action.ActionForward |
deleteCapitalAssetInfo(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
deletes the capital asset information
|
org.apache.struts.action.ActionForward |
deleteCapitalAssetInfoDetailLine(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
delete a detail line from the capital asset information
|
protected void |
deleteCapitalAssetLines(KualiAccountingDocumentFormBase financialDocumentForm,
AccountingLine accountingLine)
Removes any matching accounting line in capital asset records
whenever an accounting line is removed.
|
org.apache.struts.action.ActionForward |
deleteCapitalAssetModify(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
deletes the capital asset information
|
protected void |
DistributeCapitalAssetAmountToGroupAccountingLines(KualiAccountingDocumentFormBase kualiAccountingDocumentFormBase)
This method redistributes the capital asset amount to its group accounting lines
based on the accounting line's percent.
|
protected org.kuali.rice.core.api.util.type.KualiDecimal |
getAccountingLineAmount(CapitalAssetInformation capitalAsset,
CapitalAccountingLines capitalAccountingLine) |
protected org.kuali.rice.core.api.util.type.KualiDecimal |
getAccountingLinesDistributedAmount(CapitalAccountingLines capitalAccountingLine,
List<CapitalAssetInformation> capitalAssetInformation,
String actionTypeCode) |
protected org.kuali.rice.core.api.util.type.KualiDecimal |
getAccountingLinesTotalAmount(CapitalAssetInformation capitalAssetInformation)
gets the total of all accounting lines from that capital asset.
|
protected BigDecimal |
getCapitalAccountingLinePercent(List<CapitalAccountingLines> selectedCapitalAccountingLines,
CapitalAssetAccountsGroupDetails groupAccountLine,
org.kuali.rice.core.api.util.type.KualiDecimal totalCapitalAccountsAmount) |
protected org.kuali.rice.core.api.util.type.KualiDecimal |
getCapitalAssetAccountLineAmount(List<CapitalAccountingLines> selectedCapitalAccountingLines,
CapitalAssetAccountsGroupDetails groupAccountLine,
CapitalAssetInformation capitalAsset)
Gets the amount on the capital assets line for the selected capital accounting line by
finding the group accounting line.
|
protected CapitalAssetInformation |
getCapitalAssetCreated(CapitalAccountingLines capitalAccountingLine,
List<CapitalAssetInformation> capitalAssetInformation) |
protected org.kuali.rice.core.api.util.type.KualiDecimal |
getCapitalAssetsAmountAllocated(List<CapitalAssetInformation> currentCapitalAssetInformation,
CapitalAccountingLines capitalAccountingLine)
sums the capital assets amount distributed so far for a given capital accounting line
|
protected List<CapitalAssetInformation> |
getCurrentCapitalAssetInformationObject(KualiAccountingDocumentFormBase kualiAccountingDocumentFormBase)
get the capital asset information object currently associated with the document
|
protected Integer |
getNextAccountingLineNumber(CapitalAccountingLines capitalAccountingLine,
CapitalAssetInformation capitalAsset)
calculates the next accounting line number for accounts details for each capital asset.
|
protected Integer |
getNextCapitalAssetLineNumber(KualiAccountingDocumentFormBase kualiAccountingDocumentFormBase) |
protected Integer |
getNextLineItemNumber(CapitalAssetInformation capitalAsset)
calculates the next line item number for tag/location details for each capital asset.
|
protected int |
getNumberOfModifiedAssetsExist(List<CapitalAccountingLines> selectedCapitalAccountingLines,
List<CapitalAssetInformation> capitalAssetInformation) |
protected org.kuali.rice.core.api.util.type.KualiDecimal |
getRemainingAmounToDistribute(List<CapitalAccountingLines> selectedCapitalAccountingLines,
org.apache.struts.action.ActionForm form)
Calculates the remaining amount to distribute by taking selecte capital accounting lines
and subtracting the allocated capital asset accounting lines amounts totals.
|
protected org.kuali.rice.core.api.util.type.KualiDecimal |
getTotalCapitalAccountsAmounts(List<CapitalAccountingLines> capitalAccountingLines)
calculates the total amount of the selected capital accounting lines
|
protected int |
getTotalQuantityOfCreateAssets(List<CapitalAccountingLines> selectedCapitalAccountingLines,
List<CapitalAssetInformation> capitalAssetInformation) |
org.apache.struts.action.ActionForward |
insertCapitalAssetInfo(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
inserts capital asset information into capital assets list.
|
protected boolean |
modifyAssetAlreadyExists(List<CapitalAssetInformation> capitalAssetInformation,
Long capitalAssetNumber)
checks the capital asset information list for the specific capital asset number
that was returned as part of the multi-value lookup.
|
protected CapitalAssetInformation |
modifyCapitalAssetCreated(CapitalAccountingLines capitalAccountingLine,
List<CapitalAssetInformation> capitalAssetInformation) |
protected int |
numberOfCreateAssetsExist(List<CapitalAccountingLines> selectedCapitalAccountingLines,
List<CapitalAssetInformation> capitalAssetInformation) |
protected void |
processRemainingCapitalAssetInfo(org.apache.struts.action.ActionForm form,
List<CapitalAssetInformation> capitalAssetInformation)
process any remaining capital asset info in the list to check and calculate the
remaining distributed amount.
|
protected void |
redistributeAmountsForAccountingsLineForModifyAssets(List<CapitalAccountingLines> selectedCapitalAccountingLines,
List<CapitalAssetInformation> capitalAssetInformation,
org.kuali.rice.core.api.util.type.KualiDecimal remainingAmountToDistribute) |
protected void |
redistributeAmountsForAccountingsLineForModifyAssetsByAmounts(List<CapitalAccountingLines> selectedCapitalAccountingLines,
List<CapitalAssetInformation> capitalAssetInformation,
org.kuali.rice.core.api.util.type.KualiDecimal remainingAmountToDistribute)
for modified assets the amount is distributed
|
protected void |
redistributeCostEquallyForModifiedAssets(org.apache.struts.action.ActionForm form) |
org.apache.struts.action.ActionForward |
redistributeCreateCapitalAssetAmount(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected void |
redistributeEqualAmounts(List<CapitalAccountingLines> selectedCapitalAccountingLines,
CapitalAssetInformation capitalAsset,
org.kuali.rice.core.api.util.type.KualiDecimal amount,
int totalQuantity)
redistributes the amounts to the capital asset and its related group accounting lines.
|
protected void |
redistributeEqualAmountsForAccountingLineForCreateAssets(List<CapitalAccountingLines> selectedCapitalAccountingLines,
List<CapitalAssetInformation> capitalAssetInformation,
org.kuali.rice.core.api.util.type.KualiDecimal remainingAmountToDistribute) |
protected void |
redistributeEqualAmountsOnLastCapitalAsset(List<CapitalAccountingLines> selectedCapitalAccountingLines,
CapitalAssetInformation lastCapitalAsset,
List<CapitalAssetInformation> capitalAssetInformation,
String actionTypeCode)
redistributes the amounts to the capital asset and its related group accounting lines.
|
protected void |
redistributeIndividualAmounts(List<CapitalAccountingLines> selectedCapitalAccountingLines,
CapitalAssetInformation capitalAsset) |
protected void |
redistributeIndividualAmountsForAccountingLinesForCreateAssets(List<CapitalAccountingLines> selectedCapitalAccountingLines,
List<CapitalAssetInformation> capitalAssetInformation) |
protected void |
redistributeIndividualAmountsForAccountingLinesForModifyAssets(List<CapitalAccountingLines> selectedCapitalAccountingLines,
List<CapitalAssetInformation> capitalAssetInformation) |
org.apache.struts.action.ActionForward |
redistributeModifyCapitalAssetAmount(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
redistributes the capital asset amount for the modify capital asset lines.
|
protected void |
redistributeToGroupAccountingLinesFromAssetsByAmounts(List<CapitalAccountingLines> selectedCapitalAccountingLines,
CapitalAssetInformation capitalAsset)
when the user user hits refresh button, takes the amount in the amount field and
distributes to the group capital accounting lines for that asset only.
|
org.apache.struts.action.ActionForward |
refresh(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Multi-value asset lookup is implemented through the integration package by module's service
to gather the results.
|
org.apache.struts.action.ActionForward |
refreshCapitalAssetModify(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
refreshes capital asset modify information to the modify capital assets list.
|
protected void |
removeDistributedAccountingLine(CapitalAssetInformation capitalAsset,
AccountingLine accountingLine)
Removes the matching accounting line that has been distributed to the capital asset
|
protected void |
removeEmptyCapitalAssetModify(List<CapitalAssetInformation> capitalAssetInformation)
Remove if and any blank capital asset modify lines.
|
protected void |
resetCapitalAssetInfo(CapitalAssetInformation capitalAssetInformation)
reset the nonkey fields of the given capital asset information
removes the corresponding capital asset information detail record from the list.
|
protected void |
setTabStatesForCapitalAssets(org.apache.struts.action.ActionForm form)
sets the capital assets screens for create and modify and accounting lines
for capitalization screen as open.
|
protected void |
setupIntialNextCapitalAssetLineNumber(org.kuali.rice.kns.web.struts.form.KualiDocumentFormBase kualiDocumentFormBase)
setups the next capital asset line number
|
protected void |
uncheckCapitalAccountingLinesSelected(CapitalAccountingLinesFormBase calfb)
unchecks the capital accounting lines select when there are no capital assets created yet.
|
approve, blanketApprove, checkSalesTax, checkSalesTaxRequiredAllLines, checkUploadFile, deepCopyAccountingLinesList, deleteAccountingLine, deleteSourceLine, deleteTargetLine, execute, getObjectTypeCodeFromLine, getSourceAccountingLine, getTargetAccountingLine, handleSalesTaxRequired, handleSalesTaxRequiredAllLines, hasSalesTaxBeenEntered, hideDetails, insertAccountingLine, insertSourceLine, insertTargetLine, isSalesTaxRequired, isValidSalesTaxEntered, loadDocument, performBalanceInquiryForAccountingLine, performBalanceInquiryForSourceLine, performBalanceInquiryForTargetLine, performLookup, populateSalesTax, processAccountingLineOverrides, processAccountingLineOverrides, processAccountingLineOverrides, processAccountingLineOverrides, processAccountingLines, refreshSalesTaxInfo, removeSalesTax, route, save, showDetails, toggleTab, uploadAccountingLines, uploadSourceLines, uploadTargetLinescorrect, isDocumentLockedpopulateAuthorizationFieldsacknowledge, attemptLockRelease, buildAuthorizationException, cancel, cancelBOAttachment, canSave, checkAndWarnAboutSensitiveData, checkAuthorization, close, combineAdHocRecipients, complete, convertSetToMap, createDocument, delete, deleteAdHocRoutePerson, deleteAdHocRouteWorkgroup, deleteBONote, determineNoteWorkflowNotificationAction, disapprove, docHandler, 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, setServletprotected static org.apache.log4j.Logger LOG
public CapitalAssetInformationActionBase()
public org.apache.struts.action.ActionForward refresh(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
refresh in class KualiAccountingDocumentActionBaseExceptionKualiAction.refresh(org.apache.struts.action.ActionMapping,
org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)protected void removeEmptyCapitalAssetModify(List<CapitalAssetInformation> capitalAssetInformation)
capitalAssetInformation - protected org.kuali.rice.core.api.util.type.KualiDecimal getCapitalAssetsAmountAllocated(List<CapitalAssetInformation> currentCapitalAssetInformation, CapitalAccountingLines capitalAccountingLine)
currentCapitalAssetInformation - existingCapitalAsset - protected boolean modifyAssetAlreadyExists(List<CapitalAssetInformation> capitalAssetInformation, Long capitalAssetNumber)
capitalAssetInformation - capitalAssetNumber - protected boolean capitalAssetExists(List<CapitalAccountingLines> capitalAccountingLines, CapitalAssetInformation capitalAsset, String actionTypeCode)
capitalAccountingLine - capitalAsset - protected void redistributeCostEquallyForModifiedAssets(org.apache.struts.action.ActionForm form)
form - protected void redistributeAmountsForAccountingsLineForModifyAssets(List<CapitalAccountingLines> selectedCapitalAccountingLines, List<CapitalAssetInformation> capitalAssetInformation, org.kuali.rice.core.api.util.type.KualiDecimal remainingAmountToDistribute)
accountingLine - capitalAssetInformation - remainingAmountToDistribute - protected void redistributeAmountsForAccountingsLineForModifyAssetsByAmounts(List<CapitalAccountingLines> selectedCapitalAccountingLines, List<CapitalAssetInformation> capitalAssetInformation, org.kuali.rice.core.api.util.type.KualiDecimal remainingAmountToDistribute)
selectedCapitalAccountingLines - capitalAssetInformation - protected void redistributeEqualAmounts(List<CapitalAccountingLines> selectedCapitalAccountingLines, CapitalAssetInformation capitalAsset, org.kuali.rice.core.api.util.type.KualiDecimal amount, int totalQuantity)
selectedCapitalAccountingLines - capitalAsset - amount - totalQuantity - protected void redistributeEqualAmountsOnLastCapitalAsset(List<CapitalAccountingLines> selectedCapitalAccountingLines, CapitalAssetInformation lastCapitalAsset, List<CapitalAssetInformation> capitalAssetInformation, String actionTypeCode)
selectedCapitalAccountingLines - capitalAsset - capitalAssetInformation - actionTypeCode - protected org.kuali.rice.core.api.util.type.KualiDecimal getCapitalAssetAccountLineAmount(List<CapitalAccountingLines> selectedCapitalAccountingLines, CapitalAssetAccountsGroupDetails groupAccountLine, CapitalAssetInformation capitalAsset)
selectedCapitalAccountingLines - groupAccountLine - protected void redistributeIndividualAmountsForAccountingLinesForModifyAssets(List<CapitalAccountingLines> selectedCapitalAccountingLines, List<CapitalAssetInformation> capitalAssetInformation)
capitalAccountingLines - capitalAssetInformation - protected void adjustCapitalAssetsAccountingLinesAmounts(List<CapitalAccountingLines> selectedCapitalAccountingLines, List<CapitalAssetInformation> capitalAssetInformation)
selectedCapitalAccountingLines - capitalAssetInformation - protected void adjustAccountingLinesAmounts(CapitalAccountingLines capitalAcctLine, List<CapitalAssetInformation> capitalAssetInformation)
capitalAcctLine - capitalAssetInformation - protected void adjustVarianceOnCapitalAssets(List<CapitalAssetInformation> capitalAssetInformation)
capitalAssetInformation - protected void redistributeIndividualAmountsForAccountingLinesForCreateAssets(List<CapitalAccountingLines> selectedCapitalAccountingLines, List<CapitalAssetInformation> capitalAssetInformation)
capitalAccountingLines - capitalAssetInformation - protected void redistributeIndividualAmounts(List<CapitalAccountingLines> selectedCapitalAccountingLines, CapitalAssetInformation capitalAsset)
selectedCapitalAccountingLines - capitalAsset - protected BigDecimal getCapitalAccountingLinePercent(List<CapitalAccountingLines> selectedCapitalAccountingLines, CapitalAssetAccountsGroupDetails groupAccountLine, org.kuali.rice.core.api.util.type.KualiDecimal totalCapitalAccountsAmount)
selectedCapitalAccountingLines - groupAccountLine - totalCapitalAccountsAmount - protected void redistributeEqualAmountsForAccountingLineForCreateAssets(List<CapitalAccountingLines> selectedCapitalAccountingLines, List<CapitalAssetInformation> capitalAssetInformation, org.kuali.rice.core.api.util.type.KualiDecimal remainingAmountToDistribute)
capitalAccountingLines - capitalAssetInformation - remainingAmountToDistribute - protected int getTotalQuantityOfCreateAssets(List<CapitalAccountingLines> selectedCapitalAccountingLines, List<CapitalAssetInformation> capitalAssetInformation)
selectedCapitalAccountingLines - capitalAssetInformation - protected int numberOfCreateAssetsExist(List<CapitalAccountingLines> selectedCapitalAccountingLines, List<CapitalAssetInformation> capitalAssetInformation)
selectedCapitalAccountingLines - capitalAssetInformation - protected int getNumberOfModifiedAssetsExist(List<CapitalAccountingLines> selectedCapitalAccountingLines, List<CapitalAssetInformation> capitalAssetInformation)
selectedCapitalAccountingLines - capitalAssetInformation - public org.apache.struts.action.ActionForward clearCapitalAssetInfo(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 clearCapitalAssetModify(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 insertCapitalAssetInfo(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 addCapitalAssetTagLocationInfo(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 refreshCapitalAssetModify(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 deleteCapitalAssetInfo(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
Exceptionpublic org.apache.struts.action.ActionForward deleteCapitalAssetModify(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 processRemainingCapitalAssetInfo(org.apache.struts.action.ActionForm form, List<CapitalAssetInformation> capitalAssetInformation)
form - capitalAssetInformation - public org.apache.struts.action.ActionForward deleteCapitalAssetInfoDetailLine(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 List<CapitalAssetInformation> getCurrentCapitalAssetInformationObject(KualiAccountingDocumentFormBase kualiAccountingDocumentFormBase)
protected void resetCapitalAssetInfo(CapitalAssetInformation capitalAssetInformation)
capitalAssetInformation - the given capital asset informationpublic 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 setupIntialNextCapitalAssetLineNumber(org.kuali.rice.kns.web.struts.form.KualiDocumentFormBase kualiDocumentFormBase)
kualiDocumentFormBase - protected void calculatePercentsForSelectedCapitalAccountingLines(CapitalAccountingLinesFormBase calfb)
calfb - protected org.kuali.rice.core.api.util.type.KualiDecimal calculateTotalCapitalLinesSelectedAmount(List<CapitalAccountingLines> capitalAccountingLines)
capitalAccountingLines - protected void createCapitalAssetForGroupAccountingLines(CapitalAccountingLinesFormBase calfb, String actionType, String distributionAmountCode)
calfb - actionType - distributionAmountCode - protected void createNewCapitalAsset(List<CapitalAccountingLines> capitalAccountingLines, List<CapitalAssetInformation> currentCapitalAssetInformation, String documentNumber, String actionType, Integer nextCapitalAssetLineNumber)
capitalAccountingLines - currentCapitalAssetInformation - documentNumber - actionType - nextCapitalAssetLineNumnber - protected void createNewModifyCapitalAsset(List<CapitalAccountingLines> capitalAccountingLines, List<CapitalAssetInformation> currentCapitalAssetInformation, String documentNumber, String actionType, Integer nextCapitalAssetLineNumber, long capitalAssetNumber)
capitalAccountingLines - currentCapitalAssetInformation - documentNumber - actionType - nextCapitalAssetLineNumnber - capitalAssetNumber - protected void createCapitalAssetAccountingLinesDetails(CapitalAccountingLines capitalAccountingLine, CapitalAssetInformation capitalAsset)
capitalAccountingLine - capitalAsset - protected Integer getNextAccountingLineNumber(CapitalAccountingLines capitalAccountingLine, CapitalAssetInformation capitalAsset)
capitalAsset - protected CapitalAssetInformation getCapitalAssetCreated(CapitalAccountingLines capitalAccountingLine, List<CapitalAssetInformation> capitalAssetInformation)
capitalAccountingLine - capitalAssetInformation - protected CapitalAssetInformation capitalAssetCreated(List<CapitalAccountingLines> capitalAccountingLines, List<CapitalAssetInformation> capitalAssetInformation)
capitalAccountingLine - capitalAssetInformation - protected CapitalAssetInformation modifyCapitalAssetCreated(CapitalAccountingLines capitalAccountingLine, List<CapitalAssetInformation> capitalAssetInformation)
capitalAccountingLine - capitalAssetInformation - protected Integer getNextCapitalAssetLineNumber(KualiAccountingDocumentFormBase kualiAccountingDocumentFormBase)
capitalAssetInformation - existingCapitalAssetInformation - protected boolean accountingLinesAmountDistributed(List<CapitalAccountingLines> capitalAccountingLines, CapitalAssetInformation existingCapitalAsset)
kadfb - existingCapitalAsset - protected boolean capitalAccountingLineAmountDistributed(CapitalAccountingLines capitalAccountingLine, List<CapitalAssetInformation> capitalAssetsInformation)
kadfb - capitalAssetsInformation - protected org.kuali.rice.core.api.util.type.KualiDecimal getAccountingLineAmount(CapitalAssetInformation capitalAsset, CapitalAccountingLines capitalAccountingLine)
capitalAsset - capitalAccountingLine - protected void addMissingAccountingLinesToCapitalAsset(List<CapitalAccountingLines> capitalAccountingLines, CapitalAssetInformation existingCapitalAsset)
capitalAccountingLines - existingCapitalAsset - protected void createCapitalAssetInformationDetail(CapitalAssetInformation capitalAsset)
capitalAsset - protected Integer getNextLineItemNumber(CapitalAssetInformation capitalAsset)
capitalAsset - protected void calculateRemainingDistributedAmount(CapitalAccountingLinesFormBase calfb, List<CapitalAssetInformation> capitalAssetInformation)
protected boolean capitalAccountingLineMissing(CapitalAccountingLines capitalAccountingLine, List<CapitalAssetAccountsGroupDetails> groupAccountLines, Integer capitalAssetLineNumber)
capitalAccountingLine - groupAccountLines - capitalAssetLineNumber - protected void checkCapitalAccountingLinesSelected(CapitalAccountingLinesFormBase calfb)
calfb - protected void setTabStatesForCapitalAssets(org.apache.struts.action.ActionForm form)
form - protected boolean checkCreateAssetsExist(CapitalAccountingLinesFormBase capitalAccountingLinesFormBase)
capitalAccountingLinesFormBase - protected boolean checkModifyAssetsExist(CapitalAccountingLinesFormBase capitalAccountingLinesFormBase)
capitalAccountingLinesFormBase - public org.apache.struts.action.ActionForward redistributeCreateCapitalAssetAmount(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 redistributeModifyCapitalAssetAmount(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 org.kuali.rice.core.api.util.type.KualiDecimal getRemainingAmounToDistribute(List<CapitalAccountingLines> selectedCapitalAccountingLines, org.apache.struts.action.ActionForm form)
selectedCapitalAccountingLines - form - protected void deleteCapitalAssetLines(KualiAccountingDocumentFormBase financialDocumentForm, AccountingLine accountingLine)
financialDocumentForm - line - protected void removeDistributedAccountingLine(CapitalAssetInformation capitalAsset, AccountingLine accountingLine)
capitalAsset - accountingLine - protected void addCapitalAssetInfoDetailLines(CapitalAssetInformation capitalAssetInformation)
capitalAssetInformation - the given capital asset informationprotected void uncheckCapitalAccountingLinesSelected(CapitalAccountingLinesFormBase calfb)
calfb - protected void checkSelectForCapitalAccountingLines(CapitalAccountingLinesFormBase calfb)
calfb - protected org.kuali.rice.core.api.util.type.KualiDecimal getAccountingLinesTotalAmount(CapitalAssetInformation capitalAssetInformation)
capitalAssetInformation - protected org.kuali.rice.core.api.util.type.KualiDecimal getAccountingLinesDistributedAmount(CapitalAccountingLines capitalAccountingLine, List<CapitalAssetInformation> capitalAssetInformation, String actionTypeCode)
capitalAccountingLine - capitalAssetInformation - actionTypeCode - protected void adjustAccountingLineAmountOnLastCapitalAsset(CapitalAccountingLines capitalAccountingLine, CapitalAssetInformation lastCapitalAsset, org.kuali.rice.core.api.util.type.KualiDecimal difference)
capitalAccountingLine - lastCapitalAsset - difference - protected void redistributeToGroupAccountingLinesFromAssetsByAmounts(List<CapitalAccountingLines> selectedCapitalAccountingLines, CapitalAssetInformation capitalAsset)
capitalAssetInformation - selectedCapitalAccountingLines - protected org.kuali.rice.core.api.util.type.KualiDecimal getTotalCapitalAccountsAmounts(List<CapitalAccountingLines> capitalAccountingLines)
capitalAccountingLines - protected void DistributeCapitalAssetAmountToGroupAccountingLines(KualiAccountingDocumentFormBase kualiAccountingDocumentFormBase)
kualiAccountingDocumentFormBase - protected boolean capitalAssetAmountAlreadyDistributedToGroupAccountingLines(CapitalAssetInformation capitalAsset)
capitalAsset - Copyright © 2004–2014 The Kuali Foundation. All rights reserved.