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


org.kuali.core.dao.ojb.PlatformAwareDaoBaseOjb
   org.kuali.module.chart.dao.ojb.FiscalYearMakersDaoOjb

FiscalYearMakersDaoOjb
public class FiscalYearMakersDaoOjb extends PlatformAwareDaoBaseOjb implements FiscalYearMakersDao(Code)
This class...

Inner Class :public class ParentKeyChecker
Inner Class :public class ParentClass

Field Summary
final public static  GregorianCalendarSTART_APRIL
    
final public static  GregorianCalendarSTART_AUGUST
    
final public static  GregorianCalendarSTART_DECEMBER
    
final public static  GregorianCalendarSTART_FEBRUARY
    
final public static  GregorianCalendarSTART_JANUARY
    
final public static  GregorianCalendarSTART_JULY
    
final public static  GregorianCalendarSTART_JUNE
    
final public static  GregorianCalendarSTART_MARCH
    
final public static  GregorianCalendarSTART_MAY
    
final public static  GregorianCalendarSTART_NOVEMBER
    
final public static  GregorianCalendarSTART_OCTOBER
    
final public static  GregorianCalendarSTART_SEPTEMBER
    
final public static  booleanreplaceMode
    


Method Summary
public  voiddeleteNewYearRows(Integer requestYear)
    
public  voiddeleteYearAfterNewYearRowsForParents(Integer RequestYear, Class childClass)
    
public  IntegerfiscalYearFromToday()
    
public  HashMap<String, ArrayList<Class>>getChildParentMap()
    
public  HashMap<String, Class>getMakerObjectsList()
    
public  booleanisAParentOf(String testClassName, Class childClass)
    
public  voidmakeUniversityDate(GregorianCalendar fiscalYearStartDate)
     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()
    
public  voidsetChildParentArrayMap(HashMap<String, Class[]> childParentArrayMap)
     Spring did not do the conversions of the XML necessary to create HashMap>.
public  voidsetDateTimeService(DateTimeService dateTimeService)
    
public  voidsetFiscalYearStartDate(GregorianCalendar fiscalYearStartDate)
    
public  voidsetLaggingCopyCycle(HashSet<String> laggingCopyCycle)
    
public  voidsetMakerObjectsList(HashMap<String, Class> makerObjectsList)
    
public  voidsetPersistenceStructureService(PersistenceStructureService persistenceStructureService)
    
public  LinkedHashMap<String, FiscalYearMakersCopyAction>setUpRun(Integer BaseYear, boolean replaceMode)
    
public  voidtestRIRelationships()
    
public  voidtestUpdateTwoDigitYear()
    

Field Detail
START_APRIL
final public static GregorianCalendar START_APRIL(Code)



START_AUGUST
final public static GregorianCalendar START_AUGUST(Code)



START_DECEMBER
final public static GregorianCalendar START_DECEMBER(Code)



START_FEBRUARY
final public static GregorianCalendar START_FEBRUARY(Code)



START_JANUARY
final public static GregorianCalendar START_JANUARY(Code)



START_JULY
final public static GregorianCalendar START_JULY(Code)



START_JUNE
final public static GregorianCalendar START_JUNE(Code)



START_MARCH
final public static GregorianCalendar START_MARCH(Code)



START_MAY
final public static GregorianCalendar START_MAY(Code)



START_NOVEMBER
final public static GregorianCalendar START_NOVEMBER(Code)



START_OCTOBER
final public static GregorianCalendar START_OCTOBER(Code)



START_SEPTEMBER
final public static GregorianCalendar START_SEPTEMBER(Code)



replaceMode
final public static boolean replaceMode(Code)





Method Detail
deleteNewYearRows
public void deleteNewYearRows(Integer requestYear)(Code)
delete all the rows (if any) for the request year for all the classes in the ordered delete list the delete order is set so that referential integrity will not cause an exception: children first, then parents
See Also:   org.kuali.module.chart.dao.FiscalYearMakersDao.deleteNewYearRows(java.lang.Integer)



deleteYearAfterNewYearRowsForParents
public void deleteYearAfterNewYearRowsForParents(Integer RequestYear, Class childClass)(Code)
this routine gets rid of existing rows for the request year + 1 for the parents of the child passed as a parameter it is uses when, for some classes, we want to create two years' worth of rows on each run
See Also:   org.kuali.module.chart.dao.FiscalYearMakersDao.deleteYearAfterNewYearRowsForParents(java.lang.Integerjava.lang.Class)



fiscalYearFromToday
public Integer fiscalYearFromToday()(Code)
we look up the fiscal year for today's date, and return it we return 0 if nothing is found
See Also:   org.kuali.module.chart.dao.FiscalYearMakersDao.fiscalYearFromToday



getChildParentMap
public HashMap<String, ArrayList<Class>> getChildParentMap()(Code)
this list of child/parent relationships for the fiscal year makers objects
See Also:   org.kuali.module.chart.dao.FiscalYearMakersDao.getChildParentMap



getMakerObjectsList
public HashMap<String, Class> getMakerObjectsList()(Code)
the list of all the fiscal year makers objects
See Also:   org.kuali.module.chart.dao.FiscalYearMakersDao.getMakerObjectsList



isAParentOf
public boolean isAParentOf(String testClassName, Class childClass)(Code)
This method checks to see if a given child class is a parent of another class (denoted by a String)
See Also:   org.kuali.module.chart.dao.FiscalYearMakersDao.isAParentOf(java.lang.Stringjava.lang.Class)



makeUniversityDate
public void makeUniversityDate(GregorianCalendar fiscalYearStartDate)(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:
  fiscalYearStartDate -



resetCascades
public void resetCascades()(Code)
turnOffCascades should always be called, but if it hasn't been, there is no need to call this
See Also:   org.kuali.module.chart.dao.FiscalYearMakersDao.resetCascades



setChildParentArrayMap
public void setChildParentArrayMap(HashMap<String, Class[]> childParentArrayMap)(Code)
Spring did not do the conversions of the XML necessary to create HashMap>. (We got an ArrayList of strings.) Since everything was written for an ArrayList, we will convert the Class[] version (which Spring can handle) to an ArrayList here. (There is a way to get a "list" view of an array, and this view is an ArrayList. But we will create a new one, which will be extensible, unlike the view.)
See Also:   org.kuali.module.chart.dao.FiscalYearMakersDao.setChildParentArrayMap(java.util.HashMap)



setDateTimeService
public void setDateTimeService(DateTimeService dateTimeService)(Code)



setFiscalYearStartDate
public void setFiscalYearStartDate(GregorianCalendar fiscalYearStartDate)(Code)



setLaggingCopyCycle
public void setLaggingCopyCycle(HashSet<String> laggingCopyCycle)(Code)

See Also:   org.kuali.module.chart.dao.FiscalYearMakersDao.setLaggingCopyCycle(java.util.HashSet)



setMakerObjectsList
public void setMakerObjectsList(HashMap<String, Class> makerObjectsList)(Code)

See Also:   org.kuali.module.chart.dao.FiscalYearMakersDao.setMakerObjectsList(java.util.HashMap)



setPersistenceStructureService
public void setPersistenceStructureService(PersistenceStructureService persistenceStructureService)(Code)



setUpRun
public LinkedHashMap<String, FiscalYearMakersCopyAction> setUpRun(Integer BaseYear, boolean replaceMode)(Code)
this is the routine where you designate which objects should participate and whether they should use customized field setters or customized query filters the objects participating MUST match the object list configured in the XML
See Also:   org.kuali.module.chart.dao.FiscalYearMakersDao.setUpRun(java.lang.Integerboolean)



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



testUpdateTwoDigitYear
public void testUpdateTwoDigitYear()(Code)



Methods inherited from org.kuali.core.dao.ojb.PlatformAwareDaoBaseOjb
public KualiDBPlatform getDbPlatform()(Code)(Java Doc)
public void setDbPlatform(KualiDBPlatform dbPlatform)(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.