19 package org.turro.financials.assets;
21 import java.util.Collection;
22 import java.util.List;
23 import org.turro.elephant.db.WhereClause;
24 import org.turro.financials.db.FinancialsPU;
25 import org.turro.financials.entity.FixedAsset;
26 import org.turro.jpa.Dao;
27 import org.turro.plugin.filter.IFilterValue;
38 public Collection<FixedAsset>
getAssets(List<IFilterValue> values) {
41 return dao.getResultList(wc);
44 private WhereClause createCriteria(List<IFilterValue> values) {
46 wc.
addClause(
"select fa from FixedAsset as fa");
void addClause(String clause)
Collection< FixedAsset > getAssets(List< IFilterValue > values)