it.eng.spagobi.engines.chart.utils
Class DataSetAccessFunctions
java.lang.Object
it.eng.spagobi.engines.chart.utils.DataSetAccessFunctions
public class DataSetAccessFunctions
- extends java.lang.Object
Internal Engine
Field Summary |
static java.lang.String |
FILE
|
static java.lang.String |
QUERY
|
static java.lang.String |
WEBSERVER
|
Method Summary |
static java.lang.String |
getDataSetResult(it.eng.spago.security.IEngUserProfile profile,
IDataSet ds,
java.util.Map parameters)
Gets the data set result. |
static java.lang.String |
getDataSetResultFromId(it.eng.spago.security.IEngUserProfile profile,
java.lang.String dsId,
java.util.Map parameters)
returns the result of a LOV |
static java.lang.String |
getDataSetResultFromLabel(it.eng.spago.security.IEngUserProfile profile,
java.lang.String label,
java.util.Map parameters)
Gets the data set result from label. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FILE
public static final java.lang.String FILE
- See Also:
- Constant Field Values
QUERY
public static final java.lang.String QUERY
- See Also:
- Constant Field Values
WEBSERVER
public static final java.lang.String WEBSERVER
- See Also:
- Constant Field Values
DataSetAccessFunctions
public DataSetAccessFunctions()
getDataSetResultFromId
public static java.lang.String getDataSetResultFromId(it.eng.spago.security.IEngUserProfile profile,
java.lang.String dsId,
java.util.Map parameters)
throws java.lang.Exception
- returns the result of a LOV
it is used both to get the value of the chart and to get its configuration parameters if there defined.
- Parameters:
profile
- IEngUserProfile of the userdsId
- the ds idparameters
- the parameters
- Returns:
- the data set result from id
- Throws:
it.eng.spago.error.EMFUserError
- * @throws NumberFormatException * @throws Exception the exception
java.lang.Exception
getDataSetResultFromLabel
public static java.lang.String getDataSetResultFromLabel(it.eng.spago.security.IEngUserProfile profile,
java.lang.String label,
java.util.Map parameters)
throws java.lang.Exception
- Gets the data set result from label.
- Parameters:
profile
- the profilelabel
- the labelparameters
- the parameters
- Returns:
- the data set result from label
- Throws:
java.lang.Exception
- the exception
getDataSetResult
public static java.lang.String getDataSetResult(it.eng.spago.security.IEngUserProfile profile,
IDataSet ds,
java.util.Map parameters)
throws java.lang.Exception
- Gets the data set result.
- Parameters:
profile
- the profileds
- the dsparameters
- the parameters
- Returns:
- the data set result
- Throws:
java.lang.Exception
- the exception