com.trackstudio.app
Class CalculatedValue
java.lang.Object
com.trackstudio.app.CalculatedValue
public class CalculatedValue
- extends java.lang.Object
Field Summary |
static java.lang.String |
CREATED_OBJECTS
|
static java.lang.String |
INPUT_MAP
|
static java.lang.String |
LOG
|
static java.lang.String |
MESSAGE
|
static java.lang.String |
SC
|
static java.lang.String |
TASK
|
static java.lang.String |
USER
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TASK
public static final java.lang.String TASK
- See Also:
- Constant Field Values
USER
public static final java.lang.String USER
- See Also:
- Constant Field Values
MESSAGE
public static final java.lang.String MESSAGE
- See Also:
- Constant Field Values
INPUT_MAP
public static final java.lang.String INPUT_MAP
- See Also:
- Constant Field Values
SC
public static final java.lang.String SC
- See Also:
- Constant Field Values
LOG
public static final java.lang.String LOG
- See Also:
- Constant Field Values
CREATED_OBJECTS
public static final java.lang.String CREATED_OBJECTS
- See Also:
- Constant Field Values
CalculatedValue
public CalculatedValue(java.lang.String formula,
Secured tci)
throws GranException
- Possible it need checks for vulnerability
- Parameters:
formula
- Encoded formula. Use decode() to decodingtci
-
- Throws:
GranException
CalculatedValue
public CalculatedValue(java.lang.String formula,
java.util.Map map,
SessionContext sc,
java.util.ArrayList createdObjects)
throws GranException
- Throws:
GranException
getCsvImportVariables
public java.util.Map getCsvImportVariables()
setCsvImportVariables
public void setCsvImportVariables(java.util.Map csvImportVariables)
getInstance
public static CalculatedValue getInstance()
throws GranException
- Throws:
GranException
getNameSpace
public bsh.NameSpace getNameSpace()
getMethods
public java.util.HashMap getMethods()
getOperators
public java.util.HashMap getOperators()
getConstants
public java.util.HashMap getConstants()
getMsgProperties
public java.util.Map getMsgProperties()
getTaskProperties
public java.util.Map getTaskProperties()
getCsvImportProperties
public java.util.Map getCsvImportProperties()
getCsvImportMethods
public java.util.Map getCsvImportMethods()
setFormula
public void setFormula(java.lang.String formula)
getValue
public java.lang.Object getValue()
throws java.lang.Exception
- Throws:
java.lang.Exception
decode
public static java.lang.String decode(java.lang.String s)
encode
public static java.lang.String encode(java.lang.String sent)
getValue
public java.lang.Object getValue(java.lang.String formula,
Secured tci,
java.lang.String scriptId)
throws GranException,
bsh.EvalError
- Throws:
GranException
bsh.EvalError
Copyright © 2002-2008 TrackStudio, Ltd. All Rights Reserved.