public interface ScriptProcessor
| Modifier and Type | Method and Description |
|---|---|
Object |
executeScript(ScriptContent location,
Map<String,Object> model)
Execute script
|
Object |
executeScript(String path,
Map<String,Object> model)
Execute script
|
ScriptContent |
findScript(String path)
Find a script at the specified path (within registered Web Script stores)
|
void |
reset()
Reset script cache
|
Object |
unwrapValue(Object value)
Unwrap value returned by script
TODO: Remove this method when value conversion is truly hidden within script engine
|
ScriptContent findScript(String path)
path - script pathObject executeScript(String path, Map<String,Object> model)
path - script pathmodel - modelObject executeScript(ScriptContent location, Map<String,Object> model)
location - script locationmodel - modelObject unwrapValue(Object value)
value - value to unwrapvoid reset()
Copyright © 2005–2021 Alfresco Software. All rights reserved.