Package | Description |
---|---|
org.alfresco.repo.jscript | |
org.alfresco.repo.processor | |
org.alfresco.service.cmr.repository |
Modifier and Type | Class and Description |
---|---|
class |
RhinoScriptProcessor
Implementation of the ScriptProcessor using the Rhino JavaScript library.
|
Modifier and Type | Method and Description |
---|---|
protected ScriptProcessor |
ScriptServiceImpl.getScriptProcessor(org.alfresco.service.cmr.repository.NodeRef scriptNode)
Gets a scipt processor based on the node reference of a script
|
protected ScriptProcessor |
ScriptServiceImpl.getScriptProcessor(String scriptLocation)
Gets a script processor based on the script location string
|
protected ScriptProcessor |
ScriptServiceImpl.getScriptProcessorImpl(String scriptFileName)
Gets a script processor based on the scripts file name
|
protected ScriptProcessor |
ScriptServiceImpl.lookupScriptProcessor(String name)
Helper method to lookup the script processor based on a name
|
Modifier and Type | Method and Description |
---|---|
protected Object |
ScriptServiceImpl.execute(ScriptProcessor processor,
org.alfresco.service.cmr.repository.NodeRef scriptRef,
org.alfresco.service.namespace.QName contentProp,
Map<String,Object> model)
Execute script
|
protected Object |
ScriptServiceImpl.execute(ScriptProcessor processor,
ScriptLocation location,
Map<String,Object> model)
Execute script
|
protected Object |
ScriptServiceImpl.execute(ScriptProcessor processor,
String location,
Map<String,Object> model)
Execute script
|
protected Object |
ScriptServiceImpl.executeString(ScriptProcessor processor,
String script,
Map<String,Object> model)
Execute script string
|
void |
ScriptServiceImpl.registerScriptProcessor(ScriptProcessor scriptProcessor)
Register a script processor
|
Modifier and Type | Method and Description |
---|---|
void |
ScriptService.registerScriptProcessor(ScriptProcessor scriptProcessor)
Registers a script processor with the script service
|
Copyright © 2005–2017 Alfresco Software. All rights reserved.