public class RepositoryScriptProcessor extends Object implements org.springframework.extensions.webscripts.ScriptProcessor
| Modifier and Type | Field and Description |
|---|---|
protected org.springframework.extensions.webscripts.ScriptLoader |
scriptLoader |
protected org.alfresco.service.cmr.repository.ScriptService |
scriptService |
protected org.springframework.extensions.webscripts.SearchPath |
searchPath |
| Constructor and Description |
|---|
RepositoryScriptProcessor() |
| Modifier and Type | Method and Description |
|---|---|
Object |
executeScript(org.springframework.extensions.webscripts.ScriptContent content,
Map<String,Object> model) |
Object |
executeScript(String path,
Map<String,Object> model) |
org.springframework.extensions.webscripts.ScriptContent |
findScript(String path) |
void |
reset() |
void |
setScriptService(org.alfresco.service.cmr.repository.ScriptService scriptService) |
void |
setSearchPath(org.springframework.extensions.webscripts.SearchPath searchPath) |
Object |
unwrapValue(Object value) |
protected org.alfresco.service.cmr.repository.ScriptService scriptService
protected org.springframework.extensions.webscripts.ScriptLoader scriptLoader
protected org.springframework.extensions.webscripts.SearchPath searchPath
public void setScriptService(org.alfresco.service.cmr.repository.ScriptService scriptService)
scriptService - ScriptServicepublic void setSearchPath(org.springframework.extensions.webscripts.SearchPath searchPath)
searchPath - SearchPathpublic org.springframework.extensions.webscripts.ScriptContent findScript(String path)
findScript in interface org.springframework.extensions.webscripts.ScriptProcessorpublic Object executeScript(String path, Map<String,Object> model) throws org.alfresco.scripts.ScriptException
executeScript in interface org.springframework.extensions.webscripts.ScriptProcessororg.alfresco.scripts.ScriptExceptionpublic Object executeScript(org.springframework.extensions.webscripts.ScriptContent content, Map<String,Object> model)
executeScript in interface org.springframework.extensions.webscripts.ScriptProcessorpublic Object unwrapValue(Object value)
unwrapValue in interface org.springframework.extensions.webscripts.ScriptProcessorpublic void reset()
reset in interface org.springframework.extensions.webscripts.ScriptProcessorCopyright © 2005–2018 Alfresco Software. All rights reserved.