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


org.kuali.module.chart.rules.GlobalDocumentRuleBase
   org.kuali.module.chart.rules.OrganizationReversionGlobalRule

OrganizationReversionGlobalRule
public class OrganizationReversionGlobalRule extends GlobalDocumentRuleBase (Code)
This class implements the business rules for OrganizationReversionGlobal



Constructor Summary
public  OrganizationReversionGlobalRule()
    

Method Summary
public  booleanareAllDetailsValid(OrganizationReversionGlobal globalOrgRev)
     Tests if all of the OrganizationReversionGlobalDetail objects associated with the given global organization reversion are valid.
public  booleanareAllOrganizationsValid(OrganizationReversionGlobal globalOrgRev)
     This method tests if all the OrganizationReversionGlobalOrganization objects associated with the given global organization reversion pass all of their tests.
public static  booleanareContainingSameOrganizations(OrganizationReversionGlobalOrganization orgRevOrgA, OrganizationReversionGlobalOrganization orgRevOrgB)
     This method tests if two OrganizationReversionGlobalOrganization objects are holding the same underlying Organization.
public  booleancheckAllObjectCodesForValidity(OrganizationReversionGlobal globalOrgRev, OrganizationReversionGlobalOrganization org)
     This method loops through each of the OrganizationReversionGlobalDetail objects, checking that the entered object codes for each of them are compatible with the OrganizationReversionGlobalOrganization specified.
public  booleancheckBudgetReversionAccountPair(OrganizationReversionGlobal globalOrgRev)
     This method makes sure that if one part of the Budget Reversion Chart/Account pair is specified, both are specified, or an error is thrown.
public  booleancheckCashReversionAccountPair(OrganizationReversionGlobal globalOrgRev)
     This method makes sure that if one part of the Cash Reversion Chart/Account pair is specified, both are specified, or an error is thrown.
protected  booleancheckDetailObjectCodeAndReversionCodeBothPresentOrNot(OrganizationReversionGlobalDetail detail)
     For a detail record, checks whether the object code and the organization reversion code are both filled in/selected or both blank.
public  booleancheckDetailObjectCodeValidity(OrganizationReversionGlobal globalOrgRev, OrganizationReversionGlobalDetail detail)
    
public  booleancheckDetailObjectReversionCodeValidity(OrganizationReversionGlobalDetail detail)
     Tests if the object reversion code is a valid code.
public  booleancheckDetailOrgReversionCategoryValidity(OrganizationReversionGlobalDetail detail)
     Tests if the Organization Reversion Category existed in the database and was active.
public  booleancheckOrganizationChartValidity(OrganizationReversionGlobalOrganization org)
     Tests if the the organization of the given OrganizationReversionGlobalOrganization is within the chart of the global organization reversion as a whole.
public  booleancheckOrganizationIsNotAmongOrgRevOrganizations(OrganizationReversionGlobal globalOrgRev, OrganizationReversionGlobalOrganization orgRevOrg)
     This method checks if a newly added organization is already among the organizations already listed.
public  booleancheckOrganizationReversionForOrganizationExists(OrganizationReversionGlobal globalOrgRev, OrganizationReversionGlobalOrganization org)
     Checks that an organization reversion for the given organization reversion change and organization reversion change organization exist.
public  booleancheckOrganizationValidity(OrganizationReversionGlobalOrganization org)
     Tests if the given OrganizationReversionGlobalOrganization's Organization is active and within the system.
public  booleancheckSimpleRules(OrganizationReversionGlobal globalOrgRev)
     Convenient convenience method to test all the simple rules in one go.
public  booleanprocessCustomAddCollectionLineBusinessRules(MaintenanceDocument document, String collectionName, PersistableBusinessObject line)
    
protected  booleanprocessCustomApproveDocumentBusinessRules(MaintenanceDocument document)
    
protected  booleanprocessCustomRouteDocumentBusinessRules(MaintenanceDocument document)
    
protected  booleanprocessCustomSaveDocumentBusinessRules(MaintenanceDocument document)
    
public  voidsetObjectCodeService(ObjectCodeService objectCodeService)
    
public  voidsetOrganizationReversionService(OrganizationReversionService organizationReversionService)
    
public  voidsetupConvenienceObjects()
     This method sets the convenience objects like newAccount and oldAccount, so you have short and easy handles to the new and old objects contained in the maintenance document.
public  booleanvalidObjectCode(Integer universityFiscalYear, String chartOfAccountsCode, String objectCode)
     This method checks if an object code with the given primary key fields exists in the database.


Constructor Detail
OrganizationReversionGlobalRule
public OrganizationReversionGlobalRule()(Code)
Constructs a OrganizationReversionGlobalRule Pseudo-injects services




Method Detail
areAllDetailsValid
public boolean areAllDetailsValid(OrganizationReversionGlobal globalOrgRev)(Code)
Tests if all of the OrganizationReversionGlobalDetail objects associated with the given global organization reversion are valid.
Parameters:
  globalOrgRev - the global organization reversion to check true if valid, false otherwise



areAllOrganizationsValid
public boolean areAllOrganizationsValid(OrganizationReversionGlobal globalOrgRev)(Code)
This method tests if all the OrganizationReversionGlobalOrganization objects associated with the given global organization reversion pass all of their tests.
Parameters:
  globalOrgRev - the global organization reversion to check true if valid, false otherwise



areContainingSameOrganizations
public static boolean areContainingSameOrganizations(OrganizationReversionGlobalOrganization orgRevOrgA, OrganizationReversionGlobalOrganization orgRevOrgB)(Code)
This method tests if two OrganizationReversionGlobalOrganization objects are holding the same underlying Organization.
Parameters:
  orgRevOrgA - the first OrganizationReversionGlobalOrganization to check
Parameters:
  orgRevOrgB - the second OrganizationReversionGlobalOrganization to check true if they share the organization, false if otherwise



checkAllObjectCodesForValidity
public boolean checkAllObjectCodesForValidity(OrganizationReversionGlobal globalOrgRev, OrganizationReversionGlobalOrganization org)(Code)
This method loops through each of the OrganizationReversionGlobalDetail objects, checking that the entered object codes for each of them are compatible with the OrganizationReversionGlobalOrganization specified.
Parameters:
  globalOrgRev - the global organization reversion to check
Parameters:
  org - the OrganizationReversionGlobalOrganization with a new chart to check against all of the object codes true if there are no conflicts, false if otherwise



checkBudgetReversionAccountPair
public boolean checkBudgetReversionAccountPair(OrganizationReversionGlobal globalOrgRev)(Code)
This method makes sure that if one part of the Budget Reversion Chart/Account pair is specified, both are specified, or an error is thrown.
Parameters:
  globalOrgRev - the Global Organization Reversion to check true if budget reversion chart/account pair is specified correctly, false if otherwise



checkCashReversionAccountPair
public boolean checkCashReversionAccountPair(OrganizationReversionGlobal globalOrgRev)(Code)
This method makes sure that if one part of the Cash Reversion Chart/Account pair is specified, both are specified, or an error is thrown.
Parameters:
  globalOrgRev - the Global Organization Reversion to check true if cash reversion chart/account pair is specified correctly, false if otherwise



checkDetailObjectCodeAndReversionCodeBothPresentOrNot
protected boolean checkDetailObjectCodeAndReversionCodeBothPresentOrNot(OrganizationReversionGlobalDetail detail)(Code)
For a detail record, checks whether the object code and the organization reversion code are both filled in/selected or both blank.
Parameters:
  detail - OrganizationReversionGlobalDetail to check @return true if both filled in or both blank, false if otherwise



checkDetailObjectCodeValidity
public boolean checkDetailObjectCodeValidity(OrganizationReversionGlobal globalOrgRev, OrganizationReversionGlobalDetail detail)(Code)
For each organization, tests if the object code in the detail exists in the system and is active
Parameters:
  detail - the OrganizationReversionGlobalDetail to check true if it is valid, false if otherwise



checkDetailObjectReversionCodeValidity
public boolean checkDetailObjectReversionCodeValidity(OrganizationReversionGlobalDetail detail)(Code)
Tests if the object reversion code is a valid code.
Parameters:
  detail - the OrganizationReversionGlobalDetail to check true if it the detail is valid, false if otherwise



checkDetailOrgReversionCategoryValidity
public boolean checkDetailOrgReversionCategoryValidity(OrganizationReversionGlobalDetail detail)(Code)
Tests if the Organization Reversion Category existed in the database and was active.
Parameters:
  detail - OrganizationReversionGlobalDetail to check true if the category is valid, false if otherwise



checkOrganizationChartValidity
public boolean checkOrganizationChartValidity(OrganizationReversionGlobalOrganization org)(Code)
Tests if the the organization of the given OrganizationReversionGlobalOrganization is within the chart of the global organization reversion as a whole.
Parameters:
  globalOrgRev - the global organization reversion that is currently being validated.
Parameters:
  org - the OrganizationReversionGlobalOrganization to check true if valid, false otherwise



checkOrganizationIsNotAmongOrgRevOrganizations
public boolean checkOrganizationIsNotAmongOrgRevOrganizations(OrganizationReversionGlobal globalOrgRev, OrganizationReversionGlobalOrganization orgRevOrg)(Code)
This method checks if a newly added organization is already among the organizations already listed. WARNING: only use on add line rules; there's no good way to use this method when testing the entire document.
Parameters:
  globalOrgRev - the global Organization Reversion to check
Parameters:
  orgRevOrg - the newly adding organization reversion change organization true if organization should be added as it is not currently in the collection, false if otherwise



checkOrganizationReversionForOrganizationExists
public boolean checkOrganizationReversionForOrganizationExists(OrganizationReversionGlobal globalOrgRev, OrganizationReversionGlobalOrganization org)(Code)
Checks that an organization reversion for the given organization reversion change and organization reversion change organization exist.
Parameters:
  globalOrgRev - global Organization Reversion to check
Parameters:
  org - organization within that Global Organization Reversion to check specifically true if organization reversion for organization exists, false if otherwise



checkOrganizationValidity
public boolean checkOrganizationValidity(OrganizationReversionGlobalOrganization org)(Code)
Tests if the given OrganizationReversionGlobalOrganization's Organization is active and within the system.
Parameters:
  org - the OrganizationReversionGlobalOrganization to check true if valid, false otherwise



checkSimpleRules
public boolean checkSimpleRules(OrganizationReversionGlobal globalOrgRev)(Code)
Convenient convenience method to test all the simple rules in one go. Including:
Parameters:
  globalOrgRev - the global organization reversion to check true if the new global organization reversion passes all tests, false if it deviates even a tiny little bit



processCustomAddCollectionLineBusinessRules
public boolean processCustomAddCollectionLineBusinessRules(MaintenanceDocument document, String collectionName, PersistableBusinessObject line)(Code)
This performs rules checks whenever a new OrganizationReversionGlobalDetail or OrganizationReversionGlobalOrganization is added

This includes:


See Also:   org.kuali.core.maintenance.rules.MaintenanceDocumentRuleBase.processCustomAddCollectionLineBusinessRules(org.kuali.core.document.MaintenanceDocumentjava.lang.Stringorg.kuali.core.bo.PersistableBusinessObject)



processCustomApproveDocumentBusinessRules
protected boolean processCustomApproveDocumentBusinessRules(MaintenanceDocument document)(Code)
Calls the basic rules check on document approval: Fails on rules failure
See Also:   org.kuali.core.maintenance.rules.MaintenanceDocumentRuleBase.processCustomApproveDocumentBusinessRules(org.kuali.core.document.MaintenanceDocument)



processCustomRouteDocumentBusinessRules
protected boolean processCustomRouteDocumentBusinessRules(MaintenanceDocument document)(Code)
Calls the basic rules check on document routing: Fails on rules failure
See Also:   org.kuali.core.maintenance.rules.MaintenanceDocumentRuleBase.processCustomRouteDocumentBusinessRules(org.kuali.core.document.MaintenanceDocument)



processCustomSaveDocumentBusinessRules
protected boolean processCustomSaveDocumentBusinessRules(MaintenanceDocument document)(Code)
Calls the basic rules check on document save: Does not fail on rules failure
See Also:   org.kuali.core.maintenance.rules.MaintenanceDocumentRuleBase.processCustomSaveDocumentBusinessRules(org.kuali.core.document.MaintenanceDocument)



setObjectCodeService
public void setObjectCodeService(ObjectCodeService objectCodeService)(Code)



setOrganizationReversionService
public void setOrganizationReversionService(OrganizationReversionService organizationReversionService)(Code)



setupConvenienceObjects
public void setupConvenienceObjects()(Code)
This method sets the convenience objects like newAccount and oldAccount, so you have short and easy handles to the new and old objects contained in the maintenance document. It also calls the BusinessObjectBase.refresh(), which will attempt to load all sub-objects from the DB by their primary keys, if available.
Parameters:
  document - - the maintenanceDocument being evaluated
See Also:   org.kuali.core.maintenance.rules.MaintenanceDocumentRuleBase.setupConvenienceObjects



validObjectCode
public boolean validObjectCode(Integer universityFiscalYear, String chartOfAccountsCode, String objectCode)(Code)
This method checks if an object code with the given primary key fields exists in the database.
Parameters:
  universityFiscalYear - the university fiscal year of the object code
Parameters:
  chartOfAccountsCode - the chart of accounts code of the object code
Parameters:
  objectCode - the object code itself true if it exists (or was not filled in to begin with), false if otherwise



Methods inherited from org.kuali.module.chart.rules.GlobalDocumentRuleBase
protected CheckOnlyOneChartResult checkOnlyOneChart(List<AccountGlobalDetail> accountGlobalDetails)(Code)(Java Doc)
protected boolean checkOnlyOneChartAddLine(AccountGlobalDetail newAccountLine, List<AccountGlobalDetail> accountGlobalDetails)(Code)(Java Doc)
protected boolean checkOnlyOneChartAddLineErrorWrapper(AccountGlobalDetail newAccountLine, List<AccountGlobalDetail> accountGlobalDetails)(Code)(Java Doc)
protected boolean checkOnlyOneChartErrorWrapper(List<AccountGlobalDetail> accountGlobalDetails)(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.