- Auditable aspect now modifies properties in batch using setProperties

- Inbound rule type now only fires on content creation (not on content update)
- Update rule type added, but commented out sue to issues with over enthusiastic policies.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2541 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Roy Wetherall
2006-03-13 14:42:00 +00:00
parent 1858509d3a
commit 731733d59f
6 changed files with 130 additions and 46 deletions

View File

@@ -792,6 +792,9 @@
<property name="authenticationService">
<ref bean="authenticationService" />
</property>
<property name="policyBehaviourFilter">
<ref bean="policyBehaviourFilter" />
</property>
</bean>
<!-- Referenceable -->

View File

@@ -67,41 +67,18 @@
<ref bean="on-create-node-trigger"/>
<ref bean="on-create-child-association-trigger"/>
<ref bean="on-content-create-trigger"/>
<!-- NOTE: if you do not want hte inbound rule to rile on content update -->
<!-- remove the following line -->
<ref bean="on-content-update-trigger"/>
</list>
</constructor-arg>
</bean>
<!-- NOTE: Adding the following will provide an update policy. This will cause -->
<!-- rules to be fired on content or meta-data update. -->
<!-- WARNING: This is at present working but not fully QA'ed. -->
<!--
<bean id="update" class="org.alfresco.repo.rule.RuleTypeImpl" parent="rule-type-base">
<!-- Commented out for now -->
<!-- <bean id="update" class="org.alfresco.repo.rule.RuleTypeImpl" parent="rule-type-base">
<constructor-arg>
<list>
<ref bean="on-property-update-trigger"/>
</list>
</constructor-arg>
</bean>
-->
<!-- NOTE: Multiple rule types are not currently support so if you require inbound and update -->
<!-- behaviour then add the following rule type -->
<!--
<bean id="inboundAndUpdate" class="org.alfresco.repo.rule.RuleTypeImpl" parent="rule-type-base">
<constructor-arg>
<list>
<ref bean="on-create-node-trigger"/>
<ref bean="on-create-child-association-trigger"/>
<ref bean="on-content-create-trigger"/>
<ref bean="on-update-node-trigger"/>
<ref bean="on-content-update-trigger"/>
</list>
</constructor-arg>
</bean>
-->
</bean> -->
<bean id="outbound" class="org.alfresco.repo.rule.RuleTypeImpl" parent="rule-type-base">
<constructor-arg>