public class StatLogDAO extends org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<StatLogEntity,Long>
| Constructor and Description |
|---|
StatLogDAO() |
| Modifier and Type | Method and Description |
|---|---|
List<StatLogEntity> |
getAllStatsByType(String type) |
List<StatLogEntity> |
getAllStatsByTypeAndDates(String type,
Calendar from,
Calendar to) |
List<StatLogEntity> |
getMonthlyStatsByType(String type) |
List<StatLogEntity> |
getMonthlyStatsByTypeAndDates(String type,
Calendar from,
Calendar to) |
List<StatLogEntity> |
getStatsByTypeAndDate(String type,
Calendar statDate) |
List<StatLogEntity> |
getWeeklyStatsByType(String type) |
List<StatLogEntity> |
getWeeklyStatsByTypeAndDates(String type,
Calendar from,
Calendar to) |
public List<StatLogEntity> getAllStatsByType(String type) throws Exception
Exceptionpublic List<StatLogEntity> getWeeklyStatsByType(String type) throws Exception
Exceptionpublic List<StatLogEntity> getMonthlyStatsByType(String type) throws Exception
Exceptionpublic List<StatLogEntity> getAllStatsByTypeAndDates(String type, Calendar from, Calendar to) throws Exception
Exceptionpublic List<StatLogEntity> getWeeklyStatsByTypeAndDates(String type, Calendar from, Calendar to) throws Exception
Exceptionpublic List<StatLogEntity> getMonthlyStatsByTypeAndDates(String type, Calendar from, Calendar to) throws Exception
ExceptionCopyright © 2003–2021 eXo Platform SAS. All rights reserved.