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


org.kuali.core.service.PersistenceService

All known Subclasses:   org.kuali.core.service.impl.PersistenceServiceImpl,
PersistenceService
public interface PersistenceService (Code)




Method Summary
public  booleanallForeignKeyValuesPopulatedForReference(PersistableBusinessObject bo, String referenceName)
     This method examines whether all the foreign key fields for the specified reference contain values.
public  voidclearCache()
    
public  ObjectgetFieldValue(Object persistableObject, String fieldName)
    
public  StringgetFlattenedPrimaryKeyFieldValues(Object persistableObject)
    
public  MapgetPrimaryKeyFieldValues(Object persistableObject)
    
public  MapgetPrimaryKeyFieldValues(Object persistableObject, boolean sortFieldNames)
    
public  voidlinkObjects(Object persistableObject)
    
public  voidloadRepositoryDescriptor(String ojbRepositoryFilePath)
    
public  voidrefreshAllNonUpdatingReferences(PersistableBusinessObject bo)
     This method refreshes all reference objects to this main object that are 'non-updateable'.
public  ObjectresolveProxy(Object o)
    
public  voidretrieveNonKeyFields(Object persistableObject)
    
public  voidretrieveReferenceObject(Object persistableObject, String referenceObjectName)
    
public  voidretrieveReferenceObjects(Object persistableObject, List referenceObjectNames)
    
public  voidretrieveReferenceObjects(List persistableObjects, List referenceObjectNames)
    



Method Detail
allForeignKeyValuesPopulatedForReference
public boolean allForeignKeyValuesPopulatedForReference(PersistableBusinessObject bo, String referenceName)(Code)
This method examines whether all the foreign key fields for the specified reference contain values.
Parameters:
  bo -
Parameters:
  referenceName - true if they all are accessible and have values, false otherwise



clearCache
public void clearCache()(Code)



getFieldValue
public Object getFieldValue(Object persistableObject, String fieldName)(Code)
Gets the value for the given field name from the object, works for anonymous fields as well as simple fields
Parameters:
  persistableObject - object to get value from
Parameters:
  fieldName - name of the field to get from the object Object value of field in object, or null



getFlattenedPrimaryKeyFieldValues
public String getFlattenedPrimaryKeyFieldValues(Object persistableObject)(Code)

Parameters:
  persistableObject - object whose primary key field name,value pairs you want
Parameters:
  bounded - - whether to restrict the number of rows returned a String representation of the primary key fields and values for the given persistableObject
throws:
  IllegalArgumentException - if the given Object is null
throws:
  ClassNotPersistableException - if the given object is of a type not described in the OJB repository



getPrimaryKeyFieldValues
public Map getPrimaryKeyFieldValues(Object persistableObject)(Code)

Parameters:
  persistableObject - object whose primary key field name,value pairs you want a Map containing the names and values of fields specified the given class which are designated as key fields in theOJB repository file
throws:
  IllegalArgumentException - if the given Object is null
throws:
  ClassNotPersistableException - if the given object is of a type not described in the OJB repository



getPrimaryKeyFieldValues
public Map getPrimaryKeyFieldValues(Object persistableObject, boolean sortFieldNames)(Code)

Parameters:
  persistableObject - object whose primary key field name,value pairs you want
Parameters:
  sortFieldNames - if true, the returned Map will iterate through its entries sorted by fieldName a Map containing the names and values of fields specified the given class which are designated as key fields in theOJB repository file
throws:
  IllegalArgumentException - if the given Object is null
throws:
  ClassNotPersistableException - if the given object is of a type not described in the OJB repository



linkObjects
public void linkObjects(Object persistableObject)(Code)

Parameters:
  persistableObject - object whose objects need to have keys filled the object whose key fields have just been filled
throws:
  IllegalArgumentException - if the given Object is null
throws:
  ClassNotPersistableException - if the given object is of a type not described in the OJB repository



loadRepositoryDescriptor
public void loadRepositoryDescriptor(String ojbRepositoryFilePath)(Code)



refreshAllNonUpdatingReferences
public void refreshAllNonUpdatingReferences(PersistableBusinessObject bo)(Code)
This method refreshes all reference objects to this main object that are 'non-updateable'. In general, this means that if a reference object is configured to not be updated when the parent document is saved, then they are non-updated. This will not refresh updateable objects, which can cause problems when you're creating new objects. See PersistenceServiceImpl.isUpdateableReference() for the full logic.
Parameters:
  bo - - the businessObject to be refreshed



resolveProxy
public Object resolveProxy(Object o)(Code)



retrieveNonKeyFields
public void retrieveNonKeyFields(Object persistableObject)(Code)

Parameters:
  persistableObject - object whose objects need to be filled in based on primary keys the object whose key fields have just been retrieved
throws:
  IllegalArgumentException - if the given Object is null
throws:
  ClassNotPersistableException - if the given object is of a type not described in the OJB repository



retrieveReferenceObject
public void retrieveReferenceObject(Object persistableObject, String referenceObjectName)(Code)

Parameters:
  persistableObject - object whose specified reference object needs to be filled in based on primary keys
Parameters:
  referenceObjectName - the name of the reference object that will be filled in based on primary key values
throws:
  IllegalArgumentException - if the given Object is null
throws:
  ClassNotPersistableException - if the given object is of a type not described in the OJB repository



retrieveReferenceObjects
public void retrieveReferenceObjects(Object persistableObject, List referenceObjectNames)(Code)

Parameters:
  persistableObject - object whose specified reference objects need to be filled in based on primary keys
Parameters:
  referenceObjectNames - the names of the reference objects that will be filled in based on primary key values
throws:
  IllegalArgumentException - if either of the given lists is null or empty, or if any of the referenceObjectNames isblank
throws:
  ClassNotPersistableException - if the given object is of a type not described in the OJB repository



retrieveReferenceObjects
public void retrieveReferenceObjects(List persistableObjects, List referenceObjectNames)(Code)

Parameters:
  persistableObjects - objects whose specified reference objects need to be filled in based on primary keys
Parameters:
  referenceObjectNames - the names of the reference objects that will be filled in based on primary key values
throws:
  IllegalArgumentException - if either of the given lists is null or empty, or if any of the referenceObjectNames isblank
throws:
  ClassNotPersistableException - if the given object is of a type not described in the OJB repository



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