Package com.xpn.xwiki.plugin.charts
Class ChartingPluginApi
- java.lang.Object
-
- com.xpn.xwiki.api.Api
-
- com.xpn.xwiki.plugin.charts.ChartingPluginApi
-
public class ChartingPluginApi extends Api
-
-
Constructor Summary
Constructors Constructor Description ChartingPluginApi(ChartingPlugin plugin, XWikiContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Chart
generateChart(ChartParams params, XWikiContext context)
ChartingPlugin
getPlugin()
void
outputFile(String filename, XWikiContext context)
void
setPlugin(ChartingPlugin plugin)
-
Methods inherited from class com.xpn.xwiki.api.Api
convert, convert, convert, convertAttachments, getAuthorizationManager, getContextualAuthorizationManager, getXWikiContext, hasAccess, hasAccessLevel, hasAdminRights, hasProgrammingRights, hasWikiAdminRights
-
-
-
-
Constructor Detail
-
ChartingPluginApi
public ChartingPluginApi(ChartingPlugin plugin, XWikiContext context)
-
-
Method Detail
-
setPlugin
public void setPlugin(ChartingPlugin plugin)
-
getPlugin
public ChartingPlugin getPlugin()
-
generateChart
public Chart generateChart(ChartParams params, XWikiContext context) throws GenerateException
- Throws:
GenerateException
-
outputFile
public void outputFile(String filename, XWikiContext context) throws IOException
- Throws:
IOException
-
-