Java Doc for generic.java in  » Web-Framework » rife-1.6.1 » com » uwyn » rife » database » querymanagers » generic » databasedrivers » 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 » Web Framework » rife 1.6.1 » com.uwyn.rife.database.querymanagers.generic.databasedrivers 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.uwyn.rife.database.querymanagers.generic.databasedrivers.generic

generic
public class generic extends AbstractGenericQueryManager implements GenericQueryManager<BeanType>(Code)


Field Summary
protected  booleanmHasIdentifier
    
protected  StringmPrimaryKey
    
protected  StringmTableName
    

Constructor Summary
public  generic(Datasource datasource, String tableName, String primaryKey, Class<BeanType> beanClass, boolean hasIdentifier)
    

Method Summary
protected  voidaddCreateTableManyToOneColumns(CreateTable query)
    
protected  voidaddSaveManyToOneFields(Insert query)
    
protected  voidaddSaveUpdateManyToOneFields(Update query)
    
public  intcount()
    
public  intcount(CountQuery query)
    
public  booleandelete(DeleteQuery query)
    
public  booleandelete(int objectId)
    
public  CountQuerygetCountQuery()
    
public  DeleteQuerygetDeleteQuery()
    
public  DeleteQuerygetDeleteQuery(int objectId)
    
public  CreateTablegetInstallTableQuery()
    
protected  SelectgetInternalCountQuery()
    
protected  CreateSequencegetInternalCreateSequenceQuery()
    
protected  CreateTablegetInternalCreateTableQuery()
    
protected  DeletegetInternalDeleteNoIdQuery()
    
protected  DeletegetInternalDeleteQuery()
    
protected  DropSequencegetInternalDropSequenceQuery()
    
protected  DropTablegetInternalDropTableQuery()
    
protected  SequenceValuegetInternalGetNextIdQuery()
    
protected  SelectgetInternalRestoreByIdQuery()
    
protected  SelectgetInternalRestoreListQuery()
    
protected  InsertgetInternalSaveQuery()
    
protected  UpdategetInternalSaveUpdateQuery()
    
public  RestoreQuerygetRestoreQuery()
    
public  RestoreQuerygetRestoreQuery(int objectId)
    
protected  StringgetSequenceName()
    
public  StringgetTable()
    
public  intinsert(BeanType bean)
    
public  voidinstall()
    
public  voidinstall(CreateTable query)
    
public  voidremove()
    
public  BeanTyperestore(int objectId)
    
public  List<BeanType>restore()
    
public  booleanrestore(DbRowProcessor rowProcessor)
    
public  List<BeanType>restore(RestoreQuery query)
    
public  booleanrestore(RestoreQuery query, DbRowProcessor rowProcessor)
    
public  BeanTyperestoreFirst(RestoreQuery query)
    
public  intsave(BeanType bean)
    
public  intupdate(BeanType bean)
    

Field Detail
mHasIdentifier
protected boolean mHasIdentifier(Code)



mPrimaryKey
protected String mPrimaryKey(Code)



mTableName
protected String mTableName(Code)




Constructor Detail
generic
public generic(Datasource datasource, String tableName, String primaryKey, Class<BeanType> beanClass, boolean hasIdentifier) throws DatabaseException(Code)




Method Detail
addCreateTableManyToOneColumns
protected void addCreateTableManyToOneColumns(CreateTable query)(Code)



addSaveManyToOneFields
protected void addSaveManyToOneFields(Insert query)(Code)



addSaveUpdateManyToOneFields
protected void addSaveUpdateManyToOneFields(Update query)(Code)



count
public int count() throws DatabaseException(Code)



count
public int count(CountQuery query) throws DatabaseException(Code)



delete
public boolean delete(DeleteQuery query) throws DatabaseException(Code)



delete
public boolean delete(int objectId) throws DatabaseException(Code)



getCountQuery
public CountQuery getCountQuery()(Code)



getDeleteQuery
public DeleteQuery getDeleteQuery()(Code)



getDeleteQuery
public DeleteQuery getDeleteQuery(int objectId)(Code)



getInstallTableQuery
public CreateTable getInstallTableQuery()(Code)



getInternalCountQuery
protected Select getInternalCountQuery()(Code)



getInternalCreateSequenceQuery
protected CreateSequence getInternalCreateSequenceQuery()(Code)



getInternalCreateTableQuery
protected CreateTable getInternalCreateTableQuery()(Code)



getInternalDeleteNoIdQuery
protected Delete getInternalDeleteNoIdQuery()(Code)



getInternalDeleteQuery
protected Delete getInternalDeleteQuery()(Code)



getInternalDropSequenceQuery
protected DropSequence getInternalDropSequenceQuery()(Code)



getInternalDropTableQuery
protected DropTable getInternalDropTableQuery()(Code)



getInternalGetNextIdQuery
protected SequenceValue getInternalGetNextIdQuery()(Code)



getInternalRestoreByIdQuery
protected Select getInternalRestoreByIdQuery()(Code)



getInternalRestoreListQuery
protected Select getInternalRestoreListQuery()(Code)



getInternalSaveQuery
protected Insert getInternalSaveQuery()(Code)



getInternalSaveUpdateQuery
protected Update getInternalSaveUpdateQuery()(Code)



getRestoreQuery
public RestoreQuery getRestoreQuery()(Code)



getRestoreQuery
public RestoreQuery getRestoreQuery(int objectId)(Code)



getSequenceName
protected String getSequenceName()(Code)



getTable
public String getTable()(Code)



insert
public int insert(BeanType bean) throws DatabaseException(Code)



install
public void install() throws DatabaseException(Code)



install
public void install(CreateTable query) throws DatabaseException(Code)



remove
public void remove() throws DatabaseException(Code)



restore
public BeanType restore(int objectId) throws DatabaseException(Code)



restore
public List<BeanType> restore() throws DatabaseException(Code)



restore
public boolean restore(DbRowProcessor rowProcessor) throws DatabaseException(Code)



restore
public List<BeanType> restore(RestoreQuery query) throws DatabaseException(Code)



restore
public boolean restore(RestoreQuery query, DbRowProcessor rowProcessor) throws DatabaseException(Code)



restoreFirst
public BeanType restoreFirst(RestoreQuery query) throws DatabaseException(Code)



save
public int save(BeanType bean) throws DatabaseException(Code)



update
public int update(BeanType bean) throws DatabaseException(Code)



w__ww.ja_v___a___2__s_._co_m | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.