public interface ScriptProcessor
extends org.alfresco.processor.Processor
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
execute(org.alfresco.service.cmr.repository.NodeRef nodeRef,
org.alfresco.service.namespace.QName contentProp,
java.util.Map model)
Execute script
|
java.lang.Object |
execute(ScriptLocation location,
java.util.Map model)
Execute script
|
java.lang.Object |
execute(java.lang.String location,
java.util.Map model)
Execute script
|
java.lang.Object |
executeString(java.lang.String script,
java.util.Map model)
Execute script string
|
void |
reset()
Reset the processor - such as clearing any internal caches etc.
|
java.lang.Object execute(ScriptLocation location, java.util.Map model)
location - the location of the scriptmodel - context modeljava.lang.Object execute(org.alfresco.service.cmr.repository.NodeRef nodeRef,
org.alfresco.service.namespace.QName contentProp,
java.util.Map model)
nodeRef - the script node referencecontentProp - the content property of the scriptmodel - the context modeljava.lang.Object execute(java.lang.String location,
java.util.Map model)
location - the classpath string locating the scriptmodel - the context modeljava.lang.Object executeString(java.lang.String script,
java.util.Map model)
script - the script stringmodel - the context modelvoid reset()
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.