public class Utils extends Object
| Constructor and Description |
|---|
Utils() |
| Modifier and Type | Method and Description |
|---|---|
static NPSDetailsDTO |
calculateNpsByDate(long typeId,
long date) |
static void |
createActivity(ScoreEntryDTO score) |
static int |
getDiffinDays(Calendar startCal,
Calendar stopCal) |
static Calendar |
getFirstLoginDate(String userId)
Get first login
|
static List<NPSDetailsDTO> |
getWeeklyNPS(long typeId) |
static List<NPSDetailsDTO> |
getWeeklyNPSbyDates(long typeId,
long fromDate,
long toDate) |
public static Calendar getFirstLoginDate(String userId) throws Exception
Exceptionpublic static int getDiffinDays(Calendar startCal, Calendar stopCal) throws Exception
Exceptionpublic static void createActivity(ScoreEntryDTO score)
public static NPSDetailsDTO calculateNpsByDate(long typeId, long date)
public static List<NPSDetailsDTO> getWeeklyNPSbyDates(long typeId, long fromDate, long toDate)
public static List<NPSDetailsDTO> getWeeklyNPS(long typeId)
Copyright © 2003–2018 eXo Platform SAS. All rights reserved.