18 package org.turro.financials.model.contract;
20 import java.util.Collection;
21 import java.util.Iterator;
22 import java.util.TreeSet;
23 import org.turro.financials.db.FinancialsPU;
24 import org.turro.financials.entity.Contract;
25 import org.turro.jpa.Dao;
46 Iterator<PortfolioStatus> it = iterator();
48 if(it.next().isEmpty()) {
56 return dao.getResultList(
57 "select c from Contract c " +
58 "where c.contractDefinition.asContact like '40%' " +
59 "or c.contractDefinition.asContact like '41%' " +
60 "or c.contractDefinition.asContact like '43%' " +
61 "or c.contractDefinition.asContact like '44%' "
PortfolioStatusSet loadAll()
Collection< Contract > getContracts()
PortfolioStatusSet load(Contract contract)