. First pass of the Alfresco JavaScript API wiki docs:

http://wiki.alfresco.com/wiki/JavaScript_API
 - JavaDoc and minor API updates that made sense as I was writing the documentation :)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2788 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Kevin Roast
2006-05-08 14:55:05 +00:00
parent f7b13bf0a0
commit ba9512439a
4 changed files with 108 additions and 31 deletions

View File

@@ -24,15 +24,15 @@ import org.alfresco.service.namespace.QName;
/**
* Script Service.
* <p>
* Provides an interface to services for executing the JavaScript engine against a script file
* against a Java object based scripting data model.
* Provides an interface to services for executing a JavaScript engine script file against a
* Java object based scripting data-model.
* <p>
* The template file can either be in the repository (passed as NodeRef string) or on the classpath.
* The script file can either be in the repository (passed as NodeRef string) or on the classpath.
* Also a script String can be passed directly to the service via the executeScriptString() methods.
* Java objects are passed into the scripting engine and methods can be accessed directly from the script.
* <p>
* A script is executed within a single transaction, any modifications to nodes or properties that fail
* and cause a rollback will rollback the entire script transaction.
* and cause a rollback which will rollback all repoistory modifications made by the script.
*
* @author Kevin Roast
*/