Java Doc for BalanceServiceImpl.java in  » ERP-CRM-Financial » Kuali-Financial-System » org » kuali » module » gl » service » impl » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » ERP CRM Financial » Kuali Financial System » org.kuali.module.gl.service.impl 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.kuali.module.gl.service.impl.BalanceServiceImpl

BalanceServiceImpl
public class BalanceServiceImpl implements BalanceService(Code)
This class is the OJB implementation of the Balance Service


Field Summary
 String[]actualBalanceCodes
    
 String[]assetLiabilityFundBalanceObjectTypeCodes
    
protected  BalanceDaobalanceDao
    
 String[]encumbranceBaseBudgetBalanceTypeCodes
    
 String[]expenseObjectTypeCodes
    
 String[]incomeObjectTypeCodes
    
protected  OptionsServiceoptionsService
    


Method Summary
public  booleanbeginningBalanceLoaded(Account account)
     Returns whether or not the beginning budget is loaded for the given account.
public  intcountBalancesForFiscalYear(Integer year)
    
protected  KualiDecimalexpenseBalances(Account account)
    
public  IteratorfindBalance(Map fieldValues, boolean isConsolidated)
    
public  Iterator<Balance>findBalancesForFiscalYear(Integer fiscalYear)
     Defers to the DAO to find all balances in the fiscal year.
public  IteratorfindCashBalance(Map fieldValues, boolean isConsolidated)
    
public  Iterator<Balance>findCumulativeBalancesToForwardForFiscalYear(Integer year)
    
public  Iterator<Balance>findGeneralBalancesToForwardForFiscalYear(Integer year)
    
public  Iterator<Balance>findNominalActivityBalancesForFiscalYear(Integer year)
    
public  Iterator<Balance>findOrganizationReversionBalancesForFiscalYear(Integer year, boolean endOfYear)
    
public  booleanfundBalanceWillNetToZero(Account account)
    
public  IntegergetBalanceRecordCount(Map fieldValues, boolean isConsolidated)
    
public  IntegergetCashBalanceRecordCount(Map fieldValues, boolean isConsolidated)
    
public  ListgetGlSummary(int universityFiscalYear, List<String> balanceTypeCodes)
    
public  booleanhasAssetLiabilityFundBalanceBalances(Account account)
    
public  booleanhasAssetLiabilityOrFundBalance(Account account)
    
public  booleanhasEncumbrancesOrBaseBudgets(Account account)
    
protected  KualiDecimalincomeBalances(Account account)
    
public  voidpurgeYearByChart(String chart, int year)
    
public  voidsave(Balance b)
    
public  voidsetBalanceDao(BalanceDao balanceDao)
    
public  voidsetOptionsService(OptionsService optionsService)
    

Field Detail
actualBalanceCodes
String[] actualBalanceCodes(Code)



assetLiabilityFundBalanceObjectTypeCodes
String[] assetLiabilityFundBalanceObjectTypeCodes(Code)



balanceDao
protected BalanceDao balanceDao(Code)



encumbranceBaseBudgetBalanceTypeCodes
String[] encumbranceBaseBudgetBalanceTypeCodes(Code)



expenseObjectTypeCodes
String[] expenseObjectTypeCodes(Code)



incomeObjectTypeCodes
String[] incomeObjectTypeCodes(Code)



optionsService
protected OptionsService optionsService(Code)





Method Detail
beginningBalanceLoaded
public boolean beginningBalanceLoaded(Account account)(Code)
Returns whether or not the beginning budget is loaded for the given account. Of course, it doesn't really check the account...just the options for the current year to see if all the beginning balances have been loaded
Parameters:
  an - account to check whether the beginning balance is loaded for true if the beginning balance is loaded, false otherwise
See Also:   org.kuali.module.gl.service.BalanceService.beginningBalanceLoaded(org.kuali.module.chart.bo.Account)



countBalancesForFiscalYear
public int countBalancesForFiscalYear(Integer year)(Code)
Uses the DAO to count the number of balances associated with the given fiscal year
Parameters:
  fiscal - year a fiscal year to count balances for an integer with the number of balances
See Also:   org.kuali.module.gl.service.BalanceService.countBalancesForFiscalYear(java.lang.Integer)



expenseBalances
protected KualiDecimal expenseBalances(Account account)(Code)
Sums all the balances associated with a given account that would be considered "expense" balances
Parameters:
  account - an account to find expense balances for the sum of those balances



findBalance
public Iterator findBalance(Map fieldValues, boolean isConsolidated)(Code)
This method gets the size of balance entries according to input fields and values
Parameters:
  fieldValues - the input fields and values
Parameters:
  isConsolidated - consolidation option is applied or not the size of balance entries
See Also:   org.kuali.module.gl.service.BalanceService.findBalance(java.util.Mapboolean)



findBalancesForFiscalYear
public Iterator<Balance> findBalancesForFiscalYear(Integer fiscalYear)(Code)
Defers to the DAO to find all balances in the fiscal year.
Parameters:
  fiscalYear - the fiscal year to find balances for an Iterator full of balances from the given fiscal year
See Also:   org.kuali.module.gl.service.BalanceService.findBalancesForFiscalYear(java.lang.Integer)



findCashBalance
public Iterator findCashBalance(Map fieldValues, boolean isConsolidated)(Code)
This method finds the summary records of balance entries according to input fields an values, using the DAO
Parameters:
  fieldValues - the input fields an values
Parameters:
  isConsolidated - consolidation option is applied or not the summary records of balance entries
See Also:   org.kuali.module.gl.service.BalanceService.findCashBalance(java.util.Mapboolean)



findCumulativeBalancesToForwardForFiscalYear
public Iterator<Balance> findCumulativeBalancesToForwardForFiscalYear(Integer year)(Code)
Returns all the balances to be forwarded for the "cumulative" rule
Parameters:
  year - the fiscal year to find balances for an Iterator of balances to process for the cumulative/active balance forward process
See Also:   org.kuali.module.gl.service.BalanceService.findCumulativeBalancesToForwardForFiscalYear(java.lang.Integer)



findGeneralBalancesToForwardForFiscalYear
public Iterator<Balance> findGeneralBalancesToForwardForFiscalYear(Integer year)(Code)
Returns all the balances specifically to be processed by the balance forwards job for the "general" rule
Parameters:
  year - the fiscal year to find balances for an Iterator of balances to process for the general balance forward process
See Also:   org.kuali.module.gl.service.BalanceService.findGeneralBalancesToForwardForFiscalYear(java.lang.Integer)



findNominalActivityBalancesForFiscalYear
public Iterator<Balance> findNominalActivityBalancesForFiscalYear(Integer year)(Code)
This method returns all of the balances specifically for the nominal activity closing job
Parameters:
  year - year to find balances for an Iterator of nominal activity balances
See Also:   org.kuali.module.gl.service.BalanceService.findNominalActivityBalancesForFiscalYear(java.lang.Integer)



findOrganizationReversionBalancesForFiscalYear
public Iterator<Balance> findOrganizationReversionBalancesForFiscalYear(Integer year, boolean endOfYear)(Code)
Returns all of the balances to be forwarded for the organization reversion process
Parameters:
  year - the year of balances to find
Parameters:
  endOfYear - whether the organization reversion process is running end of year (before the fiscal year change over) or beginning of year (after the fiscal year change over) an iterator of balances to put through the strenuous organization reversion process
See Also:   org.kuali.module.gl.service.BalanceService.findOrganizationReversionBalancesForFiscalYear(java.lang.Integerboolean)



fundBalanceWillNetToZero
public boolean fundBalanceWillNetToZero(Account account)(Code)
Checks to see if the total income balances for the given account equal the total expense balances for the given account
Parameters:
  an - account to find balances for true if income balances equal expense balances, false otherwise
See Also:   org.kuali.module.gl.service.BalanceService.fundBalanceWillNetToZero(org.kuali.module.chart.bo.Account)



getBalanceRecordCount
public Integer getBalanceRecordCount(Map fieldValues, boolean isConsolidated)(Code)
This method finds the summary records of balance entries according to input fields and values
Parameters:
  fieldValues - the input fields and values
Parameters:
  isConsolidated - consolidation option is applied or not the summary records of balance entries
See Also:   org.kuali.module.gl.service.BalanceService.getBalanceRecordCount(java.util.Mapboolean)



getCashBalanceRecordCount
public Integer getCashBalanceRecordCount(Map fieldValues, boolean isConsolidated)(Code)
This method gets the size of cash balance entries according to input fields and values
Parameters:
  fieldValues - the input fields and values
Parameters:
  isConsolidated - consolidation option is applied or not the count of cash balance entries
See Also:   org.kuali.module.gl.service.BalanceService.getCashBalanceRecordCount(java.util.Mapboolean)



getGlSummary
public List getGlSummary(int universityFiscalYear, List<String> balanceTypeCodes)(Code)

Parameters:
  universityFiscalYear - the fiscal year to find balances for
Parameters:
  balanceTypeCodes - the balance types to summarize a list of summarized GL balances
See Also:   org.kuali.module.gl.service.BalanceService.getGlSummary(intjava.util.List)



hasAssetLiabilityFundBalanceBalances
public boolean hasAssetLiabilityFundBalanceBalances(Account account)(Code)
Checks the given account to see if there are any non zero asset fund liability fund balances for them
Parameters:
  account - an account to find balances for true if there are non zero asset liability fund balances, false if otherwise
See Also:   org.kuali.module.gl.service.BalanceService.hasAssetLiabilityFundBalanceBalances(org.kuali.module.chart.bo.Account)



hasAssetLiabilityOrFundBalance
public boolean hasAssetLiabilityOrFundBalance(Account account)(Code)
Determines if the account has asset/liability balances associated with it that will have a net impact
Parameters:
  account - an account to check balances for true if the account has an asset liability balance, false otherwise
See Also:   org.kuali.module.gl.service.BalanceService.hasAssetLiabilityOrFundBalance(org.kuali.module.chart.bo.Account)



hasEncumbrancesOrBaseBudgets
public boolean hasEncumbrancesOrBaseBudgets(Account account)(Code)
Finds all of the encumbrance balances for the given account, and figures out if those encumbrances will have a net impact on the budget
Parameters:
  account - an account to find balances for true if summed encumbrances for the account are not zero (meaning encumbrances will have a net impact on the budget), false if otherwise
See Also:   org.kuali.module.gl.service.BalanceService.hasEncumbrancesOrBaseBudgets(org.kuali.module.chart.bo.Account)



incomeBalances
protected KualiDecimal incomeBalances(Account account)(Code)
Returns the sum of balances considered as income for the given account
Parameters:
  account - the account to find income balances for the sum of income balances



purgeYearByChart
public void purgeYearByChart(String chart, int year)(Code)
Purge the balance table by year/chart
Parameters:
  chart - the chart of balances to purge
Parameters:
  year - the year of balances to purge



save
public void save(Balance b)(Code)
Saves the balance in a no-nonsense, straight away, three piece suit sort of way
Parameters:
  b - the balance to save
See Also:   org.kuali.module.gl.service.BalanceService.save(org.kuali.module.gl.bo.Balance)



setBalanceDao
public void setBalanceDao(BalanceDao balanceDao)(Code)



setOptionsService
public void setOptionsService(OptionsService optionsService)(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.