19 package org.turro.entities.portfolio;
21 import java.util.List;
22 import java.util.TreeSet;
23 import org.turro.elephant.db.WhereClause;
24 import org.turro.financials.db.FinancialsPU;
25 import org.turro.financials.entity.Document;
26 import org.turro.jpa.Dao;
38 public void fillList(List<String> entityPaths) {
40 wc.
addClause(
"select doc from Document doc");
41 wc.
addIn(
"where",
"doc.relatedPath", entityPaths);
43 addAll(dao.getResultList(wc));
void addClause(String clause)
void addIn(String operator, String field, List values)
void fillList(List< String > entityPaths)