Fix/mnt 23290 slow group membership (#1637)

* MNT-23290 - Change query to get the root groups
This commit is contained in:
Antonio Felix
2022-12-22 11:48:55 +00:00
committed by GitHub
parent 3b25edefd1
commit d785b100df
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/>