mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Implementation and unit tests for RM-2481, RM-2482, RM-2483 and RM-2489.
This checkin adds behaviours for ensuring that classification aspect/properties are correclty copied between nodes and their renditions on the creation of new renditions, on the classification or reclassification of nodes with existing renditions. To do this I needed what should be, in my opinion, a common Alfresco utility method - the ability to copy an aspect from one node to another (aspect meaning property group i.e. no assocs). I've created that method and put it in CoreServicesExtras. It should really be moved to core. + review RM git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@110069 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -241,6 +241,15 @@
|
||||
class="org.alfresco.module.org_alfresco_module_rm.model.clf.aspect.ClassifiedAspect"
|
||||
parent="rm.baseBehaviour">
|
||||
<property name="classificationSchemeService" ref="ClassificationSchemeService" />
|
||||
<property name="renditionService" ref="RenditionService" />
|
||||
<property name="coreServicesExtras" ref="rm.coreServicesExtras" />
|
||||
</bean>
|
||||
|
||||
<bean id="clf.classifiedRenditions"
|
||||
class="org.alfresco.module.org_alfresco_module_rm.model.clf.ClassifiedRenditions"
|
||||
parent="rm.baseBehaviour">
|
||||
<property name="contentClassificationService" ref="ContentClassificationService" />
|
||||
<property name="renditionService" ref="RenditionService" />
|
||||
<property name="coreServicesExtras" ref="rm.coreServicesExtras" />
|
||||
</bean>
|
||||
</beans>
|
||||
|
@@ -11,6 +11,12 @@
|
||||
<!-- Authentication Helper -->
|
||||
<bean name="rm.authenticationUtil" class="org.alfresco.module.org_alfresco_module_rm.util.AuthenticationUtil"/>
|
||||
|
||||
<!-- Utility methods that enhance core Alfresco services -->
|
||||
<bean name="rm.coreServicesExtras" class="org.alfresco.module.org_alfresco_module_rm.util.CoreServicesExtras">
|
||||
<property name="dictionaryService" ref="dictionaryService" />
|
||||
<property name="nodeService" ref="NodeService" />
|
||||
</bean>
|
||||
|
||||
<!-- Transactional Resouce Helper -->
|
||||
<bean name="rm.transactionalResourceHelper" class="org.alfresco.module.org_alfresco_module_rm.util.TransactionalResourceHelper" />
|
||||
|
||||
|
Reference in New Issue
Block a user