Java Doc for MultiDBObjectTransaction.java in  » J2EE » Expresso » com » jcorporate » expresso » core » dbobj » 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 » J2EE » Expresso » com.jcorporate.expresso.core.dbobj 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.jcorporate.expresso.core.dbobj.MultiDBObject
      com.jcorporate.expresso.core.dbobj.MultiDBObjectTransaction

MultiDBObjectTransaction
public class MultiDBObjectTransaction extends MultiDBObject (Code)
A MultiDBObjectTransaction is a group of dbobjects that are "related" - e.g. defined as being part of a foreign-key/primary-key relationship. This may be master/detail or a more complex relationship, but it can be expressed as a "join" operation between the tables.

After establishing the relationships between the objects the MultiDBObject can have search criteria set for it & searchAndRetrieve operations done just like a 'regular' DBObject, but these operations affect the entire related group of objects. At the moment, MultiDBObjects are read-only, though that may change in the future.

Creation date: (10-12-2003 11:32:03 AM) author Yves Henri AMAIZO




Constructor Summary
public  MultiDBObjectTransaction()
     MultiDBObjectTransaction constructor comment.

Method Summary
public  DBConnectiongetConnection()
    
public synchronized  StringgetDBName()
     Return the name of the context/database connection that this DB object is using.
public  voidsetConnection(DBConnection connection)
    
public synchronized  voidsetDBName(String newOther)
     Set the database name/context for this multi db object.


Constructor Detail
MultiDBObjectTransaction
public MultiDBObjectTransaction() throws DBException(Code)
MultiDBObjectTransaction constructor comment.




Method Detail
getConnection
public DBConnection getConnection()(Code)



getDBName
public synchronized String getDBName()(Code)
Return the name of the context/database connection that this DB object is using. If none is set, then we are using the "default" database/context. the name of the datacontext



setConnection
public void setConnection(DBConnection connection)(Code)

Parameters:
  connection -



setDBName
public synchronized void setDBName(String newOther) throws DBException(Code)
Set the database name/context for this multi db object. If setDBName is not called, the "default" db name and context is used. See com.jcorporate.expresso.core.misc.ConfigManager for information about multiple contexts. Note that setting a db/context name only affects the object when it allocates it's own db connections - if a specific connection is used (via the setConnection(DBConnection) method) then that connection must be already associated with the correct db/context.
Parameters:
  newOther - The name of the context or database to use



Fields inherited from com.jcorporate.expresso.core.dbobj.MultiDBObject
final protected static int INNER_JOIN(Code)(Java Doc)
final protected static int LEFT_JOIN(Code)(Java Doc)
final protected static int RIGHT_JOIN(Code)(Java Doc)
final protected static String SHORT_NAME(Code)(Java Doc)
protected DBConnection localConnection(Code)(Java Doc)
protected int maxRecords(Code)(Java Doc)
protected transient int offsetRecord(Code)(Java Doc)

Methods inherited from com.jcorporate.expresso.core.dbobj.MultiDBObject
public void addDBObj(String dbobjClassName, String shortName) throws DBException(Code)(Java Doc)
public void addDBObj(DBObject oneDBObj, String shortName) throws DBException(Code)(Java Doc)
public DBObject assembleObject(String shortName) throws DBException(Code)(Java Doc)
public boolean buildFromClause() throws DBException(Code)(Java Doc)
public String buildWhereClause(boolean useAllFields) throws DBException(Code)(Java Doc)
protected String buildWhereClauseBuffer(boolean useAllFields, FastStringBuffer myStatement) throws DBException(Code)(Java Doc)
protected String buildWhereClauseBuffer(boolean useAllFields, FastStringBuffer myStatement, String dboAlias) throws DBException(Code)(Java Doc)
public void clear() throws com.jcorporate.expresso.core.db.DBException(Code)(Java Doc)
public synchronized int count(String expr) throws DBException(Code)(Java Doc)
public synchronized int count() throws DBException(Code)(Java Doc)
public boolean getAppendCustomWhereClause()(Code)(Java Doc)
public Object getAttribute(String attribName)(Code)(Java Doc)
public DBConnection getConnection()(Code)(Java Doc)
public String getCustomFromClause()(Code)(Java Doc)
public String getCustomWhereClause()(Code)(Java Doc)
public synchronized String getDBName()(Code)(Java Doc)
public DBObject getDBObject(String shortName) throws DBException(Code)(Java Doc)
public synchronized String getDataContext()(Code)(Java Doc)
public String getField(String shortName, String fieldName) throws DBException(Code)(Java Doc)
public BigDecimal getFieldBigDecimal(String shortName, String fieldName) throws DBException(Code)(Java Doc)
public Date getFieldDate(String shortName, String fieldName) throws DBException(Code)(Java Doc)
public String getFieldDecimalFormatted(String shortName, String fieldName, String formatPattern) throws DBException(Code)(Java Doc)
public double getFieldDouble(String shortName, String fieldName) throws DBException(Code)(Java Doc)
public float getFieldFloat(String shortName, String fieldName) throws DBException(Code)(Java Doc)
public int getFieldInt(String shortName, String fieldName) throws DBException(Code)(Java Doc)
public long getFieldLong(String shortName, String fieldName) throws DBException(Code)(Java Doc)
public int getMaxRecords()(Code)(Java Doc)
public int getOffsetRecord()(Code)(Java Doc)
public boolean getShortNameAsAlias()(Code)(Java Doc)
protected MultiDBObject getThisMultiDBObj() throws DBException(Code)(Java Doc)
public boolean isFieldNull(String shortName, String fieldName) throws DBException(Code)(Java Doc)
public synchronized List makeDirectQueryList(String sqlQuery, int fieldCount) throws DBException(Code)(Java Doc)
protected String makeLimitationStub(DBConnection theConnection)(Code)(Java Doc)
public synchronized List searchAndRetrieveList(String sortKeyString) throws DBException(Code)(Java Doc)
public synchronized List searchAndRetrieveList() throws DBException(Code)(Java Doc)
public String selectFieldString(DBObject oneObj, String fieldName) throws DBException(Code)(Java Doc)
public synchronized void setAppendCustomWhereClause(boolean newValue)(Code)(Java Doc)
public synchronized void setAttribute(String attribName, Object attribValue)(Code)(Java Doc)
public void setCaseSensitiveQuery(boolean isCaseSensitiveQuery)(Code)(Java Doc)
public void setConnection(DBConnection connection)(Code)(Java Doc)
public synchronized void setCustomFromClause(String newCustomFrom)(Code)(Java Doc)
public synchronized void setCustomWhereClause(String newCustomWhere)(Code)(Java Doc)
public synchronized void setCustomWhereClause(String newCustomWhere, boolean append)(Code)(Java Doc)
public synchronized void setDBName(String newOther) throws DBException(Code)(Java Doc)
public void setField(String shortName, String fieldName, String fieldValue) throws DBException(Code)(Java Doc)
public void setFieldDistinct(String shortName, String fieldName, boolean flag) throws DBException(Code)(Java Doc)
public void setFieldsToRetrieve(String shortName, String fieldNames) throws DBException(Code)(Java Doc)
public void setFieldsToRetrieveToNone(String shortName) throws DBException(Code)(Java Doc)
public void setForeignKey(String shortName, String foreignKey, String shortName2, String primaryKey) throws DBException(Code)(Java Doc)
public void setInnerJoin(String leftShortName, String leftColumn, String rightShortName, String rightColumn) throws DBException(Code)(Java Doc)
public void setLeftJoin(String leftShortName, String leftColumn, String rightShortName, String rightColumn) throws DBException(Code)(Java Doc)
public synchronized void setMaxRecords(int newMax) throws DBException(Code)(Java Doc)
public synchronized void setOffsetRecord(int newOffset) throws DBException(Code)(Java Doc)
public void setRightJoin(String leftShortName, String leftColumn, String rightShortName, String rightColumn) throws DBException(Code)(Java Doc)
public void setSelectDistinct(boolean flag)(Code)(Java Doc)
public void setShortNameAsAlias(boolean flag)(Code)(Java Doc)
protected void setupFields() throws DBException(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(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.