---------
Overhaul of some areas of Workflow JavaScript API implementation after 2nd review - see details.
Details:
--------
- Fleshed out some of the JavaDocs that needed more detail
- Package changed from org.alfresco.repo.workflow.jsapi to org.alfresco.repo.workflow.jscript
- Prefixed class names of Bean classes with Jscript to keep them distinct from the names of similar classes in org.alfresco.service.cmr.workflow (no longer have to namespace these latter classes everywhere in the code)
- Added JscriptWorkflowTransition and JscriptWorkflowNode classes
- fixing code in various backing beans where instance variables exposed as public by mistake and not as they should using getters
- fixing up problems with some collections/objects being passed back not being scriptable
- Converting backing beans to all be Serializable and having UID set to appropriate values given by using serialver utility
- Changing code so that all Java List to JavaScript array conversions use ValueConvertor.convertValueForScript(...) helper method (much cleaner code)
- Fixing code so that root scripting scope reference available in all backing beans and retro-fitting all their contructors to receive the scope as a parameter so that it is available if needed
- Change constructors of backing beans to be consistent with each other i.e. all of them receiving Service Registry as parameter, and not a mixture of Service Registry for some and Workflow Service for others
- Fixed places where Map was being passed back instead of ScriptableQNameMap
- Some of the member variables in JscriptWorkflowNode and JscriptWorkflowTransition were not exposed as properties - this was fixed up
- Changed WorkflowManager so that WorkflowService is no longer injected. It does not need to be injected as it can be derived from the RegistryService which is already being injected
Files:
------
M – Repository/config/alfresco/script-services-context.xml
M – Repository/source/java/org/alfresco/repo/workflow/jscript/WorkflowManager.java
D – Repository/source/java/org/alfresco/repo/workflow/jsapi/
D – Repository/source/java/org/alfresco/repo/workflow/jsapi/WorkflowDefinition.java
D – Repository/source/java/org/alfresco/repo/workflow/jsapi/WorkflowInstance.java
D – Repository/source/java/org/alfresco/repo/workflow/jsapi/WorkflowManager.java
D – Repository/source/java/org/alfresco/repo/workflow/jsapi/WorkflowPath.java
D – Repository/source/java/org/alfresco/repo/workflow/jsapi/WorkflowTask.java
A – Repository/source/java/org/alfreco/repo/workflow/jscript/
A – Repository/source/java/org/alfreco/repo/workflow/jscript/JscriptWorkflowDefinition.java
A – Repository/source/java/org/alfresco/repo/workflow/jscript/JscriptWorkflowInstance.java
A – Repository/source/java/org/alfresco/repo/workflow/jscript/JscriptWorkflowNode.java
A – Repository/source/java/org/alfresco/repo/workflow/jscript/JscriptWorkflowPath.java
A – Repository/source/java/org/alfresco/repo/workflow/jscript/JscriptWorkflowTask.java
A – Repository/source/java/org/alfresco/repo/workflow/jscript/JscriptWorkflowTransition.java
D – Repository/source/java/org/alfresco/repo/workflow/jscript/WorkflowDefinition.java
D – Repository/source/java/org/alfresco/repo/workflow/jscript/WorkflowInstance.java
D – Repository/source/java/org/alfresco/repo/workflow/jscript/WorkflowPath.java
D – Repository/source/java/org/alfresco/repo/workflow/jscript/WorkflowTask.java
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6904 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
6846: used ] instead of } in ${ldap.synchronisation.userIdAttributeName]
6856: Fixed 2 NPEs, one reported by MIT and one found by Jan (WCM-835)
6859: Truncate an existing file when uploading via FTP. WCM-836.
6869: Removed temporary files and folders from deploy-installer project
6870: Updated ignore property
6875: Fix for AWC-1605
6878: Fix for AWC-1587
6880: Fix for French language pack - locked_user message
6883: Fix for AWC-1565
6884: Relax trhe permissions required to get the parent links from a child node
6891: Fix for AR-1781 and AR-1782 (requires CHK-1451)
6892: Fixed AR-1777: Node status not updated for addition and removal of secondary associations (affects index tracking)
6893: Sample for replicating content store sample
6896: Added JVM shutdown check into inner loop to get faster breakout in the event of shutdown.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6899 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
6833: Kerberos web filter for the web client.
6834: Kerberos web filter for WebDAV
6835: Updates to CIFS Kerberos logon support.
6836: Fix issue with editing properties of AVM nodes and changed clipboard to use lock aware AVM service
6837: Commented out the unknown opcode reporting as it can quickly fill the log files. AR-1742.
6839: Patch to allow * and ? wildcard characters within a term in any web-client search
6840: Fixed AR-1769: InvalidNameEndingPatch fails when running on 2.1
6841: AR-1761.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6873 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
6817: Fix for a resource bundle isue with regen renditions wizard and snapshot labels.
6809: Fixes for locking and permission related issues relating to forms.
6808: Uunit test update
6799: AR-1760: Office webscript : property is undefined when opening a document
6799: WCM submit dialog now sets focus to first field (label) rather than second (comment)
6795: Fix to line break encoder.
6781: WebDAV auth to return HTTP 401 instead of exception when user is null
6775: Fix for appserver shutdown hang
6761: Using avmService instead of nodeService to avoid a permission error MIT is seeing.
6742: Fix for MIT locking issue for content contributors
6706: Fixes to make wizard pages work in standards compliant mode.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6823 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
Benchmark client
Note:
- Loading types still need to be fleshed out
- The content over RMI is weak, but sufficient for this use-case.
- An all-round solution for RMI content serialization is needed for ContentReader and ContentWriter, probably using the RemotableInputStream, etc
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6783 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
6636: Temporary hack to fix build.
6637: Better handling of binary string bufs, disable link validation when poll interval is <= 0
6638: Forgotten files for TXT to PDF transformer.
6639: Fix for AWC-1541
6641: Fix for WCM-792.
6642: A little extra PropertyValue support for createNode, too.
6643: Fix for WCM-791
6644: Closure of AR-1528: Check concurrency handling of DuplicateChildNodeNameException
6647: Fix WCM-794
6648: WCM-656
6650: Applied user supplied patch to fix AWC-1546 - Cannot mount AVM using CIFS on new alfresco installation.
6651: Index tidy ups
6654: Various minor updates for passthru authentication debugging and error handling.
6657: Fix for WCM-799 (Some items selected for submission were not present)
6659: Updated installers.
6660: Partial fix to AWC-1524
6661: Fix WCM-803
6664: Including hibernate-3.2.1.jar in $VIRTUAL_TOMCAT_HOME/server/lib/
6665: adding an automated unit test for output path patterns.
6668: Fixed to add shale-test-1.0.4.jar to Eclipse classpath (PHH oked)
6681: Fixes WCM-811 - Lookup.getIndirectionPath() had a bit of a howler in it.
6684: UncategorizedSQLException with the word 'deadlock' in the message is now cause for retrying a transaction.
6691: Fix for WCM-813 (lock not removed when expiration date set and no workflow on web project)
6696: Imporved SSO filters for SiteMinder etc + test filter
6697: Support for scheduled import
6699: Fix for the compliation target: compile-benchmarkframework
6701: Fix for 1.6 JVMs (1.5 gets by with lucky ordering)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6749 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261