|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.kfs.module.cam.document.service.impl.PaymentSummaryServiceImpl
public class PaymentSummaryServiceImpl
This class implements PaymentSummaryService
| Constructor Summary | |
|---|---|
PaymentSummaryServiceImpl()
|
|
| Method Summary | |
|---|---|
protected org.kuali.rice.kns.util.KualiDecimal |
addAmount(org.kuali.rice.kns.util.KualiDecimal amount,
org.kuali.rice.kns.util.KualiDecimal addend)
|
void |
calculateAndSetPaymentSummary(Asset asset)
|
org.kuali.rice.kns.util.KualiDecimal |
calculateFederalContribution(Asset asset)
Sums up federal contribution amount for an asset |
org.kuali.rice.kns.util.KualiDecimal |
calculatePaymentTotalCost(Asset asset)
Sums up total payment cost for an asset |
org.kuali.rice.kns.util.KualiDecimal |
calculatePrimaryAccumulatedDepreciation(Asset asset)
Sums up primary accumulated depreciation amount |
protected org.kuali.rice.kns.util.KualiDecimal |
calculatePrimaryBaseAmount(Asset asset)
Sums up primary base amount for an asset |
org.kuali.rice.kns.util.KualiDecimal |
calculatePrimaryBookValue(Asset asset)
Sums up primary book value for an asset |
protected org.kuali.rice.kns.util.KualiDecimal |
calculatePrimaryCurrentMonthDepreciation(Asset asset)
Sums current month depreciation amount for an asset |
protected org.kuali.rice.kns.util.KualiDecimal |
calculatePrimaryPrevYearDepreciation(Asset asset)
Sums up previous year depreciation amount for an asset |
protected org.kuali.rice.kns.util.KualiDecimal |
calculatePrimaryYTDDepreciation(Asset asset)
Sums up year to date depreciation amount for an asset |
protected org.kuali.rice.kns.util.KualiDecimal |
getCurrentMonthDepreciationAmount(AssetPayment assetPayment)
Helper methods uses university date service to identify the right depreciation month column for the current month |
org.kuali.rice.kns.service.ParameterService |
getParameterService()
|
UniversityDateService |
getUniversityDateService()
|
void |
setParameterService(org.kuali.rice.kns.service.ParameterService parameterService)
|
protected void |
setPaymentYearToDate(Asset asset)
Sets sum of depreciation for each asset payment record |
void |
setUniversityDateService(UniversityDateService universityDateService)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PaymentSummaryServiceImpl()
| Method Detail |
|---|
protected org.kuali.rice.kns.util.KualiDecimal addAmount(org.kuali.rice.kns.util.KualiDecimal amount,
org.kuali.rice.kns.util.KualiDecimal addend)
public void calculateAndSetPaymentSummary(Asset asset)
calculateAndSetPaymentSummary in interface PaymentSummaryServiceasset - Asset that needs Payment Summary Information computed
PaymentSummaryService.calculateAndSetPaymentSummary(org.kuali.kfs.module.cam.businessobject.Asset)public org.kuali.rice.kns.util.KualiDecimal calculateFederalContribution(Asset asset)
PaymentSummaryService
calculateFederalContribution in interface PaymentSummaryServiceasset - Asset
PaymentSummaryService.calculateFederalContribution(org.kuali.kfs.module.cam.businessobject.Asset)public org.kuali.rice.kns.util.KualiDecimal calculatePaymentTotalCost(Asset asset)
calculatePaymentTotalCost in interface PaymentSummaryServiceasset - Asset
public org.kuali.rice.kns.util.KualiDecimal calculatePrimaryAccumulatedDepreciation(Asset asset)
calculatePrimaryAccumulatedDepreciation in interface PaymentSummaryServiceasset - Asset
protected org.kuali.rice.kns.util.KualiDecimal calculatePrimaryBaseAmount(Asset asset)
asset - Asset
public org.kuali.rice.kns.util.KualiDecimal calculatePrimaryBookValue(Asset asset)
calculatePrimaryBookValue in interface PaymentSummaryServiceasset - Asset
protected org.kuali.rice.kns.util.KualiDecimal calculatePrimaryCurrentMonthDepreciation(Asset asset)
asset - Asset
protected org.kuali.rice.kns.util.KualiDecimal calculatePrimaryPrevYearDepreciation(Asset asset)
asset - Asset
protected org.kuali.rice.kns.util.KualiDecimal calculatePrimaryYTDDepreciation(Asset asset)
asset - Asset
protected org.kuali.rice.kns.util.KualiDecimal getCurrentMonthDepreciationAmount(AssetPayment assetPayment)
assetPayment - Asset Payment Record
public UniversityDateService getUniversityDateService()
protected void setPaymentYearToDate(Asset asset)
asset - Assetpublic void setUniversityDateService(UniversityDateService universityDateService)
public org.kuali.rice.kns.service.ParameterService getParameterService()
public void setParameterService(org.kuali.rice.kns.service.ParameterService parameterService)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||