mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Rework APIs of new getChildAssocs with result count limit
- Use regular pattern of get -> select in the DAO - All getChildren* batching done after the query - Unit tests - In progress: Added option (low level select only) to constrain by assoc ID git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31318 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -503,15 +503,15 @@ public interface NodeDAO extends NodeBulkLoader
|
||||
* @param assocQName the association qname to filter on; <tt>null</tt> for no filtering
|
||||
* @param maxResults the maximum number of results to return. The query will be terminated efficiently
|
||||
* after that number of results
|
||||
* @param preload should the child nodes be batch loaded?
|
||||
* @param resultsCallback the callback that will be called with the results
|
||||
* @return a list of child associations
|
||||
*/
|
||||
public List<ChildAssociationRef> getChildAssocs(
|
||||
public void getChildAssocs(
|
||||
Long parentNodeId,
|
||||
QName assocTypeQName,
|
||||
QName assocQName,
|
||||
final int maxResults,
|
||||
boolean preload);
|
||||
ChildAssocRefQueryCallback resultsCallback);
|
||||
|
||||
/**
|
||||
* Get the child associations of a given parent node, optionally filtering on type <tt>QName</tt>.
|
||||
|
Reference in New Issue
Block a user