Java Doc for AccountingLineRuleUtil.java in  » ERP-CRM-Financial » Kuali-Financial-System » org » kuali » kfs » rules » 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.kfs.rules 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.kuali.kfs.rules.AccountingLineRuleUtil

All known Subclasses:   org.kuali.module.purap.util.PurapAccountingLineRuleUtil,
AccountingLineRuleUtil
public class AccountingLineRuleUtil (Code)
This utility class contains some common accounting line business rules, that can be used by many different parts of this application.




Method Summary
public static  StringgetAccountLabel()
    
public static  StringgetChartLabel()
    
public static  StringgetFundGroupCodeLabel()
    
public static  StringgetObjectCodeLabel()
    
public static  StringgetObjectSubTypeCodeLabel()
    
public static  StringgetObjectTypeCodeLabel()
    
public static  StringgetOrganizationCodeLabel()
    
public static  StringgetProjectCodeLabel()
    
public static  StringgetSubAccountLabel()
    
public static  StringgetSubFundGroupCodeLabel()
    
public static  StringgetSubObjectCodeLabel()
    
public static  booleanhasRequiredOverrides(AccountingLine line, String overrideCode)
     Checks that the given overrideCode is sufficient for the given BO, adding errors to the global map if not.
public static  booleanisValidAccount(Account account, DataDictionary dataDictionary)
     This method validates that the account is active for use in the system.
public static  booleanisValidAccount(Account account, DataDictionary dataDictionary, String errorPropertyName)
     This method validates that the account is active for use in the system.
public static  booleanisValidChart(Chart chart, DataDictionary dataDictionary)
     This method validates that the chart is active for use in the system.
public static  booleanisValidChart(Chart chart, DataDictionary dataDictionary, String errorPropertyName)
     This method validates that the chart is active for use in the system.
public static  booleanisValidObjectCode(ObjectCode objectCode, DataDictionary dataDictionary)
     This method validates that an object code is active.
public static  booleanisValidObjectCode(ObjectCode objectCode, DataDictionary dataDictionary, String errorPropertyName)
     This method validates that an object code is active.
public static  booleanisValidObjectTypeCode(ObjectType objectTypeCode, DataDictionary dataDictionary)
     For the most part, object type codes aren't required on an accounting line; however, in some situations (e.g.
public static  booleanisValidObjectTypeCode(ObjectType objectTypeCode, DataDictionary dataDictionary, String errorPropertyName)
     For the most part, object type codes aren't required on an accounting line; however, in some situations (e.g.
public static  booleanisValidProjectCode(ProjectCode projectCode, DataDictionary dataDictionary)
     This method validates that a project code is active.
public static  booleanisValidProjectCode(ProjectCode projectCode, DataDictionary dataDictionary, String errorPropertyName)
     This method validates that a project code is active.
public static  booleanisValidSubAccount(SubAccount subAccount, DataDictionary dataDictionary)
     This method validates that a sub account is active.
public static  booleanisValidSubAccount(SubAccount subAccount, DataDictionary dataDictionary, String errorPropertyName)
     This method validates that a sub account is active.
public static  booleanisValidSubObjectCode(SubObjCd subObjectCode, DataDictionary dataDictionary)
     This method validates that a sub object code is active.
public static  booleanisValidSubObjectCode(SubObjCd subObjectCode, DataDictionary dataDictionary, String errorPropertyName)
     This method validates that a sub object code is active.
public static  booleanvalidateAccountingLine(AccountingLine accountingLine, DataDictionaryService dataDictionaryService)
     This method validates that an accounting line object contains values that actually exist in the DB.



Method Detail
getAccountLabel
public static String getAccountLabel()(Code)
short label for account number defined in data dictionary



getChartLabel
public static String getChartLabel()(Code)
short label for chart code defined in data dictionary



getFundGroupCodeLabel
public static String getFundGroupCodeLabel()(Code)
short label for fund group code defined in data dictionary



getObjectCodeLabel
public static String getObjectCodeLabel()(Code)
short label for object code defined in data dictionary



getObjectSubTypeCodeLabel
public static String getObjectSubTypeCodeLabel()(Code)
short label for object sub type code defined in data dictionary



getObjectTypeCodeLabel
public static String getObjectTypeCodeLabel()(Code)
short label for object type code defined in data dictionary



getOrganizationCodeLabel
public static String getOrganizationCodeLabel()(Code)
short label for organization code defined in data dictionary



getProjectCodeLabel
public static String getProjectCodeLabel()(Code)
short label for project code defined in data dictionary



getSubAccountLabel
public static String getSubAccountLabel()(Code)
short label for sub account number defined in data dictionary



getSubFundGroupCodeLabel
public static String getSubFundGroupCodeLabel()(Code)
short label for sub fund group code defined in data dictionary



getSubObjectCodeLabel
public static String getSubObjectCodeLabel()(Code)
short label for sub object code defined in data dictionary



hasRequiredOverrides
public static boolean hasRequiredOverrides(AccountingLine line, String overrideCode)(Code)
Checks that the given overrideCode is sufficient for the given BO, adding errors to the global map if not.
Parameters:
  line -
Parameters:
  overrideCode - whether the given overrideCode is sufficient for the given BO.



isValidAccount
public static boolean isValidAccount(Account account, DataDictionary dataDictionary)(Code)
This method validates that the account is active for use in the system.
Parameters:
  account -
Parameters:
  dataDictionary - boolean True if it is valid.



isValidAccount
public static boolean isValidAccount(Account account, DataDictionary dataDictionary, String errorPropertyName)(Code)
This method validates that the account is active for use in the system.
Parameters:
  account -
Parameters:
  dataDictionary -
Parameters:
  errorPropertyName - boolean True if it is valid.



isValidChart
public static boolean isValidChart(Chart chart, DataDictionary dataDictionary)(Code)
This method validates that the chart is active for use in the system.
Parameters:
  chart -
Parameters:
  dataDictionary - boolean True if the Chart is valid.



isValidChart
public static boolean isValidChart(Chart chart, DataDictionary dataDictionary, String errorPropertyName)(Code)
This method validates that the chart is active for use in the system.
Parameters:
  chart -
Parameters:
  dataDictionary -
Parameters:
  errorPropertyName - boolean True if the Chart is valid.



isValidObjectCode
public static boolean isValidObjectCode(ObjectCode objectCode, DataDictionary dataDictionary)(Code)
This method validates that an object code is active.
Parameters:
  objectCode -
Parameters:
  dataDictionary - boolean True if the object code is valid.



isValidObjectCode
public static boolean isValidObjectCode(ObjectCode objectCode, DataDictionary dataDictionary, String errorPropertyName)(Code)
This method validates that an object code is active.
Parameters:
  objectCode -
Parameters:
  dataDictionary -
Parameters:
  errorPropertyName - boolean True if the object code is valid.



isValidObjectTypeCode
public static boolean isValidObjectTypeCode(ObjectType objectTypeCode, DataDictionary dataDictionary)(Code)
For the most part, object type codes aren't required on an accounting line; however, in some situations (e.g. Journal Voucher) they are entered directly into the accounting line and must be validated. In those cases, they must be validated for activeness.
Parameters:
  objectTypeCode -
Parameters:
  dataDictionary - boolean True if the object type code is valid, false otherwise.



isValidObjectTypeCode
public static boolean isValidObjectTypeCode(ObjectType objectTypeCode, DataDictionary dataDictionary, String errorPropertyName)(Code)
For the most part, object type codes aren't required on an accounting line; however, in some situations (e.g. Journal Voucher) they are entered directly into the accounting line and must be validated. In those cases, they must be validated for activeness.
Parameters:
  objectTypeCode -
Parameters:
  dataDictionary -
Parameters:
  errorPropertyName - boolean True if the object type code is valid, false otherwise.



isValidProjectCode
public static boolean isValidProjectCode(ProjectCode projectCode, DataDictionary dataDictionary)(Code)
This method validates that a project code is active.
Parameters:
  projectCode -
Parameters:
  dataDictionary - boolean True if it is valid.



isValidProjectCode
public static boolean isValidProjectCode(ProjectCode projectCode, DataDictionary dataDictionary, String errorPropertyName)(Code)
This method validates that a project code is active.
Parameters:
  projectCode -
Parameters:
  dataDictionary -
Parameters:
  errorPropertyName - boolean True if it is valid.



isValidSubAccount
public static boolean isValidSubAccount(SubAccount subAccount, DataDictionary dataDictionary)(Code)
This method validates that a sub account is active.
Parameters:
  subAccount -
Parameters:
  dataDictionary - true if it exists



isValidSubAccount
public static boolean isValidSubAccount(SubAccount subAccount, DataDictionary dataDictionary, String errorPropertyName)(Code)
This method validates that a sub account is active.
Parameters:
  subAccount -
Parameters:
  dataDictionary -
Parameters:
  errorPropertyName - true if it exists



isValidSubObjectCode
public static boolean isValidSubObjectCode(SubObjCd subObjectCode, DataDictionary dataDictionary)(Code)
This method validates that a sub object code is active.
Parameters:
  subObjectCode -
Parameters:
  dataDictionary - boolean True if it is valid.



isValidSubObjectCode
public static boolean isValidSubObjectCode(SubObjCd subObjectCode, DataDictionary dataDictionary, String errorPropertyName)(Code)
This method validates that a sub object code is active.
Parameters:
  subObjectCode -
Parameters:
  dataDictionary -
Parameters:
  errorPropertyName - boolean True if it is valid.



validateAccountingLine
public static boolean validateAccountingLine(AccountingLine accountingLine, DataDictionaryService dataDictionaryService) throws IllegalStateException(Code)
This method validates that an accounting line object contains values that actually exist in the DB. SubAccount and SubObject are only checked if there are values in them. The others throw errors if they area null.
Parameters:
  accountingLine -
Parameters:
  dataDictionaryService - success or failure of validating the AccountingLine
throws:
  IllegalStateException -



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.