BrightSide Workbench Full Report + Source Code
TouchPointResults.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 TouchPointResults {
12 
13  public TouchPointResults() {
14  }
15 
16  public java.util.List getTouchPointList() {
17  Dao dao = new CrmPU();
18  WhereClause wc = new WhereClause();
19  wc.addClause("select distinct touchpoint");
20  wc.addClause("from TouchPoint as touchpoint");
21  wc.addClause("order by touchpoint.touchDegree");
22  return dao.getResultList(wc);
23  }
24 
25 }