it.eng.spagobi.qbe.commons.service
Class AbstractQbeEngineAction

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.qbe.commons.service.AbstractQbeEngineAction
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:
CreateViewAction, ExecuteQueryAction, ExportResultAction, GetTreeAction, RefreshQueryAction, SaveQueryAction, ServiceExceptionAction

public abstract class AbstractQbeEngineAction
extends it.eng.spagobi.utilities.engines.AbstractEngineAction

The Class AbstractQbeEngineAction.

Author:
Andrea Gioia (andrea.gioia@eng.it)
See Also:
Serialized Form

Field Summary
 
Fields inherited from class it.eng.spagobi.utilities.engines.AbstractEngineAction
PRIVATE_SCOPE, PUBLIC_SCOPE
 
Fields inherited from class it.eng.spagobi.utilities.service.AbstractBaseHttpAction
FALSE, TRUE
 
Constructor Summary
AbstractQbeEngineAction()
           
 
Method Summary
 void delSubqueryField()
          Del subquery field.
 it.eng.qbe.model.DataMartModel getDatamartModel()
          Gets the datamart model.
 it.eng.qbe.wizard.ISingleDataMartWizardObject getDatamartWizard()
          Gets the datamart wizard.
 QbeEngineInstance getEngineInstance()
           
 it.eng.qbe.query.IQuery getQuery()
          Gets the query.
 java.lang.String getSubqueryField()
          Gets the subquery field.
 boolean isStandaloneModality()
          Checks if is standalone modality.
 boolean isSubqueryModeActive()
          Checks if is subquery mode active.
 void setDatamartModel(it.eng.qbe.model.DataMartModel datamartModel)
          Sets the datamart model.
 void setDatamartWizard(it.eng.qbe.wizard.ISingleDataMartWizardObject datamartWizard)
          Sets the datamart wizard.
 void setStandaloneModeActive(boolean standaloneMode)
          Sets the standalone mode active.
 void setSubqueryField(java.lang.String field)
          Sets the subquery field.
 void setSubqueryModeActive(boolean subqueryMode)
          Sets the subquery mode active.
 void updateLastUpdateTimeStamp()
          Update last update time stamp.
 
Methods inherited from class it.eng.spagobi.utilities.engines.AbstractEngineAction
getAuditServiceProxy, getEnv, getLocale, init, saveAnalysisState, service, setLocale, xsaveAnalysisState
 
Methods inherited from class it.eng.spagobi.utilities.service.AbstractBaseHttpAction
delAttribute, delAttributeFromHttpSession, delAttributeFromSession, getAttribute, getAttributeAsBoolean, getAttributeAsBoolean, getAttributeAsCsvStringList, getAttributeAsInteger, getAttributeAsJSONObject, getAttributeAsString, getAttributeAsStringList, getAttributeFromHttpSession, getAttributeFromHttpSessionAsBoolean, getAttributeFromHttpSessionAsBoolean, getAttributeFromHttpSessionAsString, getAttributeFromSession, getAttributeFromSessionAsBoolean, getAttributeFromSessionAsBoolean, getAttributeFromSessionAsString, getHttpSession, getRequest, getResponse, getSession, requestContainsAttribute, requestContainsAttribute, sessionContainsAttribute, setAttribute, setAttributeInHttpSession, setAttributeInSession, setRequest, setResponse, 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

AbstractQbeEngineAction

public AbstractQbeEngineAction()
Method Detail

getEngineInstance

public QbeEngineInstance getEngineInstance()
Overrides:
getEngineInstance in class it.eng.spagobi.utilities.engines.AbstractEngineAction

getDatamartModel

public it.eng.qbe.model.DataMartModel getDatamartModel()
Gets the datamart model.

Returns:
the datamart model

setDatamartModel

public void setDatamartModel(it.eng.qbe.model.DataMartModel datamartModel)
Sets the datamart model.

Parameters:
datamartModel - the new datamart model

getDatamartWizard

public it.eng.qbe.wizard.ISingleDataMartWizardObject getDatamartWizard()
Gets the datamart wizard.

Returns:
the datamart wizard

setDatamartWizard

public void setDatamartWizard(it.eng.qbe.wizard.ISingleDataMartWizardObject datamartWizard)
Sets the datamart wizard.

Parameters:
datamartWizard - the new datamart wizard

getQuery

public it.eng.qbe.query.IQuery getQuery()
Gets the query.

Returns:
the query

setStandaloneModeActive

public void setStandaloneModeActive(boolean standaloneMode)
Sets the standalone mode active.

Parameters:
standaloneMode - the new standalone mode active

isStandaloneModality

public boolean isStandaloneModality()
Checks if is standalone modality.

Returns:
true, if is standalone modality

updateLastUpdateTimeStamp

public void updateLastUpdateTimeStamp()
Update last update time stamp.


setSubqueryModeActive

public void setSubqueryModeActive(boolean subqueryMode)
Sets the subquery mode active.

Parameters:
subqueryMode - the new subquery mode active

isSubqueryModeActive

public boolean isSubqueryModeActive()
Checks if is subquery mode active.

Returns:
true, if is subquery mode active

getSubqueryField

public java.lang.String getSubqueryField()
Gets the subquery field.

Returns:
the subquery field

setSubqueryField

public void setSubqueryField(java.lang.String field)
Sets the subquery field.

Parameters:
field - the new subquery field

delSubqueryField

public void delSubqueryField()
Del subquery field.