org.kuali.kfs.gl.batch.service.impl
Class AccountingCycleCachingServiceImpl

java.lang.Object
  extended by org.kuali.kfs.sys.batch.service.AbstractBatchTransactionalCachingService
      extended by org.kuali.kfs.gl.batch.service.impl.AccountingCycleCachingServiceImpl
All Implemented Interfaces:
AccountingCycleCachingService, WrappingBatchService
Direct Known Subclasses:
LaborAccountingCycleCachingServiceImpl

public class AccountingCycleCachingServiceImpl
extends AbstractBatchTransactionalCachingService
implements AccountingCycleCachingService


Nested Class Summary
 
Nested classes/interfaces inherited from class org.kuali.kfs.sys.batch.service.AbstractBatchTransactionalCachingService
AbstractBatchTransactionalCachingService.PreviousValueReference<T extends org.kuali.rice.kns.bo.BusinessObject>, AbstractBatchTransactionalCachingService.PreviousValueRetriever<T extends org.kuali.rice.kns.bo.BusinessObject>, AbstractBatchTransactionalCachingService.ReferenceValueRetriever<T extends org.kuali.rice.kns.bo.BusinessObject>
 
Field Summary
protected  LedgerReferenceValuePreparedStatementCachingDao chartReferenceValueDao
           
protected  Map<String,Boolean> documentTypeValidCache
           
protected  FinancialSystemDocumentTypeService financialSystemDocumentTypeService
           
protected  LedgerPreparedStatementCachingDao ledgerDao
           
protected  LedgerReferenceValuePreparedStatementCachingDao systemReferenceValueDao
           
protected  UniversityDateService universityDateService
           
 
Fields inherited from class org.kuali.kfs.sys.batch.service.AbstractBatchTransactionalCachingService
NON_EXISTENT_REFERENCE_CACHE_VALUE, previousValueCache, referenceValueCache
 
Constructor Summary
AccountingCycleCachingServiceImpl()
           
 
Method Summary
 void destroy()
           
 A21SubAccount getA21SubAccount(String chartOfAccountsCode, String accountNumber, String subAccountNumber)
           
 Account getAccount(String chartCode, String accountNumber)
           
 AccountBalance getAccountBalance(Transaction t)
           
 AccountingPeriod getAccountingPeriod(Integer fiscalYear, String fiscalPeriodCode)
           
 Balance getBalance(Transaction t)
           
 BalanceType getBalanceType(String financialBalanceTypeCode)
           
 Chart getChart(String chartOfAccountsCode)
           
 Encumbrance getEncumbrance(Entry entry)
           
 ExpenditureTransaction getExpenditureTransaction(Transaction t)
           
 IndirectCostRecoveryType getIndirectCostRecoveryType(String accountIcrTypeCode)
           
 int getMaxSequenceNumber(Transaction t)
           
 ObjectCode getObjectCode(Integer universityFiscalYear, String chartOfAccountsCode, String financialObjectCode)
           
 ObjectLevel getObjectLevel(String chartOfAccountsCode, String financialObjectLevelCode)
           
 ObjectType getObjectType(String financialObjectTypeCode)
           
 OffsetDefinition getOffsetDefinition(Integer universityFiscalYear, String chartOfAccountsCode, String financialDocumentTypeCode, String financialBalanceTypeCode)
           
 Organization getOrganization(String chartOfAccountsCode, String organizationCode)
           
 OriginationCode getOriginationCode(String financialSystemOriginationCode)
           
 ProjectCode getProjectCode(String financialSystemProjectCode)
           
 SubAccount getSubAccount(String chartOfAccountsCode, String accountNumber, String subAccountNumber)
           
 SubFundGroup getSubFundGroup(String subFundGroupCode)
           
 SubObjectCode getSubObjectCode(Integer universityFiscalYear, String chartOfAccountsCode, String accountNumber, String financialObjectCode, String financialSubObjectCode)
           
 SufficientFundBalances getSufficientFundBalances(Integer universityFiscalYear, String chartOfAccountsCode, String accountNumber, String financialObjectCode)
           
 SystemOptions getSystemOptions(Integer fiscalYear)
           
 UniversityDate getUniversityDate(Date date)
           
 void initialize()
           
 void insertAccountBalance(AccountBalance accountBalance)
           
 void insertBalance(Balance balance)
           
 void insertEncumbrance(Encumbrance encumbrance)
           
 void insertEntry(Entry entry)
           
 void insertExpenditureTransaction(ExpenditureTransaction expenditureTransaction)
           
 void insertReversal(Reversal reversal)
           
 void insertSufficientFundBalances(SufficientFundBalances sufficientFundBalances)
           
 boolean isCurrentActiveAccountingDocumentType(String documentTypeCode)
           
 void setChartReferenceValueDao(LedgerReferenceValuePreparedStatementCachingDao chartReferenceValueDao)
           
 void setFinancialSystemDocumentTypeService(FinancialSystemDocumentTypeService financialSystemDocumentTypeService)
          Sets the financialSystemDocumentTypeService attribute value.
 void setLedgerDao(LedgerPreparedStatementCachingDao ledgerDao)
           
 void setSystemReferenceValueDao(LedgerReferenceValuePreparedStatementCachingDao systemReferenceValueDao)
           
 void setUniversityDateService(UniversityDateService universityDateService)
           
 void updateAccountBalance(AccountBalance accountBalance)
           
 void updateBalance(Balance balance)
           
 void updateEncumbrance(Encumbrance encumbrance)
           
 void updateExpenditureTransaction(ExpenditureTransaction expenditureTransaction)
           
 void updateSufficientFundBalances(SufficientFundBalances sufficientFundBalances)
           
 
Methods inherited from class org.kuali.kfs.sys.batch.service.AbstractBatchTransactionalCachingService
getCacheKey
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

systemReferenceValueDao

protected LedgerReferenceValuePreparedStatementCachingDao systemReferenceValueDao

chartReferenceValueDao

protected LedgerReferenceValuePreparedStatementCachingDao chartReferenceValueDao

ledgerDao

protected LedgerPreparedStatementCachingDao ledgerDao

documentTypeValidCache

protected Map<String,Boolean> documentTypeValidCache

universityDateService

protected UniversityDateService universityDateService

financialSystemDocumentTypeService

protected FinancialSystemDocumentTypeService financialSystemDocumentTypeService
Constructor Detail

AccountingCycleCachingServiceImpl

public AccountingCycleCachingServiceImpl()
Method Detail

initialize

public void initialize()
Specified by:
initialize in interface WrappingBatchService
Overrides:
initialize in class AbstractBatchTransactionalCachingService

destroy

public void destroy()
Specified by:
destroy in interface WrappingBatchService
Overrides:
destroy in class AbstractBatchTransactionalCachingService

isCurrentActiveAccountingDocumentType

public boolean isCurrentActiveAccountingDocumentType(String documentTypeCode)
Specified by:
isCurrentActiveAccountingDocumentType in interface AccountingCycleCachingService

getOriginationCode

public OriginationCode getOriginationCode(String financialSystemOriginationCode)
Specified by:
getOriginationCode in interface AccountingCycleCachingService

getSystemOptions

public SystemOptions getSystemOptions(Integer fiscalYear)
Specified by:
getSystemOptions in interface AccountingCycleCachingService

getUniversityDate

public UniversityDate getUniversityDate(Date date)
Specified by:
getUniversityDate in interface AccountingCycleCachingService

getA21SubAccount

public A21SubAccount getA21SubAccount(String chartOfAccountsCode,
                                      String accountNumber,
                                      String subAccountNumber)
Specified by:
getA21SubAccount in interface AccountingCycleCachingService

getAccount

public Account getAccount(String chartCode,
                          String accountNumber)
Specified by:
getAccount in interface AccountingCycleCachingService

getAccountingPeriod

public AccountingPeriod getAccountingPeriod(Integer fiscalYear,
                                            String fiscalPeriodCode)
Specified by:
getAccountingPeriod in interface AccountingCycleCachingService

getBalanceType

public BalanceType getBalanceType(String financialBalanceTypeCode)
Specified by:
getBalanceType in interface AccountingCycleCachingService

getChart

public Chart getChart(String chartOfAccountsCode)
Specified by:
getChart in interface AccountingCycleCachingService

getIndirectCostRecoveryType

public IndirectCostRecoveryType getIndirectCostRecoveryType(String accountIcrTypeCode)
Specified by:
getIndirectCostRecoveryType in interface AccountingCycleCachingService

getObjectCode

public ObjectCode getObjectCode(Integer universityFiscalYear,
                                String chartOfAccountsCode,
                                String financialObjectCode)
Specified by:
getObjectCode in interface AccountingCycleCachingService

getObjectLevel

public ObjectLevel getObjectLevel(String chartOfAccountsCode,
                                  String financialObjectLevelCode)
Specified by:
getObjectLevel in interface AccountingCycleCachingService

getObjectType

public ObjectType getObjectType(String financialObjectTypeCode)
Specified by:
getObjectType in interface AccountingCycleCachingService

getOffsetDefinition

public OffsetDefinition getOffsetDefinition(Integer universityFiscalYear,
                                            String chartOfAccountsCode,
                                            String financialDocumentTypeCode,
                                            String financialBalanceTypeCode)
Specified by:
getOffsetDefinition in interface AccountingCycleCachingService

getOrganization

public Organization getOrganization(String chartOfAccountsCode,
                                    String organizationCode)
Specified by:
getOrganization in interface AccountingCycleCachingService

getProjectCode

public ProjectCode getProjectCode(String financialSystemProjectCode)
Specified by:
getProjectCode in interface AccountingCycleCachingService

getSubAccount

public SubAccount getSubAccount(String chartOfAccountsCode,
                                String accountNumber,
                                String subAccountNumber)
Specified by:
getSubAccount in interface AccountingCycleCachingService

getSubFundGroup

public SubFundGroup getSubFundGroup(String subFundGroupCode)
Specified by:
getSubFundGroup in interface AccountingCycleCachingService

getSubObjectCode

public SubObjectCode getSubObjectCode(Integer universityFiscalYear,
                                      String chartOfAccountsCode,
                                      String accountNumber,
                                      String financialObjectCode,
                                      String financialSubObjectCode)
Specified by:
getSubObjectCode in interface AccountingCycleCachingService

getMaxSequenceNumber

public int getMaxSequenceNumber(Transaction t)
Specified by:
getMaxSequenceNumber in interface AccountingCycleCachingService

getAccountBalance

public AccountBalance getAccountBalance(Transaction t)
Specified by:
getAccountBalance in interface AccountingCycleCachingService

getBalance

public Balance getBalance(Transaction t)
Specified by:
getBalance in interface AccountingCycleCachingService

getEncumbrance

public Encumbrance getEncumbrance(Entry entry)
Specified by:
getEncumbrance in interface AccountingCycleCachingService

getExpenditureTransaction

public ExpenditureTransaction getExpenditureTransaction(Transaction t)
Specified by:
getExpenditureTransaction in interface AccountingCycleCachingService

getSufficientFundBalances

public SufficientFundBalances getSufficientFundBalances(Integer universityFiscalYear,
                                                        String chartOfAccountsCode,
                                                        String accountNumber,
                                                        String financialObjectCode)
Specified by:
getSufficientFundBalances in interface AccountingCycleCachingService

insertAccountBalance

public void insertAccountBalance(AccountBalance accountBalance)
Specified by:
insertAccountBalance in interface AccountingCycleCachingService

updateAccountBalance

public void updateAccountBalance(AccountBalance accountBalance)
Specified by:
updateAccountBalance in interface AccountingCycleCachingService

insertBalance

public void insertBalance(Balance balance)
Specified by:
insertBalance in interface AccountingCycleCachingService

updateBalance

public void updateBalance(Balance balance)
Specified by:
updateBalance in interface AccountingCycleCachingService

insertEncumbrance

public void insertEncumbrance(Encumbrance encumbrance)
Specified by:
insertEncumbrance in interface AccountingCycleCachingService

updateEncumbrance

public void updateEncumbrance(Encumbrance encumbrance)
Specified by:
updateEncumbrance in interface AccountingCycleCachingService

insertExpenditureTransaction

public void insertExpenditureTransaction(ExpenditureTransaction expenditureTransaction)
Specified by:
insertExpenditureTransaction in interface AccountingCycleCachingService

updateExpenditureTransaction

public void updateExpenditureTransaction(ExpenditureTransaction expenditureTransaction)
Specified by:
updateExpenditureTransaction in interface AccountingCycleCachingService

insertSufficientFundBalances

public void insertSufficientFundBalances(SufficientFundBalances sufficientFundBalances)
Specified by:
insertSufficientFundBalances in interface AccountingCycleCachingService

updateSufficientFundBalances

public void updateSufficientFundBalances(SufficientFundBalances sufficientFundBalances)
Specified by:
updateSufficientFundBalances in interface AccountingCycleCachingService

insertEntry

public void insertEntry(Entry entry)
Specified by:
insertEntry in interface AccountingCycleCachingService

insertReversal

public void insertReversal(Reversal reversal)
Specified by:
insertReversal in interface AccountingCycleCachingService

setSystemReferenceValueDao

public void setSystemReferenceValueDao(LedgerReferenceValuePreparedStatementCachingDao systemReferenceValueDao)

setChartReferenceValueDao

public void setChartReferenceValueDao(LedgerReferenceValuePreparedStatementCachingDao chartReferenceValueDao)

setLedgerDao

public void setLedgerDao(LedgerPreparedStatementCachingDao ledgerDao)

setUniversityDateService

public void setUniversityDateService(UniversityDateService universityDateService)

setFinancialSystemDocumentTypeService

public void setFinancialSystemDocumentTypeService(FinancialSystemDocumentTypeService financialSystemDocumentTypeService)
Sets the financialSystemDocumentTypeService attribute value.

Parameters:
financialSystemDocumentTypeService - The financialSystemDocumentTypeService to set.


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.