|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.eng.spagobi.managers.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 |
---|
equals, 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
public static java.lang.String runScript(java.lang.String script) throws java.lang.Exception
script
- the script to run
java.lang.Exception
public 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
attrs
- User Profile which contains attributes to load into a binding
it.eng.spago.error.EMFInternalError
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |