it.eng.spagobi.engines.qbe.services.worksheet
Class ExecuteWorksheetQueryAction

java.lang.Object
  extended by it.eng.spago.dispatching.service.DefaultRequestContext
      extended by it.eng.spago.dispatching.service.DefaultHttpRequestContext
          extended by it.eng.spago.dispatching.action.AbstractHttpAction
              extended by it.eng.spagobi.utilities.service.AbstractBaseHttpAction
                  extended by it.eng.spagobi.utilities.engines.AbstractEngineAction
                      extended by it.eng.spagobi.engines.qbe.services.core.AbstractQbeEngineAction
                          extended by it.eng.spagobi.engines.qbe.services.core.ExecuteQueryAction
                              extended by it.eng.spagobi.engines.qbe.services.worksheet.ExecuteWorksheetQueryAction
All Implemented Interfaces:
it.eng.spago.dispatching.action.ActionIFace, it.eng.spago.dispatching.service.HttpRequestContextIFace, it.eng.spago.dispatching.service.RequestContextIFace, it.eng.spago.dispatching.service.ServiceIFace, it.eng.spago.init.InitializerIFace, java.io.Serializable
Direct Known Subclasses:
ExportWorksheetAction

public class ExecuteWorksheetQueryAction
extends ExecuteQueryAction

See Also:
Serialized Form

Field Summary
 
Fields inherited from class it.eng.spagobi.engines.qbe.services.core.ExecuteQueryAction
auditlogger, LIMIT, logger, QUERY_ID, START
 
Fields inherited from class it.eng.spagobi.utilities.engines.AbstractEngineAction
PRIVATE_SCOPE, PUBLIC_SCOPE
 
Constructor Summary
ExecuteWorksheetQueryAction()
           
 
Method Summary
 it.eng.qbe.query.Query getQuery()
          Gets the active query..
protected  it.eng.qbe.statement.IStatement getStatement(it.eng.qbe.query.Query query)
          Build the statement
 
Methods inherited from class it.eng.spagobi.engines.qbe.services.core.ExecuteQueryAction
executeQuery, service, updatePromptableFiltersValue
 
Methods inherited from class it.eng.spagobi.engines.qbe.services.core.AbstractQbeEngineAction
getDataSource, getEngineInstance, getFilteredQuery, setDataSource
 
Methods inherited from class it.eng.spagobi.utilities.engines.AbstractEngineAction
getAuditServiceProxy, getConetxtManager, getEnv, getLocale, getSpagoBIHttpSessionContainer, getSpagoBISessionContainer, init, saveAnalysisState, setLocale
 
Methods inherited from class it.eng.spagobi.utilities.service.AbstractBaseHttpAction
delAttributeFromHttpSession, delAttributeFromSession, getAttribute, getAttributeAsBoolean, getAttributeAsBoolean, getAttributeAsCsvStringList, getAttributeAsInteger, getAttributeAsJSONArray, getAttributeAsJSONObject, getAttributeAsList, getAttributeAsString, getAttributeFromHttpSession, getAttributeFromHttpSessionAsBoolean, getAttributeFromHttpSessionAsBoolean, getAttributeFromHttpSessionAsString, getAttributeFromSession, getAttributeFromSessionAsBoolean, getAttributeFromSessionAsBoolean, getAttributeFromSessionAsString, getAttributesAsMap, getHttpSession, getSessionContainer, getSpagoBIRequestContainer, getSpagoBIResponseContainer, httpSessionContainsAttribute, requestContainsAttribute, requestContainsAttribute, sessionContainsAttribute, setAttribute, setAttributeInHttpSession, setAttributeInSession, setSpagoBIRequestContainer, setSpagoBIResponseContainer, tryToWriteBackToClient, writeBackToClient, writeBackToClient, writeBackToClient, writeBackToClient, writeBackToClient
 
Methods inherited from class it.eng.spago.dispatching.action.AbstractHttpAction
getActionMethod, getActionName, getConfig, setActionMethod, setActionName
 
Methods inherited from class it.eng.spago.dispatching.service.DefaultHttpRequestContext
freezeHttpResponse, getHttpRequest, getHttpResponse, getServletConfig, isHttpResponseFreezed, setRequestContext, unfreezeHttpResponse
 
Methods inherited from class it.eng.spago.dispatching.service.DefaultRequestContext
getErrorHandler, getRequestContainer, getResponseContainer, getServiceRequest, getServiceResponse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface it.eng.spago.dispatching.service.RequestContextIFace
getErrorHandler, getRequestContainer, getResponseContainer, getServiceRequest, getServiceResponse
 

Constructor Detail

ExecuteWorksheetQueryAction

public ExecuteWorksheetQueryAction()
Method Detail

getQuery

public it.eng.qbe.query.Query getQuery()
Gets the active query.. If no active query is specified returns the first query in the catalogue.. The query is filtered: it applies some projection (the visible columns are specified in the request variable jsonVisibleSelectFields) and some selection (the rows are specified in the variable optionalUserFilters) If the worksheet has been built with the smart filter the query must be transformed

Overrides:
getQuery in class ExecuteQueryAction
Returns:
the filtered query

getStatement

protected it.eng.qbe.statement.IStatement getStatement(it.eng.qbe.query.Query query)
Description copied from class: ExecuteQueryAction
Build the statement

Overrides:
getStatement in class ExecuteQueryAction
Returns: