* returns a non-zero value, or the recarray if the call succeeeds
* @throws RepositoryException if a runtime error occurs
*/
private ClientValue listNodesHelper(String query, String view,
String[] columns) throws RepositoryException {
LLValue recArray = new LLValue();
LLValue args = (new LLValue()).setList();
LLValue columnsList = (new LLValue()).setList();
for (int i = 0; i < columns.length; i++)
columnsList.add(columns[i]);
try {
if (documents.ListNodes(query, args, view, columnsList,
LAPI_DOCUMENTS.PERM_SEECONTENTS,
LLValue.LL_FALSE, recArray) != 0) {