36 Commits

Author SHA1 Message Date
Derek Hulley
be167f60cf Merged V1.4 to HEAD
svn merge svn://svn.alfresco.com:3691/alfresco/BRANCHES/V1.4@3987 svn://svn.alfresco.com:3691/alfresco/BRANCHES/V1.4@4133 .
   Removed LicenseComponent reference from projects\repository\source\java\org\alfresco\repo\descriptor\DescriptorServiceImpl.java


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4135 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-10-17 22:42:59 +00:00
Derek Hulley
cf29ca2343 Merged V1.4 to HEAD
svn merge svn://svn.alfresco.com:3691/alfresco/BRANCHES/V1.4@3925 svn://svn.alfresco.com:3691/alfresco/BRANCHES/V1.4@3965 .


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3966 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-29 07:45:33 +00:00
Derek Hulley
d2bce74f0b Merge V1.4 to HEAD
- Ignored Enterprise-specific changes
   svn merge svn://svn.alfresco.com:3691/alfresco/BRANCHES/V1.4@3701 svn://svn.alfresco.com:3691/alfresco/BRANCHES/V1.4@3703 .
   svn merge svn://svn.alfresco.com:3691/alfresco/BRANCHES/V1.4@3704 svn://svn.alfresco.com:3691/alfresco/BRANCHES/V1.4@3705 .
   svn merge svn://svn.alfresco.com:3691/alfresco/BRANCHES/V1.4@3707 svn://svn.alfresco.com:3691/alfresco/BRANCHES/V1.4@3876 .
   svn revert root\projects\web-client\source\web\jsp\admin\admin-console.jsp


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3879 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-21 23:35:51 +00:00
Derek Hulley
f9bec19af6 Added missing annotation to WorkFlowService
Fixed incorrect workflow URL reference
Added authentication to test


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3685 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-04 22:11:21 +00:00
Gavin Cornwell
0a782e7acb - Added client pieces for handling ad hoc workflow tasks
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3614 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-25 15:43:53 +00:00
David Caruana
c25aa603a6 Workflow:
- Add workflow initiator process variable (Person Node)
- Add workflow initiator to WorkflowInstance API Object

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3611 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-25 13:43:27 +00:00
David Caruana
4b19979671 Workflow:
- Addition of start date and end date to Workflow Instance API Object
- Support redeploy (force if already there) of process definition in WorkflowDeployer bean
- Addition of Ad-hoc Task Workflow example definition for Workflow Administration WIKI page

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3604 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-24 18:49:29 +00:00
David Caruana
b08f6848a3 Workflow:
- Some fixes after merging with Gav's latest web client updates
- Display of Outcome on completed Tasks
- Saving of Task with null Due Date
- Fix to how workflow service api IDs are represented

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3598 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-23 23:41:50 +00:00
David Caruana
a1b721a7ab Workflow:
- Addition of Workflow Task URL Command Processor

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3597 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-23 22:34:00 +00:00
Gavin Cornwell
6e389645d2 - Another workflow checkpoint
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3596 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-23 22:16:37 +00:00
David Caruana
a1cecd80c9 Workflow:
- Addition of Start Advanced Workflow Action
- Addition of WorkflowService.getWorkflowDefinitionByName
- Add test for ugly jbpm persistence/retrieval issue seen in web client, but not reproducable via api

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3593 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-23 20:48:58 +00:00
David Caruana
e9398f8e69 Data Dictionary:
- Add check to ensure property override actually refers to an existing property
Workflow:
- Fix overridden property defaults for Review & Approve tasks
- Update workflow resource bundles to reflect recent model changes

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3576 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-23 00:07:54 +00:00
David Caruana
54bf835f2d Workflow:
- map jbpm task created date to alfresco task
- implement jbpm task default values (as defined by task model)
- implement task outcome property (i.e. record the transition taken on completed tasks)
- add definition of task node to WorkflowTask API Object

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3574 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-22 23:25:47 +00:00
David Caruana
6f462eae09 Workflow:
- additional task model properties for task action groups
- fix issue persisting and retrieving noderef lists in jbpm (as found by Gav)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3566 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-22 16:44:58 +00:00
David Caruana
aabbd7e00b Workflow:
- Fix failing test due to incorrect comparisons of id
- Further consolidation of id, name, title & description properties of workflow objects

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3563 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-22 10:41:18 +00:00
David Caruana
e4872ca8a5 Workflow:
1) Fix bug in task property conversion for associations where association was single-ended, but list passed in (was causing exception in start workflow ui)
2) Tidy up Review & Approve Process definition (assign appropriate names, set review task due date, priority etc)
3) Provide resource bundles for basic BPM model and Review & Approve workflow
4) Fix bug in I18N resolution of workflow task title & description

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3556 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-21 20:29:21 +00:00
David Caruana
a0462aee48 Workflow:
1) Associations to people are recorded as person nodes in the process context (for access to name, e-mail etc)
2) Short-term solution for Beanshell, Javascript compatibility
3) Small adjustment to Review & Approve process definition to support workflow package

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3555 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-21 15:23:12 +00:00
Gavin Cornwell
ec2d4e33a2 typo fix
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3546 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-18 10:12:33 +00:00
David Caruana
afd62f4ff8 Workflow:
1) Add access to process definition warnings in workflow service deploy method
2) Fix nasty little bug found by Gav where jBPM beanshell access to Alfresco Node failed as it expected slightly different object types to those expected by Alfresco Javascript access to Node.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3543 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-17 19:05:12 +00:00
David Caruana
c3875d0d36 Workflow:
1) Add access to process definition warnings in workflow service deploy method
2) Fix nasty little bug found by Gav where jBPM beanshell access to Alfresco Node failed as it expected slightly different object types to those expected by Alfresco Javascript access to Node.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3542 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-17 19:04:38 +00:00
David Caruana
7c670da1b0 Workflow:
1) Support for localisation of all Workflow definitions
2) Consolidate on id, title & description fields for all Workflow API objects
3) Add WorkflowTransition object to Workflow APIs
4) Fix up damage of above changes (web client etc)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3528 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-16 18:07:27 +00:00
David Caruana
86d5ef460c Workflow Service:
1) Fix bug in retrieving completed tasks for an authority - unfortunately, this is not provided OOTB by jBPM!, so extended in their recommended way
2) Support for creating a Workflow Package (a container of content that's routed through the workflow) - can create a new container or provide an existing one (e.g. a versioned folder, layered folder).  Provide appropriate patch for creating workflow system folder in repository etc.
3) Collapsed WorkflowDefinitionComponent into WorkflowComponent interface

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3522 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-15 18:14:27 +00:00
David Caruana
dc51984cce 1) Minor mods to Rhinoscript Actions
- rename createAction to create
- add (read-only) name property to action
2) Addition of createPackage to Workflow Service API (no implementation yet)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3510 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-15 12:52:19 +00:00
David Caruana
5e0163001f BPM Engine:
- Implement getTaskById

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3497 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-14 15:12:59 +00:00
David Caruana
cddf5ac2ab First cut of hooking Alfresco JavaScript into jBPM process definition.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3486 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-11 18:01:56 +00:00
David Caruana
17ab601380 First cut of Alfresco Node support in jBPM process instances:
- NodeRefs placed into process context are converted to Script Nodes (as used in javascript)
- jBPM persistence of Nodes configured to serialize/deserialize as NodeRef strings
- jBPM process script (Beanshell) can access Alfresco Nodes in same manner as Alfresco Javascript

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3484 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-11 14:08:49 +00:00
Gavin Cornwell
0b74cbb36c First cut of the start workflow wizard
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3483 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-11 12:22:18 +00:00
Gavin Cornwell
cb40050bcd Bug fixes for handling mapping of users
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3482 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-11 11:44:31 +00:00
David Caruana
17a40c3e51 Workflow Checkpoint:
- Process deploy/isDeployed/undeploy implemented in Workflow Service
- Servlet implemented to support jBPM Process Designer deployment (using above service) : mapped to /alfresco/jbpm/deployprocess URL
- Workflow deployer bootstrap bean (for once- only loading of process definitions at bootstrap)
- Initial cut of Review & Approve process definition & Task definitions (bootstrapped)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3477 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-09 23:37:06 +00:00
David Caruana
e7e4efb6c0 Fix JBPM Engine tests
- fixed issue ending the "start" task

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3471 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-08 23:17:47 +00:00
David Caruana
47833426ca Workflow Checkpoint:
- BPM Model (xml & QName definitions)
- Getting / Setting / Updating Task Properties

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3470 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-08 17:35:50 +00:00
David Caruana
25123a4504 Workflow checkpoint:
- BPM Engine Registry & Plug-in SPIs
- First JBoss JBPM based Implementation of SPIs
- Workflow Service Implementation
- Tests

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3436 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-07-28 22:58:02 +00:00
David Caruana
50ae7908ae Workflow checkpoint.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3399 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-07-25 20:56:42 +00:00
David Caruana
e02ee2fd09 Further removal of jBPM initialisation for build.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3386 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-07-24 14:27:02 +00:00
David Caruana
d1acea9b24 Add support for writing jBPM plug-in actions which have access to Spring context.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3321 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-07-13 17:58:11 +00:00
David Caruana
ab8e78e1f7 Integrate jBPM engine into the Alfresco Spring Context - .jars, beans, db connections & transactions.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3318 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-07-13 12:22:37 +00:00