it.eng.spagobi.tools.dataset.service
Class ExecuteDatasets

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.commons.services.AbstractSpagoBIAction
                      extended by it.eng.spagobi.tools.dataset.service.ExecuteDatasets
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

public class ExecuteDatasets
extends AbstractSpagoBIAction

See Also:
Serialized Form

Field Summary
static org.apache.log4j.Logger logger
           
 
Fields inherited from class it.eng.spagobi.commons.services.AbstractSpagoBIAction
SERVICE_NAME
 
Constructor Summary
ExecuteDatasets()
           
 
Method Summary
 void doService()
           
 org.json.JSONObject getDatasetTestResultList(it.eng.spagobi.tools.dataset.bo.IDataSet dataSet, java.util.HashMap parametersFilled, it.eng.spago.security.IEngUserProfile profile)
           
 org.json.JSONObject getJSONDatasetResult(java.lang.Integer dsId, it.eng.spago.security.IEngUserProfile profile)
           
 
Methods inherited from class it.eng.spagobi.commons.services.AbstractSpagoBIAction
checkError, createContext, getContext, getLocale, getTheme, getUserProfile, handleException, init, localize, service, writeErrorsBackToClient
 
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, getAttributesAsLinkedMap, getAttributesAsMap, getHttpSession, getSessionContainer, getSpagoBIHttpSessionContainer, getSpagoBIRequestContainer, getSpagoBIResponseContainer, getSpagoBISessionContainer, httpSessionContainsAttribute, requestContainsAttribute, requestContainsAttribute, sessionContainsAttribute, setAttribute, setAttributeInHttpSession, setAttributeInSession, setSpagoBIRequestContainer, setSpagoBIResponseContainer, tryToWriteBackToClient, writeBackToClient, 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
 

Field Detail

logger

public static org.apache.log4j.Logger logger
Constructor Detail

ExecuteDatasets

public ExecuteDatasets()
Method Detail

doService

public void doService()
Specified by:
doService in class AbstractSpagoBIAction

getJSONDatasetResult

public org.json.JSONObject getJSONDatasetResult(java.lang.Integer dsId,
                                                it.eng.spago.security.IEngUserProfile profile)

getDatasetTestResultList

public org.json.JSONObject getDatasetTestResultList(it.eng.spagobi.tools.dataset.bo.IDataSet dataSet,
                                                    java.util.HashMap parametersFilled,
                                                    it.eng.spago.security.IEngUserProfile profile)
                                             throws java.lang.Exception
Throws:
java.lang.Exception