BrightSide Workbench Full Report + Source Code
ActivitySectorResults.java
Go to the documentation of this file.
1 package org.turro.crm.search;
2 
3 import org.turro.crm.db.CrmPU;
4 import org.turro.elephant.db.WhereClause;
5 import org.turro.jpa.Dao;
6 
11 public class ActivitySectorResults {
12 
14  }
15 
16  public java.util.List getActivitySectorList() {
17  Dao dao = new CrmPU();
18  WhereClause wc = new WhereClause();
19  wc.addClause("select distinct activitysector");
20  wc.addClause("from ActivitySector as activitysector");
21  wc.addClause("order by activitysector.name");
22  return dao.getResultList(wc);
23  }
24 
25 }