public class LeadDAO extends org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<LeadEntity,Long>
| Constructor and Description |
|---|
LeadDAO() |
| Modifier and Type | Method and Description |
|---|---|
long |
countLeads(String search,
String status,
String owner,
String captureMethod,
String from,
String to,
String zone,
int min,
int max,
Boolean notassigned) |
LeadEntity |
getLeadByMail(String mail) |
LeadEntity |
getLeadByTask(Long taskId) |
List<LeadEntity> |
getLeads(String search,
String status,
String owner,
String captureMethod,
String from,
String to,
String zone,
int min,
int max,
Boolean notassigned,
int offset,
int limit,
String sortBy,
boolean sortDesc) |
List<LeadEntity> |
getLeadsByStatus(String status) |
public List<LeadEntity> getLeads(String search, String status, String owner, String captureMethod, String from, String to, String zone, int min, int max, Boolean notassigned, int offset, int limit, String sortBy, boolean sortDesc)
public long countLeads(String search, String status, String owner, String captureMethod, String from, String to, String zone, int min, int max, Boolean notassigned)
public LeadEntity getLeadByMail(String mail)
public List<LeadEntity> getLeadsByStatus(String status)
public LeadEntity getLeadByTask(Long taskId)
Copyright © 2003–2020 eXo Platform SAS. All rights reserved.