Java Doc for DatabaseHandler.java in  » Wiki-Engine » VeryQuickWiki » vqwiki » db » 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 » Wiki Engine » VeryQuickWiki » vqwiki.db 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   vqwiki.db.DatabaseHandler

DatabaseHandler
public class DatabaseHandler implements Handler(Code)


Field Summary
final protected static  StringSTATEMENT_ADD_TEMPLATE
    
final protected static  StringSTATEMENT_ADD_TEMPLATE_ORACLE
    
final protected static  StringSTATEMENT_ADD_VIRTUAL_WIKI
    
final protected static  StringSTATEMENT_ALL_OLDER_TOPICS
    
final protected static  StringSTATEMENT_ALL_TOPICS
    
final protected static  StringSTATEMENT_CHECK_LOCK
    
final protected static  StringSTATEMENT_CHECK_SPECIFIC_LOCK
    
final protected static  StringSTATEMENT_EXISTS
    
final protected static  StringSTATEMENT_GET_ALL_VIRTUAL_WIKIS
    
final protected static  StringSTATEMENT_GET_LOCK_LIST
    
final protected static  StringSTATEMENT_GET_TEMPLATE
    
final protected static  StringSTATEMENT_GET_TEMPLATE_NAMES
    
final protected static  StringSTATEMENT_INSERT
    
final protected static  StringSTATEMENT_INSERT_ORACLE
    
final protected static  StringSTATEMENT_PURGE_DELETES
    
final protected static  StringSTATEMENT_PURGE_TOPIC
    
final protected static  StringSTATEMENT_PURGE_VERSIONS
    
final protected static  StringSTATEMENT_READ
    
final protected static  StringSTATEMENT_READONLY_ALL
    
final protected static  StringSTATEMENT_READONLY_DELETE
    
final protected static  StringSTATEMENT_READONLY_FIND
    
final protected static  StringSTATEMENT_READONLY_INSERT
    
final protected static  StringSTATEMENT_REMOVE_ANY_LOCK
    
final protected static  StringSTATEMENT_REMOVE_LOCK
    
final protected static  StringSTATEMENT_SET_LOCK
    
final protected static  StringSTATEMENT_TEMPLATE_EXISTS
    
final protected static  StringSTATEMENT_TOPICS_TO_PURGE
    
final protected static  StringSTATEMENT_UPDATE
    
final protected static  StringSTATEMENT_UPDATE_ORACLE1
    
final protected static  StringSTATEMENT_UPDATE_ORACLE2
    
final protected static  StringSTATEMENT_UPDATE_TEMPLATE
    
final protected static  StringSTATEMENT_UPDATE_TEMPLATE_ORACLE1
    
final protected static  StringSTATEMENT_UPDATE_TEMPLATE_ORACLE2
    

Constructor Summary
public  DatabaseHandler()
    

Method Summary
public  voidaddReadOnlyTopic(String virtualWiki, String topicName)
    
public  voidaddVirtualWiki(String virtualWiki)
    
public  voidexecuteSQL(String sql)
    
public  booleanexists(String virtualWiki, String topicName)
    
public  ListgetLockList(String virtualWiki)
    
public  CollectiongetReadOnlyTopics(String virtualWiki)
    
public  StringgetTemplate(String virtualWiki, String templateName)
    
public  CollectiongetTemplateNames(String virtualWiki)
    
public  CollectiongetVirtualWikiList()
    
public  booleanholdsLock(String virtualWiki, String topicName, String key)
    
public  voidinitialise(Locale locale)
    
public  booleanisTopicReadOnly(String virtualWiki, String topicName)
    
public  booleanlockTopic(String virtualWiki, String topicName, String key)
    
public  CollectionpurgeDeletes(String virtualWiki)
    
public  CollectionpurgeDeletesOracle(String virtualWiki)
    
public  voidpurgeVersionsOlderThan(String virtualWiki, DBDate date)
    
public  voidpurgeVersionsOlderThanOracle(String virtualWiki, DBDate date)
    
public  Stringread(String virtualWiki, String topicName)
    
public  voidremoveReadOnlyTopic(String virtualWiki, String topicName)
    
public  voidsaveAsTemplate(String virtualWiki, String templateName, String contents)
    
public  voidsetDefaults(Locale locale)
    
public  voidunlockTopic(String virtualWiki, String topicName)
    
public  voidwrite(String virtualWiki, String contents, boolean convertTabs, String topicName)
    

Field Detail
STATEMENT_ADD_TEMPLATE
final protected static String STATEMENT_ADD_TEMPLATE(Code)



STATEMENT_ADD_TEMPLATE_ORACLE
final protected static String STATEMENT_ADD_TEMPLATE_ORACLE(Code)



STATEMENT_ADD_VIRTUAL_WIKI
final protected static String STATEMENT_ADD_VIRTUAL_WIKI(Code)



STATEMENT_ALL_OLDER_TOPICS
final protected static String STATEMENT_ALL_OLDER_TOPICS(Code)



STATEMENT_ALL_TOPICS
final protected static String STATEMENT_ALL_TOPICS(Code)



STATEMENT_CHECK_LOCK
final protected static String STATEMENT_CHECK_LOCK(Code)



STATEMENT_CHECK_SPECIFIC_LOCK
final protected static String STATEMENT_CHECK_SPECIFIC_LOCK(Code)



STATEMENT_EXISTS
final protected static String STATEMENT_EXISTS(Code)



STATEMENT_GET_ALL_VIRTUAL_WIKIS
final protected static String STATEMENT_GET_ALL_VIRTUAL_WIKIS(Code)



STATEMENT_GET_LOCK_LIST
final protected static String STATEMENT_GET_LOCK_LIST(Code)



STATEMENT_GET_TEMPLATE
final protected static String STATEMENT_GET_TEMPLATE(Code)



STATEMENT_GET_TEMPLATE_NAMES
final protected static String STATEMENT_GET_TEMPLATE_NAMES(Code)



STATEMENT_INSERT
final protected static String STATEMENT_INSERT(Code)



STATEMENT_INSERT_ORACLE
final protected static String STATEMENT_INSERT_ORACLE(Code)



STATEMENT_PURGE_DELETES
final protected static String STATEMENT_PURGE_DELETES(Code)



STATEMENT_PURGE_TOPIC
final protected static String STATEMENT_PURGE_TOPIC(Code)



STATEMENT_PURGE_VERSIONS
final protected static String STATEMENT_PURGE_VERSIONS(Code)



STATEMENT_READ
final protected static String STATEMENT_READ(Code)



STATEMENT_READONLY_ALL
final protected static String STATEMENT_READONLY_ALL(Code)



STATEMENT_READONLY_DELETE
final protected static String STATEMENT_READONLY_DELETE(Code)



STATEMENT_READONLY_FIND
final protected static String STATEMENT_READONLY_FIND(Code)



STATEMENT_READONLY_INSERT
final protected static String STATEMENT_READONLY_INSERT(Code)



STATEMENT_REMOVE_ANY_LOCK
final protected static String STATEMENT_REMOVE_ANY_LOCK(Code)



STATEMENT_REMOVE_LOCK
final protected static String STATEMENT_REMOVE_LOCK(Code)



STATEMENT_SET_LOCK
final protected static String STATEMENT_SET_LOCK(Code)



STATEMENT_TEMPLATE_EXISTS
final protected static String STATEMENT_TEMPLATE_EXISTS(Code)



STATEMENT_TOPICS_TO_PURGE
final protected static String STATEMENT_TOPICS_TO_PURGE(Code)



STATEMENT_UPDATE
final protected static String STATEMENT_UPDATE(Code)



STATEMENT_UPDATE_ORACLE1
final protected static String STATEMENT_UPDATE_ORACLE1(Code)



STATEMENT_UPDATE_ORACLE2
final protected static String STATEMENT_UPDATE_ORACLE2(Code)



STATEMENT_UPDATE_TEMPLATE
final protected static String STATEMENT_UPDATE_TEMPLATE(Code)



STATEMENT_UPDATE_TEMPLATE_ORACLE1
final protected static String STATEMENT_UPDATE_TEMPLATE_ORACLE1(Code)



STATEMENT_UPDATE_TEMPLATE_ORACLE2
final protected static String STATEMENT_UPDATE_TEMPLATE_ORACLE2(Code)




Constructor Detail
DatabaseHandler
public DatabaseHandler() throws Exception(Code)




Method Detail
addReadOnlyTopic
public void addReadOnlyTopic(String virtualWiki, String topicName) throws Exception(Code)



addVirtualWiki
public void addVirtualWiki(String virtualWiki) throws Exception(Code)



executeSQL
public void executeSQL(String sql) throws Exception(Code)



exists
public boolean exists(String virtualWiki, String topicName) throws Exception(Code)



getLockList
public List getLockList(String virtualWiki) throws Exception(Code)



getReadOnlyTopics
public Collection getReadOnlyTopics(String virtualWiki) throws Exception(Code)



getTemplate
public String getTemplate(String virtualWiki, String templateName) throws Exception(Code)



getTemplateNames
public Collection getTemplateNames(String virtualWiki) throws Exception(Code)



getVirtualWikiList
public Collection getVirtualWikiList() throws Exception(Code)



holdsLock
public boolean holdsLock(String virtualWiki, String topicName, String key) throws Exception(Code)



initialise
public void initialise(Locale locale) throws Exception(Code)



isTopicReadOnly
public boolean isTopicReadOnly(String virtualWiki, String topicName) throws Exception(Code)



lockTopic
public boolean lockTopic(String virtualWiki, String topicName, String key) throws Exception(Code)



purgeDeletes
public Collection purgeDeletes(String virtualWiki) throws Exception(Code)



purgeDeletesOracle
public Collection purgeDeletesOracle(String virtualWiki) throws Exception(Code)



purgeVersionsOlderThan
public void purgeVersionsOlderThan(String virtualWiki, DBDate date) throws Exception(Code)



purgeVersionsOlderThanOracle
public void purgeVersionsOlderThanOracle(String virtualWiki, DBDate date) throws Exception(Code)



read
public String read(String virtualWiki, String topicName) throws Exception(Code)



removeReadOnlyTopic
public void removeReadOnlyTopic(String virtualWiki, String topicName) throws Exception(Code)



saveAsTemplate
public void saveAsTemplate(String virtualWiki, String templateName, String contents) throws Exception(Code)



setDefaults
public void setDefaults(Locale locale) throws Exception(Code)



unlockTopic
public void unlockTopic(String virtualWiki, String topicName) throws Exception(Code)



write
public void write(String virtualWiki, String contents, boolean convertTabs, String topicName) throws Exception(Code)



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.