| org.pentaho.ui.servlet.ServletBase org.pentaho.ui.servlet.AdhocWebService
All known Subclasses: org.pentaho.ui.servlet.AdhocWebServiceSaveDisabled,
AdhocWebService | public class AdhocWebService extends ServletBase (Code) | | Servlet Class
web.servlet name="ViewAction" display-name="Name for ViewAction" description="Description for ViewAction" web.servlet-mapping url-pattern="/ViewAction" web.servlet-init-param name="A parameter" value="A value"
|
Method Summary | |
public ByteArrayOutputStream | createJFreeReportDefinitionAsStream(String reportXML, String templatePath, Element mqlNode, ISolutionRepository repository, IPentahoSession userSession) Create the JFreeReport file.
NOTE on the merge precedence: this method should use properties set by the
WAQR UI. | public void | createMQLQueryActionSequence(String domainId, String modelId, String tableId, String columnId, String searchStr, OutputStream outputStream, String userSessionName) | public ByteArrayOutputStream | createMQLReportActionSequenceAsStream(String reportName, String reportDescription, Element mqlNode, String[] outputTypeList, String xactionName, String jfreeReportXML, String jfreeReportFilename, String loggingLevel, IPentahoSession userSession) | protected void | dispatch(HttpServletRequest request, HttpServletResponse response, String component, IParameterProvider parameterProvider, OutputStream outputStream, IPentahoSession userSession, boolean isAjax) | protected void | doGet(HttpServletRequest request, HttpServletResponse response) | protected void | doPost(HttpServletRequest request, HttpServletResponse response) | public static IRuntimeContext | executeActionSequence(String xactionStr, String xActionName, IParameterProvider parameterProvider, IPentahoSession session, OutputStream outputStream) | public void | getBusinessModel(IParameterProvider parameterProvider, OutputStream outputStream, IPentahoSession userSession, boolean isAjax) | public Log | getLogger() | public String | getPayloadAsString(HttpServletRequest request) | public Document | getSolutionRepositoryDoc(String solutionName, String path, IPentahoSession userSession) | public void | getTemplateReportSpec(IParameterProvider parameterProvider, OutputStream outputStream, IPentahoSession userSession, boolean isAjax) | public void | getWaqrReportSpecDoc(IParameterProvider parameterProvider, OutputStream outputStream, IPentahoSession userSession, boolean isAjax) | public void | listBusinessModels(IParameterProvider parameterProvider, OutputStream outputStream, IPentahoSession userSession, boolean isAjax) | public void | lookupValues(IParameterProvider parameterProvider, OutputStream outputStream, IPentahoSession userSession, boolean isAjax) | protected void | saveReportSpec(String fileName, IParameterProvider parameterProvider, OutputStream outputStream, IPentahoSession userSession, boolean isAjax) | public void | searchTable(IParameterProvider parameterProvider, OutputStream outputStream, IPentahoSession userSession, boolean isAjax) | public static void | startup(String solutionRootPath, String baseURL) | public void | writeDocumentAsSoapResponse(OutputStream outputStream, Document doc, boolean isAjax) | public void | writeDocumentAsSoapResponse(OutputStream outputStream, Document doc) | public void | writeStringAsSoapResponse(OutputStream outputStream, String doc) | public void | writeStringAsSoapResponse(OutputStream outputStream, String doc, boolean isAjax) |
AdhocWebService | public AdhocWebService()(Code) | | |
createJFreeReportDefinitionAsStream | public ByteArrayOutputStream createJFreeReportDefinitionAsStream(String reportXML, String templatePath, Element mqlNode, ISolutionRepository repository, IPentahoSession userSession) throws IOException, AdhocWebServiceException, PentahoMetadataException(Code) | | Create the JFreeReport file.
NOTE on the merge precedence: this method should use properties set by the
WAQR UI. If the waqr UI did not set the property, then the property
should be set by the metadata. If the metadata did not set a property,
then the property should be set by the template. If the template
did not set the property, then use the default.
NOTE on the merge algorithm:
For each of the attributes in the fields (aka columns) of the reportspec,
if the attribute is present in the reportspec that comes in from the client
(ie reportXML param), and the attribute has a non-default value, do not change it.
If the attribute is not present or has a default value, and if there is metadata
for that attribute, merge the metadata attribute. This take place inline in the
main loop of this method. If after the metadata merge the attribute
still does not have a value, merge the template value. This takes place
in the AdhocWebService.applyTemplate() method.
If the template does not have a value, do nothing (the default will be used).
Parameters: reportDoc - Parameters: reportXML - Parameters: templatePath - Parameters: mqlNode - Parameters: repository - Parameters: userSession - throws: IOException - throws: AdhocWebServiceException - throws: PentahoMetadataException - |
getLogger | public Log getLogger()(Code) | | |
writeDocumentAsSoapResponse | public void writeDocumentAsSoapResponse(OutputStream outputStream, Document doc, boolean isAjax) throws IOException(Code) | | |
Fields inherited from org.pentaho.ui.servlet.ServletBase | final public static boolean debug(Code)(Java Doc)
|
|
|