|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ScriptProcessor
Script processor interface
| Method Summary | |
|---|---|
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. |
| Methods inherited from interface org.alfresco.processor.Processor |
|---|
getExtension, getName, registerProcessorExtension |
| Method Detail |
|---|
java.lang.Object execute(ScriptLocation location,
java.util.Map model)
location - the location of the scriptmodel - context model
java.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 model
java.lang.Object execute(java.lang.String location,
java.util.Map model)
location - the classpath string locating the scriptmodel - the context model
java.lang.Object executeString(java.lang.String script,
java.util.Map model)
script - the script stringmodel - the context model
void reset()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||