|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.eng.spagobi.behaviouralmodel.lov.handlers.ScriptManager
public class ScriptManager
Constructor Summary | |
---|---|
ScriptManager()
|
Method Summary | |
---|---|
static groovy.lang.Binding |
fillBinding(java.util.HashMap attrs)
Fill a groovy binding with attributes of an hashmap. |
static groovy.lang.Binding |
fillBinding(it.eng.spago.security.IEngUserProfile profile)
Fill a groovy binding with attributes of a user profile. |
static java.lang.String |
runScript(java.lang.String script)
Run a script. |
static java.lang.String |
runScript(java.lang.String script,
groovy.lang.Binding bind)
Run a script. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ScriptManager()
Method Detail |
---|
public static java.lang.String runScript(java.lang.String script, groovy.lang.Binding bind) throws java.lang.Exception
script
- the script to runbind
- the bindings for script variables
java.lang.Exception
- the exceptionpublic static java.lang.String runScript(java.lang.String script) throws java.lang.Exception
script
- the script to run
java.lang.Exception
- the exceptionpublic static groovy.lang.Binding fillBinding(java.util.HashMap attrs)
attrs
- Map of attibutes to load into binding
public static groovy.lang.Binding fillBinding(it.eng.spago.security.IEngUserProfile profile) throws it.eng.spago.error.EMFInternalError
profile
- the profile
it.eng.spago.error.EMFInternalError
- the EMF internal error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |