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


org.kuali.core.dao.BusinessObjectDao

All known Subclasses:   org.kuali.core.dao.ojb.BusinessObjectDaoOjb,
BusinessObjectDao
public interface BusinessObjectDao (Code)
This is the generic data access interface for business objects. This should be used for unit testing purposes only.




Method Summary
public  intcountMatching(Class clazz, Map fieldValues)
    
public  intcountMatching(Class clazz, Map positiveFieldValues, Map negativeFieldValues)
     This method returns the number of matching result given the positive criterias and negative criterias.
public  voiddelete(PersistableBusinessObject bo)
     Deletes a business object from the database.
public  voiddelete(List<PersistableBusinessObject> boList)
     Deletes each business object in the given List from the database.
public  voiddeleteMatching(Class clazz, Map fieldValues)
    
public  CollectionfindAll(Class clazz)
     Retrieves a collection of business objects populated with data, such that each record in the database populates a new object instance.
public  CollectionfindAllActive(Class clazz)
     Retrieves a collection of business objects populated with data, such that each record in the database populates a new object instance.
public  CollectionfindAllActiveOrderBy(Class clazz, String sortField, boolean sortAscending)
     Retrieves a collection of business objects populated with data, such that each record in the database populates a new object instance.
public  CollectionfindAllOrderBy(Class clazz, String sortField, boolean sortAscending)
     Retrieves a collection of business objects populated with data, such that each record in the database populates a new object instance.
public  PersistableBusinessObjectfindByPrimaryKey(Class clazz, Map primaryKeys)
     Retrieves an object instance identified bys it primary keys and values.
public  CollectionfindMatching(Class clazz, Map fieldValues)
     This method retrieves a collection of business objects populated with data, such that each record in the database populates a new object instance.
public  CollectionfindMatchingActive(Class clazz, Map fieldValues)
     This method retrieves a collection of business objects populated with data, such that each record in the database populates a new object instance.
public  CollectionfindMatchingOrderBy(Class clazz, Map fieldValues, String sortField, boolean sortAscending)
     This method retrieves a collection of business objects populated with data, such that each record in the database populates a new object instance.
public  PersistableBusinessObjectretrieve(PersistableBusinessObject object)
     Retrieves an object instance identified by the class of the given object and the object's primary key values.
public  voidsave(PersistableBusinessObject bo)
     Saves any object that implements the BusinessObject interface.
public  voidsave(List businessObjects)
     Saves a List of BusinessObjects.



Method Detail
countMatching
public int countMatching(Class clazz, Map fieldValues)(Code)

Parameters:
  clazz -
Parameters:
  fieldValues - count of BusinessObjects of the given class whose fields match the values in the given Map.



countMatching
public int countMatching(Class clazz, Map positiveFieldValues, Map negativeFieldValues)(Code)
This method returns the number of matching result given the positive criterias and negative criterias. The negative criterias are the ones that will be set to "notEqualTo" or "notIn"
Parameters:
  clazz -
Parameters:
  positiveFieldValues - Map of fields and values for positive criteria
Parameters:
  negativeFieldValues - Map of fields and values for negative criteria



delete
public void delete(PersistableBusinessObject bo)(Code)
Deletes a business object from the database.
Parameters:
  bo -



delete
public void delete(List<PersistableBusinessObject> boList)(Code)
Deletes each business object in the given List from the database.
Parameters:
  boList -



deleteMatching
public void deleteMatching(Class clazz, Map fieldValues)(Code)
Deletes the business objects matching the given fieldValues
Parameters:
  clazz -
Parameters:
  fieldValues -



findAll
public Collection findAll(Class clazz)(Code)
Retrieves a collection of business objects populated with data, such that each record in the database populates a new object instance. This will only retrieve business objects by class type.
Parameters:
  clazz -



findAllActive
public Collection findAllActive(Class clazz)(Code)
Retrieves a collection of business objects populated with data, such that each record in the database populates a new object instance. This will only retrieve business objects by class type. Adds criteria on active column to return only active records. Assumes there exist a mapping for PropertyConstants.Active
Parameters:
  clazz -



findAllActiveOrderBy
public Collection findAllActiveOrderBy(Class clazz, String sortField, boolean sortAscending)(Code)
Retrieves a collection of business objects populated with data, such that each record in the database populates a new object instance. This will only retrieve business objects by class type. Orders the results by the given field. Adds criteria on active column to return only active records. Assumes there exist a mapping for PropertyConstants.Active
Parameters:
  clazz -



findAllOrderBy
public Collection findAllOrderBy(Class clazz, String sortField, boolean sortAscending)(Code)
Retrieves a collection of business objects populated with data, such that each record in the database populates a new object instance. This will only retrieve business objects by class type. Orders the results by the given field.
Parameters:
  clazz -



findByPrimaryKey
public PersistableBusinessObject findByPrimaryKey(Class clazz, Map primaryKeys)(Code)
Retrieves an object instance identified bys it primary keys and values. This can be done by constructing a map where the key to the map entry is the primary key attribute and the value of the entry being the primary key value. For composite keys, pass in each primaryKey attribute and its value as a map entry.
Parameters:
  clazz -
Parameters:
  primaryKeys -



findMatching
public Collection findMatching(Class clazz, Map fieldValues)(Code)
This method retrieves a collection of business objects populated with data, such that each record in the database populates a new object instance. This will retrieve business objects by class type and also by criteria passed in as key-value pairs, specifically attribute name-expected value.
Parameters:
  clazz -
Parameters:
  fieldValues -



findMatchingActive
public Collection findMatchingActive(Class clazz, Map fieldValues)(Code)
This method retrieves a collection of business objects populated with data, such that each record in the database populates a new object instance. This will retrieve business objects by class type and also by criteria passed in as key-value pairs, specifically attribute name-expected value. Adds criteria on active column to return only active records. Assumes there exist a mapping for PropertyConstants.Active
Parameters:
  clazz -
Parameters:
  fieldValues -



findMatchingOrderBy
public Collection findMatchingOrderBy(Class clazz, Map fieldValues, String sortField, boolean sortAscending)(Code)
This method retrieves a collection of business objects populated with data, such that each record in the database populates a new object instance. This will retrieve business objects by class type and also by criteria passed in as key-value pairs, specifically attribute name-expected value. Orders the results by the given field.
Parameters:
  clazz -
Parameters:
  fieldValues -



retrieve
public PersistableBusinessObject retrieve(PersistableBusinessObject object)(Code)
Retrieves an object instance identified by the class of the given object and the object's primary key values.
Parameters:
  object -



save
public void save(PersistableBusinessObject bo)(Code)
Saves any object that implements the BusinessObject interface.
Parameters:
  bo -



save
public void save(List businessObjects)(Code)
Saves a List of BusinessObjects.
Parameters:
  businessObjects -



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