|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kuali.kfs.module.bc.document.service.impl.BenefitsCalculationServiceImpl
@Transactional public class BenefitsCalculationServiceImpl
This class implements the BenefitsCalculationService interface
Constructor Summary | |
---|---|
BenefitsCalculationServiceImpl()
|
Method Summary | |
---|---|
void |
calculateAllBudgetConstructionGeneralLedgerBenefits(String documentNumber,
Integer fiscalYear,
String chartOfAccounts,
String accountNumber,
String subAccountNumber)
calculates both the monthly budget and the annual budget budget construction general ledger benefits for the key passed in, and stores them in the database. |
void |
calculateAnnualBudgetConstructionGeneralLedgerBenefits(String documentNumber,
Integer fiscalYear,
String chartOfAccounts,
String accountNumber,
String subAccountNumber)
calculates the annual benefits for the budget construction general ledger key passed in, and stores them in the database |
void |
calculateMonthlyBudgetConstructionGeneralLedgerBenefits(String documentNumber,
Integer fiscalYear,
String chartOfAccounts,
String accountNumber,
String subAccountNumber)
calculates the monthly budget benefits for the budget construction general ledger key passed in, and stores them in the database |
org.kuali.rice.kns.service.KualiConfigurationService |
getKualiConfigurationService()
Gets the kualiConfigurationService attribute. |
boolean |
isBenefitsCalculationDisabled()
This method returns the disabled setting of the System Parameter controlling Budget module Benefits Calculation. |
void |
setBenefitsCalculationDao(BenefitsCalculationDao benefitsCalculationDao)
This method allows spring to initialize the Dao, so we don't have to look up the bean on each call from the application |
void |
setKualiConfigurationService(org.kuali.rice.kns.service.KualiConfigurationService kualiConfigurationService)
Sets the kualiConfigurationService attribute value. |
void |
setOptionsService(OptionsService optionsService)
use this to return the "Expenditures/Expense" financial object type code from the options table this must be done by fiscal year, so unfortunately we have to make one call to OJB whenever one of the methods that needs this constant is called. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BenefitsCalculationServiceImpl()
Method Detail |
---|
public boolean isBenefitsCalculationDisabled()
BenefitsCalculationService
isBenefitsCalculationDisabled
in interface BenefitsCalculationService
org.kuali.kfs.module.bc.document.service.BenefitsCalculationService#getBenefitsCalculationDisabled()
public void calculateAnnualBudgetConstructionGeneralLedgerBenefits(String documentNumber, Integer fiscalYear, String chartOfAccounts, String accountNumber, String subAccountNumber)
BenefitsCalculationService
calculateAnnualBudgetConstructionGeneralLedgerBenefits
in interface BenefitsCalculationService
documentNumber
- the string containing the document numberfiscalYear
- the integer value of the fiscal yearchartOfAccounts
- the string containing the chart of accountsaccountNumber
- the string containing the account numbersubAccountNumber
- the string containing the sub account numberBenefitsCalculationService.calculateAnnualBudgetConstructionGeneralLedgerBenefits(java.lang.String,
java.lang.Integer, java.lang.String, java.lang.String, java.lang.String)
public void calculateMonthlyBudgetConstructionGeneralLedgerBenefits(String documentNumber, Integer fiscalYear, String chartOfAccounts, String accountNumber, String subAccountNumber)
BenefitsCalculationService
calculateMonthlyBudgetConstructionGeneralLedgerBenefits
in interface BenefitsCalculationService
documentNumber
- the string containing the document numberfiscalYear
- the integer value of the fiscal yearchartOfAccounts
- the string containing the chart of accountsaccountNumber
- the string containing the account numbersubAccountNumber
- the string containing the sub account numberBenefitsCalculationService.calculateMonthlyBudgetConstructionGeneralLedgerBenefits(java.lang.String,
java.lang.Integer, java.lang.String, java.lang.String, java.lang.String)
public void calculateAllBudgetConstructionGeneralLedgerBenefits(String documentNumber, Integer fiscalYear, String chartOfAccounts, String accountNumber, String subAccountNumber)
BenefitsCalculationService
calculateAllBudgetConstructionGeneralLedgerBenefits
in interface BenefitsCalculationService
documentNumber
- the string containing the document numberfiscalYear
- the integer value of the fiscal yearchartOfAccounts
- the string containing the chart of accountsaccountNumber
- the string containing the account numberBenefitsCalculationService.calculateAllBudgetConstructionGeneralLedgerBenefits(java.lang.String,
java.lang.Integer, java.lang.String, java.lang.String, java.lang.String)
public org.kuali.rice.kns.service.KualiConfigurationService getKualiConfigurationService()
public void setKualiConfigurationService(org.kuali.rice.kns.service.KualiConfigurationService kualiConfigurationService)
kualiConfigurationService
- The kualiConfigurationService to set.public void setBenefitsCalculationDao(BenefitsCalculationDao benefitsCalculationDao)
benefitsCalculationDao
- - the Dao for benefits calculationpublic void setOptionsService(OptionsService optionsService)
optionsService
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |