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


org.kuali.module.chart.dao.FiscalYearMakersDao

All known Subclasses:   org.kuali.module.chart.dao.ojb.FiscalYearMakersDaoOjb,
FiscalYearMakersDao
public interface FiscalYearMakersDao (Code)


Field Summary
final public static  booleanreplaceMode
    


Method Summary
public  voiddeleteNewYearRows(Integer requestYear)
     when the reference objects for a base fiscal period are copied into the next fiscal period, there is an option to delete all of the next period objects that already exit and replace them with their base period counterparts this method reads a list of the delete order which satisfies RI (i.e., the dependent object must be deleted before the parent object) and does the job in the proper order.
public  voiddeleteYearAfterNewYearRowsForParents(Integer requestYear, Class childClass)
    
public  IntegerfiscalYearFromToday()
     This method...
public  HashMap<String, ArrayList<Class>>getChildParentMap()
    
public  HashMap<String, Class>getMakerObjectsList()
    
public  booleanisAParentOf(String testClassName, Class childClass)
    
public  voidmakeUniversityDate(GregorianCalendar newYearStartDate)
     this is the only routine that simply replaces what is there, if anything but, we have to do a delete--otherwise, we can get an optimistic locking exception when we try to store a new row on top of something already in the database.
public  voidresetCascades()
     auto-update or auto-delete in OJB will interfere with the copy order prescribed above.
public  voidsetChildParentArrayMap(HashMap<String, Class[]> childParentArrayMap)
     This method...
public  voidsetLaggingCopyCycle(HashSet<String> laggingCopyCycle)
     the "lagging copy cycle" objects are those which are always one fiscal period behind.
public  voidsetMakerObjectsList(HashMap<String, Class> makerObjectList)
     This method...
public  LinkedHashMap<String, FiscalYearMakersCopyAction>setUpRun(Integer baseYear, boolean replaceMode)
    
public  voidtestRIRelationships()
    
public  voidtestUpdateTwoDigitYear()
    

Field Detail
replaceMode
final public static boolean replaceMode(Code)





Method Detail
deleteNewYearRows
public void deleteNewYearRows(Integer requestYear)(Code)
when the reference objects for a base fiscal period are copied into the next fiscal period, there is an option to delete all of the next period objects that already exit and replace them with their base period counterparts this method reads a list of the delete order which satisfies RI (i.e., the dependent object must be deleted before the parent object) and does the job in the proper order. This method...
Parameters:
  RequestYear -



deleteYearAfterNewYearRowsForParents
public void deleteYearAfterNewYearRowsForParents(Integer requestYear, Class childClass)(Code)
when we want to copy two years at a time for some tables, we use this method with "slash and burn" mode to delete any rows for the year after RequestYear that already exist for the parents
Parameters:
  RequestYear -
Parameters:
  childClass -



fiscalYearFromToday
public Integer fiscalYearFromToday()(Code)
This method...



getChildParentMap
public HashMap<String, ArrayList<Class>> getChildParentMap()(Code)
fetch and set a map of child classes involved in fiscal year makers and a list of their RI parents



getMakerObjectsList
public HashMap<String, Class> getMakerObjectsList()(Code)
fetch and set a map of child classes involved in fiscal year makers (ALL such classes should be included, even those which have no parent(s) in the RI tree.) HashMap containing the



isAParentOf
public boolean isAParentOf(String testClassName, Class childClass)(Code)
This method checks to see whether the test class is in the parent list for the child class
Parameters:
  testClassName -
Parameters:
  childClass - true if testClassName is a parent class of childClass



makeUniversityDate
public void makeUniversityDate(GregorianCalendar newYearStartDate)(Code)
this is the only routine that simply replaces what is there, if anything but, we have to do a delete--otherwise, we can get an optimistic locking exception when we try to store a new row on top of something already in the database. we will delete by fiscal year. the accounting period is assumed to correspond to the month, with the month of the start date being the first period and the month of the last day of the fiscal year being the twelfth. the fiscal year tag is always the year of the ending date of the fiscal year
Parameters:
  newYearStartDate -



resetCascades
public void resetCascades()(Code)
auto-update or auto-delete in OJB will interfere with the copy order prescribed above. (Tables A and C may be a parents of Table B, but A may have no relation to C. If A has an auto-xxx on B, then B will be written when A is, even if C is later in the copy order than A, and an RI exception will result.) So, the code resets any auto-xxx properties on tables involved in a fiscal-year-makers parent-child relationship. this routine resets the original values at the end of fiscal year makers



setChildParentArrayMap
public void setChildParentArrayMap(HashMap<String, Class[]> childParentArrayMap)(Code)
This method...
Parameters:
  childParentArrayMap -



setLaggingCopyCycle
public void setLaggingCopyCycle(HashSet<String> laggingCopyCycle)(Code)
the "lagging copy cycle" objects are those which are always one fiscal period behind. in other words, the base period for the other objects (the source period for the copy) is the request period for them (the target period for their copy). This method...
Parameters:
  laggingCopyCycle -



setMakerObjectsList
public void setMakerObjectsList(HashMap<String, Class> makerObjectList)(Code)
This method...
Parameters:
  makerObjectList -



setUpRun
public LinkedHashMap<String, FiscalYearMakersCopyAction> setUpRun(Integer baseYear, boolean replaceMode)(Code)
this returns the data structure containing a copy order that is consistent with the RI relationships configured in the XML
Parameters:
  baseYear -
Parameters:
  replaceMode -



testRIRelationships
public void testRIRelationships() throws NoSuchMethodException, IllegalAccessException, InvocationTargetException(Code)



testUpdateTwoDigitYear
public void testUpdateTwoDigitYear()(Code)



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