Package org.exoplatform.cs.dao
Class StatLogDAO
- java.lang.Object
-
- org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<StatLogEntity,Long>
-
- org.exoplatform.cs.dao.StatLogDAO
-
- All Implemented Interfaces:
org.exoplatform.commons.api.persistence.GenericDAO<StatLogEntity,Long>
public class StatLogDAO extends org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<StatLogEntity,Long>
Created by IntelliJ IDEA. User: ali Date: 06/01/17 Time: 12:15
-
-
Constructor Summary
Constructors Constructor Description StatLogDAO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Method Detail
-
getAllStatsByType
public List<StatLogEntity> getAllStatsByType(String type) throws Exception
- Throws:
Exception
-
getWeeklyStatsByType
public List<StatLogEntity> getWeeklyStatsByType(String type) throws Exception
- Throws:
Exception
-
getMonthlyStatsByType
public List<StatLogEntity> getMonthlyStatsByType(String type) throws Exception
- Throws:
Exception
-
getAllStatsByTypeAndDates
public List<StatLogEntity> getAllStatsByTypeAndDates(String type, Calendar from, Calendar to) throws Exception
- Throws:
Exception
-
getWeeklyStatsByTypeAndDates
public List<StatLogEntity> getWeeklyStatsByTypeAndDates(String type, Calendar from, Calendar to) throws Exception
- Throws:
Exception
-
getMonthlyStatsByTypeAndDates
public List<StatLogEntity> getMonthlyStatsByTypeAndDates(String type, Calendar from, Calendar to) throws Exception
- Throws:
Exception
-
-