mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-08 14:51:49 +00:00
Merge release/V2.4 into master.
This commit is contained in:
@@ -236,14 +236,14 @@ public class FilePlanComponentAspect extends BaseBehaviourBean
|
||||
|
||||
// If the node has any renditions, they inherit the file plan from their source node.
|
||||
List<ChildAssociationRef> renditions = renditionService.getRenditions(nodeRef);
|
||||
NodeRef thumbnail;
|
||||
NodeRef rendition;
|
||||
for (ChildAssociationRef chAssRef : renditions)
|
||||
{
|
||||
thumbnail = chAssRef.getChildRef();
|
||||
if (nodeService.exists(thumbnail))
|
||||
rendition = chAssRef.getChildRef();
|
||||
if (nodeService.exists(rendition))
|
||||
{
|
||||
// Apply file plan component aspect to thumbnail
|
||||
nodeService.addAspect(thumbnail, ASPECT_FILE_PLAN_COMPONENT, null);
|
||||
// Apply file plan component aspect to node's renditions
|
||||
nodeService.addAspect(rendition, ASPECT_FILE_PLAN_COMPONENT, null);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -54,12 +54,19 @@ public class ExtendedImapServiceImpl extends ImapServiceImpl
|
||||
this.dictionaryService = dictionaryService;
|
||||
}
|
||||
|
||||
public void setAuthenticationUtil(AuthenticationUtil authenticationUtil)
|
||||
{
|
||||
this.authenticationUtil = authenticationUtil;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setPolicyFilter(BehaviourFilter policyBehaviourFilter)
|
||||
{
|
||||
this.policyBehaviourFilter = policyBehaviourFilter;
|
||||
super.setPolicyFilter(policyBehaviourFilter);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setNodeService(NodeService nodeService)
|
||||
{
|
||||
this.nodeService = nodeService;
|
||||
|
Reference in New Issue
Block a user