public class TMLScriptHDBModelProcess extends Object implements HDBModelProcess, WGACoreAwareHDBModelProcess
HDBModelProcess
which executes the code of a TMLScript moduleConstructor and Description |
---|
TMLScriptHDBModelProcess(de.innovationgate.webgate.api.WGDatabase db,
String moduleName)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
run(de.innovationgate.webgate.api.WGContent content,
Map<String,Object> params) |
void |
setCore(WGACore core) |
public TMLScriptHDBModelProcess(de.innovationgate.webgate.api.WGDatabase db, String moduleName)
db
- App containing the modulemoduleName
- Name of a TMLScript module to executepublic void run(de.innovationgate.webgate.api.WGContent content, Map<String,Object> params) throws Throwable
run
in interface HDBModelProcess
Throwable
public void setCore(WGACore core)
setCore
in interface WGACoreAwareHDBModelProcess