ua.gradsoft.xwikisql
Class SqlPlugin

java.lang.Object
  extended by com.xpn.xwiki.plugin.XWikiDefaultPlugin
      extended by ua.gradsoft.xwikisql.SqlPlugin
All Implemented Interfaces:
com.xpn.xwiki.plugin.XWikiPluginInterface

public class SqlPlugin
extends com.xpn.xwiki.plugin.XWikiDefaultPlugin
implements com.xpn.xwiki.plugin.XWikiPluginInterface

XWiki sql plugin

Author:
Ruslan Shevchenko Grad-Soft Ltd. <Ruslan@Shevchenko.Kiev.UA>

Constructor Summary
SqlPlugin(java.lang.String name, java.lang.String className, com.xpn.xwiki.XWikiContext context)
           
 
Method Summary
 void flushCache()
          Deprecated.  
 SqlPluginConfiguration getConfiguration()
           
 java.lang.String getName()
          "sql"
 com.xpn.xwiki.api.Api getPluginApi(com.xpn.xwiki.plugin.XWikiPluginInterface plugin, com.xpn.xwiki.XWikiContext context)
           
 void handleError(SqlErrorable source, java.lang.String msg, java.lang.String sql, java.lang.Exception ex)
           
 void init(com.xpn.xwiki.XWikiContext context)
           
 
Methods inherited from class com.xpn.xwiki.plugin.XWikiDefaultPlugin
beginRendering, commonTagsHandler, downloadAttachment, endRendering, endRenderingHandler, flushCache, getClassName, insidePREHandler, outsidePREHandler, setClassName, setName, startRenderingHandler, virtualInit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.xpn.xwiki.plugin.XWikiPluginInterface
beginRendering, commonTagsHandler, downloadAttachment, endRendering, endRenderingHandler, flushCache, getClassName, insidePREHandler, outsidePREHandler, setClassName, setName, startRenderingHandler, virtualInit
 

Constructor Detail

SqlPlugin

public SqlPlugin(java.lang.String name,
                 java.lang.String className,
                 com.xpn.xwiki.XWikiContext context)
Method Detail

getName

public java.lang.String getName()
"sql"

Specified by:
getName in interface com.xpn.xwiki.plugin.XWikiPluginInterface
Overrides:
getName in class com.xpn.xwiki.plugin.XWikiDefaultPlugin
Returns:
sql

getPluginApi

public com.xpn.xwiki.api.Api getPluginApi(com.xpn.xwiki.plugin.XWikiPluginInterface plugin,
                                          com.xpn.xwiki.XWikiContext context)
Specified by:
getPluginApi in interface com.xpn.xwiki.plugin.XWikiPluginInterface
Overrides:
getPluginApi in class com.xpn.xwiki.plugin.XWikiDefaultPlugin

flushCache

public void flushCache()
Deprecated. 

Specified by:
flushCache in interface com.xpn.xwiki.plugin.XWikiPluginInterface
Overrides:
flushCache in class com.xpn.xwiki.plugin.XWikiDefaultPlugin

init

public void init(com.xpn.xwiki.XWikiContext context)
Specified by:
init in interface com.xpn.xwiki.plugin.XWikiPluginInterface
Overrides:
init in class com.xpn.xwiki.plugin.XWikiDefaultPlugin

handleError

public void handleError(SqlErrorable source,
                        java.lang.String msg,
                        java.lang.String sql,
                        java.lang.Exception ex)

getConfiguration

public SqlPluginConfiguration getConfiguration()