public class NpsService extends Object
| Constructor and Description |
|---|
NpsService() |
| Modifier and Type | Method and Description |
|---|---|
List<Object[]> |
countGroupdByScores(long typeId,
long startDate,
long endDate) |
long |
getAllCount(long typeId,
long fromDate,
long toDate) |
List<ScoreEntryDTO> |
getDetractorScores(long typeId,
int offset,
int limit,
long startDate,
long endDate) |
long |
getDetractorsCount(long typeId,
boolean enabled,
long startDate,
long endDate) |
long |
getDetractorsCountByDate(long typeId,
long toDate) |
long |
getDetractorsCountByPeriod(long typeId,
long fromDate,
long toDate) |
ScoreEntryDTO |
getFirstScoreEntries(long typeId) |
double |
getMeanScore(long typeId,
long startDate,
long endDate) |
List<ScoreEntryDTO> |
getPassiveScores(long typeId,
int offset,
int limit,
long startDate,
long endDate) |
long |
getPromotersCount(long typeId,
boolean enabled,
long startDate,
long endDate) |
long |
getPromotersCountByDate(long typeId,
long toDate) |
long |
getPromotersCountByPeriod(long typeId,
long fromDate,
long toDate) |
List<ScoreEntryDTO> |
getPromotesScores(long typeId,
int offset,
int limit,
long startDate,
long endDate) |
long |
getScoreCount(long typeId,
boolean enabled,
long startDate,
long endDate) |
long |
getScoreCountByDate(long typeId,
long toDate) |
long |
getScoreCountByPeriod(long typeId,
long fromDate,
long toDate) |
List<ScoreEntryDTO> |
getScoreEntriesByUserId(long typeId,
String userId,
int offset,
int limit,
long startDate,
long endDate) |
ScoreEntryDTO |
getScoreEntry(long id) |
List<ScoreEntryDTO> |
getScores(long typeId,
int offset,
int limit,
long startDate,
long endDate) |
void |
remove(ScoreEntryDTO entity) |
ScoreEntryDTO |
save(ScoreEntryDTO entity,
boolean newEntry) |
public ScoreEntryDTO save(ScoreEntryDTO entity, boolean newEntry)
public void remove(ScoreEntryDTO entity)
public List<ScoreEntryDTO> getScores(long typeId, int offset, int limit, long startDate, long endDate)
public List<ScoreEntryDTO> getPromotesScores(long typeId, int offset, int limit, long startDate, long endDate)
public List<ScoreEntryDTO> getDetractorScores(long typeId, int offset, int limit, long startDate, long endDate)
public List<ScoreEntryDTO> getPassiveScores(long typeId, int offset, int limit, long startDate, long endDate)
public ScoreEntryDTO getFirstScoreEntries(long typeId)
public ScoreEntryDTO getScoreEntry(long id)
public List<ScoreEntryDTO> getScoreEntriesByUserId(long typeId, String userId, int offset, int limit, long startDate, long endDate)
public List<Object[]> countGroupdByScores(long typeId, long startDate, long endDate)
public long getPromotersCount(long typeId,
boolean enabled,
long startDate,
long endDate)
public long getDetractorsCount(long typeId,
boolean enabled,
long startDate,
long endDate)
public long getScoreCount(long typeId,
boolean enabled,
long startDate,
long endDate)
public long getPromotersCountByDate(long typeId,
long toDate)
public long getDetractorsCountByDate(long typeId,
long toDate)
public long getScoreCountByDate(long typeId,
long toDate)
public long getPromotersCountByPeriod(long typeId,
long fromDate,
long toDate)
public long getDetractorsCountByPeriod(long typeId,
long fromDate,
long toDate)
public long getScoreCountByPeriod(long typeId,
long fromDate,
long toDate)
public double getMeanScore(long typeId,
long startDate,
long endDate)
public long getAllCount(long typeId,
long fromDate,
long toDate)
Copyright © 2003–2018 eXo Platform SAS. All rights reserved.