How to get the list of documenst in trash of a particular workspace or folder in nuxeo java client?

documents = nuxeoClient.repository().query(“SELECT * FROM Document WHERE ecm:path= ? AND ecm:isTrashed = 1”, “1”, “50”,null,null,null, path);

This is the code I'm using to get the list of trashed documents of a particular path but this is returning me null

0 votes

1 answers



SELECT * FROM Document WHERE ecm:parentId = ? AND ecm:isVersion = 0 AND ecm:isTrashed = 1

this NXQL query worked.. problem solved

0 votes