Unnamed
public text v1 · immutable public Iterator getLostAssets() {
Query query = new Query(ObjectType.ASSET);
QueryResult result = null;
query.addReturnAttribute("uuid");
query.addReturnAttribute("name");
query.addCaselessCondition("parentWorkspaces", Query.Operators.EQ, null);
try {
result = searcher.search(this.userAuth, query);
} catch(Exception e) {
System.out.println(e);
}
return result.rowIterator();
}