mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Batch loading of nodes doesn't pull back deleted nodes; search-NodeService interaction fix
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31998 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -410,11 +410,18 @@ public class NodeDAOImpl extends AbstractNodeDAOImpl
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
@Override
|
||||
protected List<Node> selectNodesByUuids(Long storeId, SortedSet<String> uuids)
|
||||
protected List<Node> selectNodesByUuids(Long storeId, SortedSet<String> uuids, Boolean deleted)
|
||||
{
|
||||
NodeBatchLoadEntity nodeBatchLoadEntity = new NodeBatchLoadEntity();
|
||||
// Store ID
|
||||
nodeBatchLoadEntity.setStoreId(storeId);
|
||||
// UUID
|
||||
nodeBatchLoadEntity.setUuids(new ArrayList<String>(uuids));
|
||||
// Deleted
|
||||
if (deleted != null)
|
||||
{
|
||||
nodeBatchLoadEntity.setDeleted(deleted);
|
||||
}
|
||||
|
||||
return (List<Node>) template.selectList(SELECT_NODES_BY_UUIDS, nodeBatchLoadEntity);
|
||||
}
|
||||
|
Reference in New Issue
Block a user