mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
MNT-20741 adding code to check for subtypes
This commit is contained in:
@@ -248,9 +248,8 @@
|
|||||||
</property>
|
</property>
|
||||||
</bean>
|
</bean>
|
||||||
|
|
||||||
<bean name="contentBinDuplicationUtility" class="org.alfresco.module.org_alfresco_module_rm.util.ContentBinDuplicationUtility">
|
<bean name="contentBinDuplicationUtility" class="org.alfresco.module.org_alfresco_module_rm.util.ContentBinDuplicationUtility" parent="baseService">
|
||||||
<property name="behaviourFilter" ref="policyBehaviourFilter"/>
|
<property name="behaviourFilter" ref="policyBehaviourFilter"/>
|
||||||
<property name="contentService" ref="contentService"/>
|
|
||||||
</bean>
|
</bean>
|
||||||
|
|
||||||
<!-- Prevent ghosted records being renditioned -->
|
<!-- Prevent ghosted records being renditioned -->
|
||||||
|
@@ -29,7 +29,6 @@ package org.alfresco.module.org_alfresco_module_rm.util;
|
|||||||
import org.alfresco.model.ContentModel;
|
import org.alfresco.model.ContentModel;
|
||||||
import org.alfresco.repo.policy.BehaviourFilter;
|
import org.alfresco.repo.policy.BehaviourFilter;
|
||||||
import org.alfresco.service.cmr.repository.ContentReader;
|
import org.alfresco.service.cmr.repository.ContentReader;
|
||||||
import org.alfresco.service.cmr.repository.ContentService;
|
|
||||||
import org.alfresco.service.cmr.repository.ContentWriter;
|
import org.alfresco.service.cmr.repository.ContentWriter;
|
||||||
import org.alfresco.service.cmr.repository.NodeRef;
|
import org.alfresco.service.cmr.repository.NodeRef;
|
||||||
|
|
||||||
@@ -38,7 +37,7 @@ import org.alfresco.service.cmr.repository.NodeRef;
|
|||||||
* @author Ross Gale
|
* @author Ross Gale
|
||||||
* @since 2.7.2
|
* @since 2.7.2
|
||||||
*/
|
*/
|
||||||
public class ContentBinDuplicationUtility
|
public class ContentBinDuplicationUtility extends ServiceBaseImpl
|
||||||
{
|
{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -46,11 +45,6 @@ public class ContentBinDuplicationUtility
|
|||||||
*/
|
*/
|
||||||
private BehaviourFilter behaviourFilter;
|
private BehaviourFilter behaviourFilter;
|
||||||
|
|
||||||
/**
|
|
||||||
* Provides methods for accessing and transforming content.
|
|
||||||
*/
|
|
||||||
private ContentService contentService;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Setter for behaviour filter
|
* Setter for behaviour filter
|
||||||
* @param behaviourFilter BehaviourFilter
|
* @param behaviourFilter BehaviourFilter
|
||||||
@@ -60,15 +54,6 @@ public class ContentBinDuplicationUtility
|
|||||||
this.behaviourFilter = behaviourFilter;
|
this.behaviourFilter = behaviourFilter;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Setter for content service
|
|
||||||
* @param contentService ContentService
|
|
||||||
*/
|
|
||||||
public void setContentService(ContentService contentService)
|
|
||||||
{
|
|
||||||
this.contentService = contentService;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Duplicate the content of a node without triggering the audit or versioning behaviours
|
* Duplicate the content of a node without triggering the audit or versioning behaviours
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user