org.alfresco.repo.web.scripts
Class RepositoryScriptProcessor
java.lang.Object
org.alfresco.repo.web.scripts.RepositoryScriptProcessor
- All Implemented Interfaces:
- org.springframework.extensions.webscripts.ScriptProcessor
public class RepositoryScriptProcessor
- extends java.lang.Object
- implements org.springframework.extensions.webscripts.ScriptProcessor
Repository (server-tier) Web Script Processor
Field Summary |
protected org.springframework.extensions.webscripts.ScriptLoader |
scriptLoader
|
protected org.alfresco.service.cmr.repository.ScriptService |
scriptService
|
protected org.springframework.extensions.webscripts.SearchPath |
searchPath
|
Method Summary |
java.lang.Object |
executeScript(org.springframework.extensions.webscripts.ScriptContent content,
java.util.Map model)
|
java.lang.Object |
executeScript(java.lang.String path,
java.util.Map model)
|
org.springframework.extensions.webscripts.ScriptContent |
findScript(java.lang.String path)
|
void |
reset()
|
void |
setScriptService(org.alfresco.service.cmr.repository.ScriptService scriptService)
|
void |
setSearchPath(org.springframework.extensions.webscripts.SearchPath searchPath)
|
java.lang.Object |
unwrapValue(java.lang.Object value)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
scriptService
protected org.alfresco.service.cmr.repository.ScriptService scriptService
scriptLoader
protected org.springframework.extensions.webscripts.ScriptLoader scriptLoader
searchPath
protected org.springframework.extensions.webscripts.SearchPath searchPath
RepositoryScriptProcessor
public RepositoryScriptProcessor()
setScriptService
public void setScriptService(org.alfresco.service.cmr.repository.ScriptService scriptService)
- Parameters:
scriptService
-
setSearchPath
public void setSearchPath(org.springframework.extensions.webscripts.SearchPath searchPath)
- Parameters:
searchPath
-
findScript
public org.springframework.extensions.webscripts.ScriptContent findScript(java.lang.String path)
- Specified by:
findScript
in interface org.springframework.extensions.webscripts.ScriptProcessor
executeScript
public java.lang.Object executeScript(java.lang.String path,
java.util.Map model)
throws org.alfresco.scripts.ScriptException
- Specified by:
executeScript
in interface org.springframework.extensions.webscripts.ScriptProcessor
- Throws:
org.alfresco.scripts.ScriptException
executeScript
public java.lang.Object executeScript(org.springframework.extensions.webscripts.ScriptContent content,
java.util.Map model)
- Specified by:
executeScript
in interface org.springframework.extensions.webscripts.ScriptProcessor
unwrapValue
public java.lang.Object unwrapValue(java.lang.Object value)
- Specified by:
unwrapValue
in interface org.springframework.extensions.webscripts.ScriptProcessor
reset
public void reset()
- Specified by:
reset
in interface org.springframework.extensions.webscripts.ScriptProcessor
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.