public class ScoreEntryDAO extends org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<ScoreEntryEntity,String>
| Constructor and Description |
|---|
ScoreEntryDAO() |
| Modifier and Type | Method and Description |
|---|---|
long |
getDetractorsCount(long typeId) |
long |
getDetractorsCountByDate(long typeId,
long toDate) |
long |
getDetractorsCountByPeriod(long typeId,
long fromDate,
long toDate) |
List<ScoreEntryEntity> |
getFirstScoreEntries(long typeId) |
long |
getPromotersCount(long typeId) |
long |
getPromotersCountByDate(long typeId,
long toDate) |
long |
getPromotersCountByPeriod(long typeId,
long fromDate,
long toDate) |
List<ScoreEntryEntity> |
getScoreEntries(long typeId,
int offset,
int limit) |
List<ScoreEntryEntity> |
getScoreEntriesByUserId(long typeId,
String userId,
int offset,
int limit) |
long |
getScoreEntriesCount(long typeId,
boolean enabled) |
long |
getScoreEntriesCountByDate(long typeId,
long toDate) |
long |
getScoreEntriesCountByPeriod(long typeId,
long fromDate,
long toDate) |
List<ScoreEntryEntity> |
getScoreEntrybyId(long id) |
public List<ScoreEntryEntity> getScoreEntries(long typeId, int offset, int limit)
public List<ScoreEntryEntity> getFirstScoreEntries(long typeId)
public long getScoreEntriesCount(long typeId,
boolean enabled)
public long getPromotersCount(long typeId)
public long getDetractorsCount(long typeId)
public long getScoreEntriesCountByDate(long typeId,
long toDate)
public long getPromotersCountByDate(long typeId,
long toDate)
public long getDetractorsCountByDate(long typeId,
long toDate)
public long getScoreEntriesCountByPeriod(long typeId,
long fromDate,
long toDate)
public long getPromotersCountByPeriod(long typeId,
long fromDate,
long toDate)
public long getDetractorsCountByPeriod(long typeId,
long fromDate,
long toDate)
public List<ScoreEntryEntity> getScoreEntriesByUserId(long typeId, String userId, int offset, int limit)
public List<ScoreEntryEntity> getScoreEntrybyId(long id)
Copyright © 2003–2018 eXo Platform SAS. All rights reserved.