2 Commits

Author SHA1 Message Date
N Smith
9f315acff6 Updated the Workflow Rest API classes to use the getter methods on various Workflow DTOs instead of accessing the public fields.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21565 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-03 11:41:28 +00:00
Gavin Cornwell
4cd5e90110 Merged BRANCHES/DEV/FORM-REFACTOR-MERGE to HEAD:
20935: Branch for form processor refactor merge
   21075: Utility class to help with writing tests which require creation/management of a person.
   21076: Forms Processor Refactor. Refactored the FilteredFormProcessor and ContentModelFormProcessor classes to be more concise. Also introduced the notion of a Field, FieldProcessors and the FieldProcessorRegistry. These are currently responsible for generating different types of fields such as Association fields, Property fields and the various transient fields.
   21083: Moved some utility classes into the correct packages for Forms.
   21084: Created
   21087: Created TaskFormProcessor
   21101: Added test for fdk:period property, in particular the retrieval of it's data type parameters
   21109: Fixed some issues witht he field processor logging. Also fixed an issue where data type properties were not being set correctly for Period property fields.
   21121: Changed AssociationFieldProcessor so that it now adds an empty list as a value instead of null.
   21124: Formatting updates and disabled FDK test ready for merge to HEAD


This commit contains all the re-factoring Nick has been doing to make the form processor mechansim more flexible for form filter developers and more importantly to make it easier to add additional form processor implementations, in particular the TaskFormProcessor and WorkflowFormProcessor. 

A field processor mechanism has also been introduced, this allows the processing of fields to be handled outside of the form processor and means common field handling code can be reused across different form processors. The field processors are also pluggable via Spring config so it's easy for customers to add their own or replace/override ours.

We have run numerous tests (unit and manual UI) and all seems well but as with any change of this size there maybe some edge cases that get missed so please let one of us know if you see any strange behaviour.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21134 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-07-13 15:03:19 +00:00