|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jasperreports.engine.query.JRAbstractQueryExecuter net.sf.jasperreports.olap.xmla.JRXmlaQueryExecuter
public class JRXmlaQueryExecuter
Nested Class Summary |
---|
Nested classes/interfaces inherited from class net.sf.jasperreports.engine.query.JRAbstractQueryExecuter |
---|
JRAbstractQueryExecuter.QueryParameter |
Field Summary |
---|
Fields inherited from class net.sf.jasperreports.engine.query.JRAbstractQueryExecuter |
---|
CLAUSE_POSITION_ID, clauseFunctions, dataset |
Constructor Summary | |
---|---|
JRXmlaQueryExecuter(JRDataset dataset,
java.util.Map parametersMap)
|
Method Summary | |
---|---|
protected void |
addParameterList(javax.xml.soap.SOAPEnvelope envelope,
javax.xml.soap.SOAPElement eParent,
java.lang.String typeName,
java.lang.String listName,
java.util.Map params)
|
boolean |
cancelQuery()
Cancels the query if it's currently running. |
void |
close()
Closes resources kept open during the data source iteration. |
JRDataSource |
createDatasource()
Executes the query and creates a JRDataSource out of the result. |
protected javax.xml.soap.SOAPMessage |
createQueryMessage()
|
protected javax.xml.soap.SOAPConnection |
createSOAPConnection()
|
protected javax.xml.soap.SOAPMessage |
executeQuery(javax.xml.soap.SOAPMessage message,
java.net.URL url)
Sends the SOAP Message over the connection and returns the Result-SOAP-Message |
protected java.lang.String |
getParameterReplacement(java.lang.String parameterName)
Returns the replacement text for a query parameter. |
protected java.lang.String |
getSoapUrl()
|
protected void |
handleCellErrors(java.util.Iterator errorElems)
|
protected void |
handleHierInfo(JRXmlaResultAxis axis,
javax.xml.soap.SOAPElement hierInfoElement)
|
protected void |
handleResultFault(javax.xml.soap.SOAPFault fault)
|
protected void |
handleTupleElement(JRXmlaResultAxis axis,
javax.xml.soap.SOAPElement tupleElement)
|
protected void |
handleTuplesElement(JRXmlaResultAxis axis,
javax.xml.soap.SOAPElement tuplesElement)
|
protected void |
parseAxesElement(javax.xml.soap.SOAPElement axesElement)
|
protected void |
parseAxesInfoElement(javax.xml.soap.SOAPElement axesInfoElement)
|
protected void |
parseCellDataElement(javax.xml.soap.SOAPElement cellDataElement)
|
protected void |
parseOLAPInfoElement(javax.xml.soap.SOAPElement olapInfoElement)
|
protected void |
parseResult(javax.xml.soap.SOAPMessage reply)
Parses the result-Message into this class's structure |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JRXmlaQueryExecuter(JRDataset dataset, java.util.Map parametersMap)
Method Detail |
---|
protected java.lang.String getParameterReplacement(java.lang.String parameterName)
JRAbstractQueryExecuter
getParameterReplacement
in class JRAbstractQueryExecuter
parameterName
- the parameter name
JRQueryChunk.TYPE_PARAMETER
public JRDataSource createDatasource() throws JRException
JRQueryExecuter
JRDataSource
out of the result.
JRDataSource
wrapping the query execution result.
JRException
protected java.lang.String getSoapUrl() throws java.net.MalformedURLException
java.net.MalformedURLException
public boolean cancelQuery() throws JRException
JRQueryExecuter
true
if and only if the query was running and it has been canceled
JRException
public void close()
JRQueryExecuter
createDatasource
.
protected javax.xml.soap.SOAPConnection createSOAPConnection()
protected javax.xml.soap.SOAPMessage createQueryMessage()
protected void addParameterList(javax.xml.soap.SOAPEnvelope envelope, javax.xml.soap.SOAPElement eParent, java.lang.String typeName, java.lang.String listName, java.util.Map params) throws javax.xml.soap.SOAPException
javax.xml.soap.SOAPException
protected javax.xml.soap.SOAPMessage executeQuery(javax.xml.soap.SOAPMessage message, java.net.URL url)
protected void parseResult(javax.xml.soap.SOAPMessage reply) throws javax.xml.soap.SOAPException
reply
- The reply-Message from the Server
javax.xml.soap.SOAPException
protected void handleResultFault(javax.xml.soap.SOAPFault fault)
protected void parseOLAPInfoElement(javax.xml.soap.SOAPElement olapInfoElement) throws javax.xml.soap.SOAPException
javax.xml.soap.SOAPException
protected void parseAxesInfoElement(javax.xml.soap.SOAPElement axesInfoElement) throws javax.xml.soap.SOAPException
javax.xml.soap.SOAPException
protected void parseAxesElement(javax.xml.soap.SOAPElement axesElement) throws javax.xml.soap.SOAPException
javax.xml.soap.SOAPException
protected void parseCellDataElement(javax.xml.soap.SOAPElement cellDataElement) throws javax.xml.soap.SOAPException
javax.xml.soap.SOAPException
protected void handleCellErrors(java.util.Iterator errorElems) throws javax.xml.soap.SOAPException
javax.xml.soap.SOAPException
protected void handleHierInfo(JRXmlaResultAxis axis, javax.xml.soap.SOAPElement hierInfoElement) throws javax.xml.soap.SOAPException
javax.xml.soap.SOAPException
protected void handleTuplesElement(JRXmlaResultAxis axis, javax.xml.soap.SOAPElement tuplesElement) throws javax.xml.soap.SOAPException
javax.xml.soap.SOAPException
protected void handleTupleElement(JRXmlaResultAxis axis, javax.xml.soap.SOAPElement tupleElement) throws javax.xml.soap.SOAPException
javax.xml.soap.SOAPException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |