org.kuali.kfs.module.bc.batch.dataaccess.impl
Class GeneralLedgerBudgetLoadDaoOjb.DaoGlobalVariables

java.lang.Object
  extended by org.kuali.kfs.module.bc.batch.dataaccess.impl.GeneralLedgerBudgetLoadDaoOjb.DaoGlobalVariables
Enclosing class:
GeneralLedgerBudgetLoadDaoOjb

protected class GeneralLedgerBudgetLoadDaoOjb.DaoGlobalVariables
extends Object

This class allows us to create global variables and pass them around. This should make the code thread safe, in the unlikely event it is called by more than one thread. it also allows us to fetch constants and build datas stuctures from the DB once upon instantiation of this class, and make them available for the duration of the run


Constructor Summary
GeneralLedgerBudgetLoadDaoOjb.DaoGlobalVariables(Integer requestYear)
           
 
Method Summary
 String getFinancialSystemOriginationcode()
           
 Integer getNextSequenceNumber(String seqKey)
          return the next available sequence number for the input key and update "next available"
 Integer getRequestYear()
           
 Date getTransactionDate()
           
 boolean shouldThisAccountLoad(String accountAndChart)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeneralLedgerBudgetLoadDaoOjb.DaoGlobalVariables

public GeneralLedgerBudgetLoadDaoOjb.DaoGlobalVariables(Integer requestYear)
Method Detail

getRequestYear

public Integer getRequestYear()

getNextSequenceNumber

public Integer getNextSequenceNumber(String seqKey)
return the next available sequence number for the input key and update "next available"


getTransactionDate

public Date getTransactionDate()

getFinancialSystemOriginationcode

public String getFinancialSystemOriginationcode()

shouldThisAccountLoad

public boolean shouldThisAccountLoad(String accountAndChart)


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