it.eng.spagobi.engines.worksheet.services.designer
Class GetWorksheetFieldsAction

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.worksheet.services.AbstractWorksheetEngineAction
                          extended by it.eng.spagobi.engines.worksheet.services.designer.GetWorksheetFieldsAction
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 GetWorksheetFieldsAction
extends AbstractWorksheetEngineAction

Author:
Davide Zerbetto (davide.zerbetto@eng.it)
See Also:
Serialized Form

Field Summary
static java.lang.String PROPERTY_AGGREGATION_FUNCTION
           
static java.lang.String PROPERTY_IS_MANDATORY_MEASURE
           
static java.lang.String PROPERTY_IS_SEGMENT_ATTRIBUTE
           
static java.lang.String PROPERTY_VISIBLE
           
 
Fields inherited from class it.eng.spagobi.engines.worksheet.services.AbstractWorksheetEngineAction
auditlogger
 
Fields inherited from class it.eng.spagobi.utilities.engines.AbstractEngineAction
PRIVATE_SCOPE, PUBLIC_SCOPE
 
Constructor Summary
GetWorksheetFieldsAction()
           
 
Method Summary
protected  java.lang.String getFieldAlias(it.eng.spagobi.tools.dataset.common.metadata.IFieldMetaData fieldMetaData)
           
protected  java.lang.String getFieldName(it.eng.spagobi.tools.dataset.common.metadata.IFieldMetaData fieldMetaData)
           
 void service(it.eng.spago.base.SourceBean request, it.eng.spago.base.SourceBean response)
           
 org.json.JSONArray writeFields(it.eng.spagobi.tools.dataset.common.metadata.IMetaData metadata)
           
 
Methods inherited from class it.eng.spagobi.engines.worksheet.services.AbstractWorksheetEngineAction
adjustMetadata, executeWorksheetQuery, getAllFields, getConnection, getDataSource, getEngineInstance, getFiltersOnDomainValues, getGlobalFiltersOnDomainValues, getOptionalFilters, getSheetFiltersOnDomainValues, getTemporaryTableName, persistDataSet, setDataSource, setEngineInstance, transformIntoWhereClauses, updateWorksheetDefinition
 
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
 

Field Detail

PROPERTY_VISIBLE

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

PROPERTY_IS_SEGMENT_ATTRIBUTE

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

PROPERTY_IS_MANDATORY_MEASURE

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

PROPERTY_AGGREGATION_FUNCTION

public static final java.lang.String PROPERTY_AGGREGATION_FUNCTION
See Also:
Constant Field Values
Constructor Detail

GetWorksheetFieldsAction

public GetWorksheetFieldsAction()
Method Detail

service

public void service(it.eng.spago.base.SourceBean request,
                    it.eng.spago.base.SourceBean response)
Specified by:
service in interface it.eng.spago.dispatching.service.ServiceIFace
Overrides:
service in class it.eng.spagobi.utilities.engines.AbstractEngineAction

writeFields

public org.json.JSONArray writeFields(it.eng.spagobi.tools.dataset.common.metadata.IMetaData metadata)
                               throws java.lang.Exception
Throws:
java.lang.Exception

getFieldAlias

protected java.lang.String getFieldAlias(it.eng.spagobi.tools.dataset.common.metadata.IFieldMetaData fieldMetaData)

getFieldName

protected java.lang.String getFieldName(it.eng.spagobi.tools.dataset.common.metadata.IFieldMetaData fieldMetaData)