Workflow updates to support deployment of a workflow definition sourced from the repository (ie. node of type bpm:workflowDefinition)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6770 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Jan Vonka
2007-09-12 21:26:12 +00:00
parent e99a9a0d3d
commit f161572b1e
11 changed files with 336 additions and 9 deletions

View File

@@ -216,7 +216,12 @@
<prop key="path">/${spaces.company_home.childname}/${spaces.dictionary.childname}</prop>
<prop key="location">alfresco/bootstrap/customWebClientExtensionSpace.xml</prop>
</props>
<props>
<prop key="path">/${spaces.company_home.childname}/${spaces.dictionary.childname}</prop>
<prop key="location">alfresco/bootstrap/customWorkflowDefsSpace.acp</prop>
</props>
</list>
</property>
</bean>

Binary file not shown.

View File

@@ -174,4 +174,6 @@ patch.AVMProperties.result=Properties were moved.
patch.customModels.description=Adds Models space to Data Dictionary.
patch.customMessages.description=Adds Messages space to Data Dictionary.
patch.customWebClientExtension.description=Adds Web Client Extension space to Data Dictionary.
patch.customWebClientExtension.description=Adds Web Client Extension space to Data Dictionary.
patch.customWorkflowDefs.description=Adds Workflow Definitions space to Data Dictionary.

View File

@@ -269,6 +269,32 @@
</overrides>
</type>
<!-- -->
<!-- Workflow Definition -->
<!-- -->
<type name="bpm:workflowDefinition">
<title>Workflow Process Definition</title>
<parent>cm:content</parent>
<properties>
<property name="bpm:definitionName">
<title>Workflow Name</title>
<type>d:text</type>
</property>
<property name="bpm:engineId">
<title>Workflow Engine Id</title>
<type>d:text</type>
<mandatory>true</mandatory>
<default>jbpm</default>
</property>
<property name="bpm:definitionDeployed">
<title>Workflow Deployed</title>
<type>d:boolean</type>
<default>false</default>
</property>
</properties>
</type>
</types>

View File

@@ -1017,4 +1017,25 @@
</property>
</bean>
<bean id="patch.customWorkflowDefs" class="org.alfresco.repo.admin.patch.impl.GenericBootstrapPatch" parent="basePatch" >
<property name="id"><value>patch.customWorkflowDefs</value></property>
<property name="description"><value>patch.customWorkflowDefs.description</value></property>
<property name="fixesFromSchema"><value>0</value></property>
<property name="fixesToSchema"><value>105</value></property>
<property name="targetSchema"><value>106</value></property>
<!-- bootstrap view -->
<property name="importerBootstrap">
<ref bean="spacesBootstrap" />
</property>
<property name="checkPath">
<value>/${spaces.company_home.childname}/${spaces.dictionary.childname}/app:workflow_defs</value>
</property>
<property name="bootstrapView">
<props>
<prop key="path">/${spaces.company_home.childname}/${spaces.dictionary.childname}</prop>
<prop key="location">alfresco/bootstrap/customWorkflowDefsSpace.acp</prop>
</props>
</property>
</bean>
</beans>

View File

@@ -19,4 +19,4 @@ version.build=@build-number@
# Schema number
version.schema=105
version.schema=106

View File

@@ -21,6 +21,8 @@
<property name="authorityService" ref="authorityService"/>
<property name="BPMEngineRegistry" ref="bpm_engineRegistry"/>
<property name="workflowPackageComponent" ref="workflowPackageImpl"/>
<property name="nodeService" ref="nodeService"/>
<property name="contentService" ref="contentService"/>
</bean>
<bean id="workflowPackageImpl" class="org.alfresco.repo.workflow.WorkflowPackageImpl">
@@ -106,5 +108,12 @@
<!-- Workflow Patch Deployer -->
<bean id="workflowPatchDeployer" parent="workflowDeployer" singleton="false"/>
<!-- Workflow Definition Type (bpm:workflowDefinition) -->
<bean id="workflowDefinitionType" class="org.alfresco.repo.workflow.WorkflowDefinitionType" init-method="init">
<property name="nodeService" ref="NodeService"/>
<property name="policyComponent" ref="policyComponent"/>
<property name="workflowService" ref="WorkflowService"/>
</bean>
</beans>