Java Doc for WikiBase.java in  » Wiki-Engine » JAMWiki » org » jamwiki » 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 » JAMWiki » org.jamwiki 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.jamwiki.WikiBase

WikiBase
public class WikiBase (Code)
WikiBase is loaded as a singleton class and provides access to all core wiki structures. In addition this class provides utility methods for resetting core structures including caches and permissions.
See Also:   org.jamwiki.DataHandler
See Also:   org.jamwiki.UserHandler
See Also:   org.jamwiki.search.SearchEngine


Field Summary
final public static  StringCACHE_PARSED_TOPIC_CONTENT
     Cache name for the cache of parsed topic content.
final public static  StringDATA_HANDLER_ANSI
    
final public static  StringDATA_HANDLER_ASA
    
final public static  StringDATA_HANDLER_DB2
    
final public static  StringDATA_HANDLER_DB2400
    
final public static  StringDATA_HANDLER_HSQL
    
final public static  StringDATA_HANDLER_MSSQL
    
final public static  StringDATA_HANDLER_MYSQL
    
final public static  StringDATA_HANDLER_ORACLE
    
final public static  StringDATA_HANDLER_POSTGRES
    
final public static  StringDEFAULT_VWIKI
    
final public static  StringPERSISTENCE_EXTERNAL
    
final public static  StringPERSISTENCE_INTERNAL
    
final public static  StringSEARCH_ENGINE_LUCENE
    
final public static  StringSPECIAL_PAGE_BOTTOM_AREA
     Name of the default footer topic.
final public static  StringSPECIAL_PAGE_DIR
     Root directory within the WAR distribution that contains the default topic pages.
final public static  StringSPECIAL_PAGE_LEFT_MENU
     Name of the default left menu topic.
final public static  StringSPECIAL_PAGE_SPECIAL_PAGES
     Name of the default jamwiki.css topic.
final public static  StringSPECIAL_PAGE_STARTING_POINTS
     Name of the default starting points topic.
final public static  StringSPECIAL_PAGE_STYLESHEET
     Name of the default jamwiki.css topic.
final public static  intUPLOAD_ALL
     Allow file uploads of any file type.
final public static  intUPLOAD_BLACKLIST
     Use a blacklist to determine what file types can be uploaded.
final public static  intUPLOAD_NONE
     Disable all file uploads.
final public static  intUPLOAD_WHITELIST
     Use a whitelist to determine what file types can be uploaded.
final public static  StringUSER_HANDLER_DATABASE
    
final public static  StringUSER_HANDLER_LDAP
    


Method Summary
public static  DataHandlergetDataHandler()
     Get an instance of the current data handler.
public static  SearchEnginegetSearchEngine()
     Get an instance of the current search engine.
public static  UserHandlergetUserHandler()
    
public static  voidreload()
     Reload the data handler, user handler, and other basic wiki data structures.
public static  voidreset(Locale locale, WikiUser user)
     Reset the WikiBase object, re-initializing the data handler and other values.

Field Detail
CACHE_PARSED_TOPIC_CONTENT
final public static String CACHE_PARSED_TOPIC_CONTENT(Code)
Cache name for the cache of parsed topic content.



DATA_HANDLER_ANSI
final public static String DATA_HANDLER_ANSI(Code)
Ansi data handler class



DATA_HANDLER_ASA
final public static String DATA_HANDLER_ASA(Code)
Sybase ASA data handler class



DATA_HANDLER_DB2
final public static String DATA_HANDLER_DB2(Code)
DB2 data handler class



DATA_HANDLER_DB2400
final public static String DATA_HANDLER_DB2400(Code)
DB2/400 data handler class



DATA_HANDLER_HSQL
final public static String DATA_HANDLER_HSQL(Code)
HSql data handler class



DATA_HANDLER_MSSQL
final public static String DATA_HANDLER_MSSQL(Code)
MSSql data handler class



DATA_HANDLER_MYSQL
final public static String DATA_HANDLER_MYSQL(Code)
MySql data handler class



DATA_HANDLER_ORACLE
final public static String DATA_HANDLER_ORACLE(Code)
Oracle data handler class



DATA_HANDLER_POSTGRES
final public static String DATA_HANDLER_POSTGRES(Code)
Postgres data handler class



DEFAULT_VWIKI
final public static String DEFAULT_VWIKI(Code)
Name of the default wiki



PERSISTENCE_EXTERNAL
final public static String PERSISTENCE_EXTERNAL(Code)
Data stored using an external database



PERSISTENCE_INTERNAL
final public static String PERSISTENCE_INTERNAL(Code)
Data stored using an internal copy of the HSQL database



SEARCH_ENGINE_LUCENE
final public static String SEARCH_ENGINE_LUCENE(Code)
Lucene search engine class



SPECIAL_PAGE_BOTTOM_AREA
final public static String SPECIAL_PAGE_BOTTOM_AREA(Code)
Name of the default footer topic.



SPECIAL_PAGE_DIR
final public static String SPECIAL_PAGE_DIR(Code)
Root directory within the WAR distribution that contains the default topic pages.



SPECIAL_PAGE_LEFT_MENU
final public static String SPECIAL_PAGE_LEFT_MENU(Code)
Name of the default left menu topic.



SPECIAL_PAGE_SPECIAL_PAGES
final public static String SPECIAL_PAGE_SPECIAL_PAGES(Code)
Name of the default jamwiki.css topic.



SPECIAL_PAGE_STARTING_POINTS
final public static String SPECIAL_PAGE_STARTING_POINTS(Code)
Name of the default starting points topic.



SPECIAL_PAGE_STYLESHEET
final public static String SPECIAL_PAGE_STYLESHEET(Code)
Name of the default jamwiki.css topic.



UPLOAD_ALL
final public static int UPLOAD_ALL(Code)
Allow file uploads of any file type.



UPLOAD_BLACKLIST
final public static int UPLOAD_BLACKLIST(Code)
Use a blacklist to determine what file types can be uploaded.



UPLOAD_NONE
final public static int UPLOAD_NONE(Code)
Disable all file uploads.



UPLOAD_WHITELIST
final public static int UPLOAD_WHITELIST(Code)
Use a whitelist to determine what file types can be uploaded.



USER_HANDLER_DATABASE
final public static String USER_HANDLER_DATABASE(Code)
Database user handler class



USER_HANDLER_LDAP
final public static String USER_HANDLER_LDAP(Code)
LDAP user handler class





Method Detail
getDataHandler
public static DataHandler getDataHandler()(Code)
Get an instance of the current data handler. The current data handler instance, or nullif the handler has not yet been initialized.



getSearchEngine
public static SearchEngine getSearchEngine()(Code)
Get an instance of the current search engine. The current search engine instance.



getUserHandler
public static UserHandler getUserHandler()(Code)



reload
public static void reload() throws Exception(Code)
Reload the data handler, user handler, and other basic wiki data structures.



reset
public static void reset(Locale locale, WikiUser user) throws Exception(Code)
Reset the WikiBase object, re-initializing the data handler and other values.
Parameters:
  locale - The locale to be used if any system pages need to be set upas a part of the initialization process.
Parameters:
  user - A sysadmin user to be used in case any system pages need tobe created as a part of the initialization process.
throws:
  Exception - Thrown if an error occurs during re-initialization.



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.