it.eng.spagobi.engine.mobile.service
Class AbstractExecuteMobileAction

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.engine.mobile.service.AbstractExecuteMobileAction
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:
ExecuteMobileChartAction, ExecuteMobileComposedAction, ExecuteMobileTableAction

public abstract class AbstractExecuteMobileAction
extends it.eng.spagobi.commons.services.AbstractSpagoBIAction

See Also:
Serialized Form

Field Summary
static java.lang.String DOCUMENT_ID
           
static java.lang.String DOCUMENT_LABEL
           
static java.lang.String EXECUTION_ROLE
           
static java.lang.String SERVICE_NAME
           
 
Constructor Summary
AbstractExecuteMobileAction()
           
 
Method Summary
 it.eng.spagobi.analiticalmodel.document.bo.BIObject getAndValidateBIObject()
          Load the document: check if the document stay in a composed document..
 java.util.List getParamErrors()
           
 java.util.HashMap<java.lang.String,java.lang.String> getParametersList(org.json.JSONObject parameters)
           
 
Methods inherited from class it.eng.spagobi.commons.services.AbstractSpagoBIAction
checkError, createContext, doService, 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
 
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

SERVICE_NAME

public static final java.lang.String SERVICE_NAME
See Also:
Constant Field Values

DOCUMENT_ID

public static java.lang.String DOCUMENT_ID

DOCUMENT_LABEL

public static java.lang.String DOCUMENT_LABEL

EXECUTION_ROLE

public static java.lang.String EXECUTION_ROLE
Constructor Detail

AbstractExecuteMobileAction

public AbstractExecuteMobileAction()
Method Detail

getAndValidateBIObject

public it.eng.spagobi.analiticalmodel.document.bo.BIObject getAndValidateBIObject()
Load the document: check if the document stay in a composed document.. If so it get from the request: MobileConstants.IS_FROM_COMPOSED , DOCUMENT_ID , DOCUMENT_LABEL , EXECUTION_ROLE ,ObjectsTreeConstants.PARAMETERS

Returns:

getParamErrors

public java.util.List getParamErrors()

getParametersList

public java.util.HashMap<java.lang.String,java.lang.String> getParametersList(org.json.JSONObject parameters)
                                                                       throws org.json.JSONException
Throws:
org.json.JSONException