Fix/mnt 23290 slow group membership (#1637) (#1643)

* MNT-23290 - Change query to get the root groups

(cherry picked from commit d785b100df)
This commit is contained in:
Antonio Felix
2022-12-22 13:09:20 +00:00
committed by GitHub
parent 00b043d444
commit 15b1a960b7
10 changed files with 109 additions and 44 deletions

View File

@@ -2,7 +2,7 @@
* #%L
* Alfresco Data model classes
* %%
* Copyright (C) 2005 - 2016 Alfresco Software Limited
* Copyright (C) 2005 - 2022 Alfresco Software Limited
* %%
* This file is part of the Alfresco software.
* If the software was purchased under a paid Alfresco license, the terms of
@@ -714,6 +714,18 @@ public interface NodeService
final NodeRef parent,
final QName assocTypeQName);
/**
* Gets the list of the localnames of the child associations without parent node
*
* @param parent
* the parent node reference
* @return a list of the local names of the child associations
*/
@Auditable(parameters = {"parent"})
public List<String> findAssocsNotLinkedByTwoOtherAssocs(
final NodeRef parent);
/**
* Create a peer association between two nodes.
* <p/>