ALF-4344: F72/73 Scheduling Service Data Model

- model for persistent action schedules
- bootstrap / patch for 'Scheduled Actions' data dictionary folder

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21809 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
David Caruana
2010-08-16 14:37:45 +00:00
parent fdc64e923d
commit 261cb71aea
5 changed files with 71 additions and 2 deletions

View File

@@ -590,6 +590,11 @@
<prop key="location">alfresco/bootstrap/transferTargetRule.xml</prop> <prop key="location">alfresco/bootstrap/transferTargetRule.xml</prop>
</props> </props>
<props>
<prop key="path">/${spaces.company_home.childname}/${spaces.dictionary.childname}</prop>
<prop key="location">alfresco/bootstrap/scheduledActionsFolder.xml</prop>
</props>
</list> </list>
</property> </property>
</bean> </bean>

View File

@@ -365,3 +365,5 @@ patch.migrateAttrDelete.result=Old attributes were deleted (if any)
patch.transfer.targetrulefolder.description=Creates the transfer target rule folder for the default transfer group. patch.transfer.targetrulefolder.description=Creates the transfer target rule folder for the default transfer group.
patch.transfer.targetrule.description=Creates the transfer target rule for the default transfer group. patch.transfer.targetrule.description=Creates the transfer target rule for the default transfer group.
patch.actions.scheduledfolder.description=Creates the scheduled actions folder in the Data Dictionary.

View File

@@ -2409,4 +2409,25 @@
</property> </property>
</bean> </bean>
<bean id="patch.actions.scheduledfolder" class="org.alfresco.repo.admin.patch.impl.GenericBootstrapPatch" parent="basePatch" >
<property name="id"><value>patch.actions.scheduledfolder</value></property>
<property name="description"><value>patch.actions.scheduledfolder.description</value></property>
<property name="fixesFromSchema"><value>0</value></property>
<property name="fixesToSchema"><value>4109</value></property>
<property name="targetSchema"><value>4110</value></property>
<!-- bootstrap view -->
<property name="importerBootstrap">
<ref bean="spacesBootstrap" />
</property>
<property name="checkPath">
<value>/app:company_home/app:dictionary/cm:Scheduled_x0020_Actions</value>
</property>
<property name="bootstrapView">
<props>
<prop key="path">/app:company_home/app:dictionary</prop>
<prop key="location">alfresco/bootstrap/scheduledActionsFolder.xml</prop>
</props>
</property>
</bean>
</beans> </beans>

View File

@@ -19,4 +19,4 @@ version.build=@build-number@
# Schema number # Schema number
version.schema=4109 version.schema=4110

View File

@@ -215,8 +215,49 @@
</properties> </properties>
</type> </type>
</types> <type name="act:actionSchedule">
<title>Persistent Action Schedule</title>
<parent>cm:cmobject</parent>
<properties>
<property name="act:startDate">
<type>d:datetime</type>
<mandatory>true</mandatory>
</property>
<property name="act:intervalCount">
<type>d:int</type>
<mandatory>true</mandatory>
</property>
<property name="act:intervalPeriod">
<type>d:text</type>
<mandatory>true</mandatory>
<constraints>
<constraint type="LIST">
<parameter name="caseSensitive"><value>true</value></parameter>
<parameter name="allowedValues">
<list>
<value>M</value>
<value>W</value>
<value>D</value>
<value>h</value>
<value>m</value>
</list>
</parameter>
</constraint>
</constraints>
</property>
</properties>
<associations>
<association name="act:scheduledAction">
<target>
<class>act:action</class>
<mandatory>true</mandatory>
<many>false</many>
</target>
</association>
</associations>
</type>
</types>
<aspects> <aspects>