| java.lang.Object org.pentaho.ui.ChartHelper
ChartHelper | public class ChartHelper (Code) | | This class provides wrapper functions to make it easier to execute action
sequences and generate a widget.
|
Method Summary | |
public static boolean | doAction(String solutionName, String actionPath, String actionName, String processId, IParameterProvider parameterProvider, OutputStream outputStream, IPentahoSession userSession, ArrayList messages, ILogger logger) doAction executes an action within the bi platform and returns true if successful. | public static IRuntimeContext | doAction(String solutionName, String actionPath, String actionName, String processId, IParameterProvider parameterProvider, IPentahoSession userSession, ArrayList messages, ILogger logger) doAction executes an action within the bi platform and returns the runtime context. | public static boolean | doChart(String solutionName, String actionPath, String chartName, IParameterProvider parameterProvider, StringBuffer outputStream, IPentahoSession userSession, ArrayList messages, ILogger logger) doChart generates the images and html necessary to render various charts within a web page. | public static boolean | doDial(String solutionName, String actionPath, String chartName, IParameterProvider parameterProvider, StringBuffer outputStream, IPentahoSession userSession, ArrayList messages, ILogger logger) doDial generates the images and html necessary to render dials. | public static boolean | doPieChart(String solutionName, String actionPath, String chartName, IParameterProvider parameterProvider, StringBuffer outputStream, IPentahoSession userSession, ArrayList messages, ILogger logger) doPieChart generates the images and html necessary to render pie charts. |
doAction | public static boolean doAction(String solutionName, String actionPath, String actionName, String processId, IParameterProvider parameterProvider, OutputStream outputStream, IPentahoSession userSession, ArrayList messages, ILogger logger)(Code) | | doAction executes an action within the bi platform and returns true if successful.
Parameters: solutionName - the solution name Parameters: actionPath - the action path Parameters: actionName - the action name Parameters: processId - the process id Parameters: parameterProvider - the collection of parameters to customize the chart Parameters: userSession - the user session object Parameters: messages - a collection to store error and logging messages Parameters: logger - logging object the runtime context |
doAction | public static IRuntimeContext doAction(String solutionName, String actionPath, String actionName, String processId, IParameterProvider parameterProvider, IPentahoSession userSession, ArrayList messages, ILogger logger)(Code) | | doAction executes an action within the bi platform and returns the runtime context.
Parameters: solutionName - the solution name Parameters: actionPath - the action path Parameters: actionName - the action name Parameters: processId - the process id Parameters: parameterProvider - the collection of parameters to customize the chart Parameters: userSession - the user session object Parameters: messages - a collection to store error and logging messages Parameters: logger - logging object the runtime context |
doChart | public static boolean doChart(String solutionName, String actionPath, String chartName, IParameterProvider parameterProvider, StringBuffer outputStream, IPentahoSession userSession, ArrayList messages, ILogger logger)(Code) | | doChart generates the images and html necessary to render various charts within a web page.
Parameters: solutionName - the solution name Parameters: actionPath - the action path Parameters: chartName - the xml file describing the chart Parameters: parameterProvider - the collection of parameters to customize the chart Parameters: outputStream - the output string buffer for the content Parameters: userSession - the user session object Parameters: messages - a collection to store error and logging messages Parameters: logger - logging object true if successful |
doDial | public static boolean doDial(String solutionName, String actionPath, String chartName, IParameterProvider parameterProvider, StringBuffer outputStream, IPentahoSession userSession, ArrayList messages, ILogger logger)(Code) | | doDial generates the images and html necessary to render dials. It
provides a simple wrapper around the class
org.pentaho.ui.component.DashboardWidgetComponent
Parameters: solutionName - the solution name Parameters: actionPath - the action path Parameters: chartName - the xml file describing the chart Parameters: parameterProvider - the collection of parameters to customize the chart Parameters: outputStream - the output string buffer for the content Parameters: userSession - the user session object Parameters: messages - a collection to store error and logging messages Parameters: logger - logging object true if successful |
doPieChart | public static boolean doPieChart(String solutionName, String actionPath, String chartName, IParameterProvider parameterProvider, StringBuffer outputStream, IPentahoSession userSession, ArrayList messages, ILogger logger)(Code) | | doPieChart generates the images and html necessary to render pie charts.
It provides a simple wrapper around the class
org.pentaho.ui.component.charting.PieDatasetChartComponent
Parameters: solutionName - the solution name Parameters: actionPath - the action path Parameters: chartName - the xml file describing the chart Parameters: parameterProvider - the collection of parameters to customize the chart Parameters: outputStream - the output string buffer for the content Parameters: userSession - the user session object Parameters: messages - a collection to store error and logging messages Parameters: logger - logging object true if successful |
|
|