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


org.kuali.core.dao.ojb.PlatformAwareDaoBaseOjb
   org.kuali.module.gl.dao.ojb.OriginEntryDaoOjb

All known Subclasses:   org.kuali.module.labor.dao.ojb.LaborOriginEntryDaoOjb,
OriginEntryDaoOjb
public class OriginEntryDaoOjb extends PlatformAwareDaoBaseOjb implements OriginEntryDao(Code)
An OJB implementation of the OriginEntryDao



Constructor Summary
public  OriginEntryDaoOjb()
    

Method Summary
public  voiddeleteEntry(OriginEntry oe)
    
public  voiddeleteGroups(Collection<OriginEntryGroup> groups)
     Delete all the groups in the list.
public  voiddeleteMatchingEntries(Map searchCriteria)
     Delete entries matching searchCriteria search criteria.
public  Iterator<OriginEntryFull>getBadBalanceEntries(Collection groups)
    
public  IteratorgetDocumentsByGroup(OriginEntryGroup oeg)
    
public  Iterator<T>getEntriesByGroup(OriginEntryGroup oeg, int sort)
     This method is special because of the order by.
public  ClassgetEntryClass()
     Gets the entryClass attribute.
public  OriginEntryFullgetExactMatchingEntry(Integer entryId)
    
public  IntegergetGroupCount(Integer groupId)
    
public  IteratorgetGroupCounts()
    
public  KualiDecimalgetGroupTotal(Integer groupId, boolean isCredit)
    
public  Iterator<OriginEntryFull>getMatchingEntries(Map searchCriteria)
    
public  Collection<OriginEntryFull>getMatchingEntriesByCollection(Map searchCriteria)
    
public  IteratorgetPosterOutputSummaryByGroupId(Collection groups)
    
public  IteratorgetSummaryByGroupId(Collection groupIdList)
    
public  voidsaveOriginEntry(OriginEntry entry)
    
public  voidsetEntryClass(Class entryClass)
     Sets the class of the origin entries this class deals with.
public  Collection<OriginEntryFull>testingGetAllEntries()
     This method should only be used in unit tests.


Constructor Detail
OriginEntryDaoOjb
public OriginEntryDaoOjb()(Code)
Constructs a OriginEntryDaoOjb instance




Method Detail
deleteEntry
public void deleteEntry(OriginEntry oe)(Code)
Delete an entry from the database
Parameters:
  oe - the entry to delete
See Also:   org.kuali.module.gl.dao.OriginEntryDao.deleteEntry(org.kuali.module.gl.bo.OriginEntry)



deleteGroups
public void deleteGroups(Collection<OriginEntryGroup> groups)(Code)
Delete all the groups in the list. This will delete the entries. The OriginEntryGroupDao has a method to delete the groups, and one has to use both to really delete the whole group
Parameters:
  groups - a Collection of Origin Entry Groups to delete entries in
See Also:   org.kuali.module.gl.dao.OriginEntryDao.deleteGroups(java.util.Collection)



deleteMatchingEntries
public void deleteMatchingEntries(Map searchCriteria)(Code)
Delete entries matching searchCriteria search criteria.
Parameters:
  searchCriteria - a map of criteria to use as keys for building a query



getBadBalanceEntries
public Iterator<OriginEntryFull> getBadBalanceEntries(Collection groups)(Code)
Get bad balance entries
Parameters:
  groups - a Collection of groups to remove bad entries in an Iterator of no good, won't use, bad balance entries
See Also:   org.kuali.module.gl.dao.OriginEntryDao.getBadBalanceEntries(java.util.Collection)



getDocumentsByGroup
public Iterator getDocumentsByGroup(OriginEntryGroup oeg)(Code)
Return an iterator of keys of all documents referenced by origin entries in a given group
Parameters:
  oeg - Group the origin entry group to find entries in, by origin entry Iterator of java.lang.Object[] with report data about all of the distinct document numbers/type code/origination code combinations of origin entries in the group
See Also:   org.kuali.module.gl.dao.OriginEntryDao.getDocumentsByGroup(org.kuali.module.gl.bo.OriginEntryGroup)



getEntriesByGroup
public Iterator<T> getEntriesByGroup(OriginEntryGroup oeg, int sort)(Code)
This method is special because of the order by. It is used in the scrubber. The getMatchingEntries wouldn't work because of the required order by.
Parameters:
  OriginEntryGroup - the originEntryGroup that holds the origin entries to find
Parameters:
  sort - the sort order to sort entries by, defined in OriginEntryDao an Iterator of whichever flavor of OriginEntries this instance uses



getEntryClass
public Class getEntryClass()(Code)
Gets the entryClass attribute. Returns the entryClass.



getExactMatchingEntry
public OriginEntryFull getExactMatchingEntry(Integer entryId)(Code)
Fetches an entry for the given entryId, or returns a newly created on
Parameters:
  entryId - an entry id to find an entry for the entry for the given entry id, or a newly created entry
See Also:   org.kuali.module.gl.dao.OriginEntryDao.getExactMatchingEntry(java.lang.Integer)



getGroupCount
public Integer getGroupCount(Integer groupId)(Code)
Counts the number of entries in a group
Parameters:
  the - id of an origin entry group the count of the entries in that group
See Also:   org.kuali.module.gl.dao.OriginEntryDao.getGroupCount(java.lang.Integer)



getGroupCounts
public Iterator getGroupCounts()(Code)
Counts of rows of all the origin entry groups iterator of Object[] {[BigDecimal id,BigDecimal count]}
See Also:   org.kuali.module.gl.dao.OriginEntryDao.getGroupCounts



getGroupTotal
public KualiDecimal getGroupTotal(Integer groupId, boolean isCredit)(Code)
Get the total amount of transactions in a group
Parameters:
  the - id of the origin entry group to total
Parameters:
  isCredit - whether the total should be of credits or not the sum of all queried origin entries
See Also:   org.kuali.module.gl.dao.OriginEntryDao.getGroupTotal(java.lang.Integerboolean)



getMatchingEntries
public Iterator<OriginEntryFull> getMatchingEntries(Map searchCriteria)(Code)
Iterator of entries that match criteria
Parameters:
  searchCriteria - Map of field, value pairs collection of entries
See Also:   org.kuali.module.gl.dao.OriginEntryDao.getMatchingEntries(java.util.Map)



getMatchingEntriesByCollection
public Collection<OriginEntryFull> getMatchingEntriesByCollection(Map searchCriteria)(Code)
Collection of entries that match criteria
Parameters:
  searchCriteria - Map of field, value pairs collection of entries
See Also:   org.kuali.module.gl.dao.OriginEntryDao.getMatchingEntriesByCollection(java.util.Map)



getPosterOutputSummaryByGroupId
public Iterator getPosterOutputSummaryByGroupId(Collection groups)(Code)
get the summarized information of poster input entries that belong to the entry groups with the given group id list
Parameters:
  groups - the origin entry groups a set of summarized information of poster input entries within the specified groups
See Also:   org.kuali.module.gl.dao.OriginEntryDao.getPosterOutputSummaryByGroupId(java.util.Collection)



getSummaryByGroupId
public Iterator getSummaryByGroupId(Collection groupIdList)(Code)
get the summarized information of the entries that belong to the entry groups with the given group ids
Parameters:
  groupIdList - the ids of origin entry groups a set of summarized information of the entries within the specified groups
See Also:   org.kuali.module.gl.dao.OriginEntryDao.getSummaryByGroupId(java.util.List)



saveOriginEntry
public void saveOriginEntry(OriginEntry entry)(Code)
Saves an origin entry to the database
Parameters:
  entry - the entry to save.



setEntryClass
public void setEntryClass(Class entryClass)(Code)
Sets the class of the origin entries this class deals with. This makes this particular class very flexible; instances of it can deal with OriginEntryLites as well as they deal with OriginEntryFulls.
Parameters:
  entryClass - the class of OriginEntries this instance will use for OJB operations



testingGetAllEntries
public Collection<OriginEntryFull> testingGetAllEntries()(Code)
This method should only be used in unit tests. It loads all the gl_origin_entry_t rows in memory into a collection. This won't work for production because there would be too many rows to load into memory. a collection of OriginEntryFulls



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.