Class SilverStatisticsManagerDAO
- java.lang.Object
-
- org.silverpeas.core.silverstatistics.volume.dao.AbstractSilverStatisticsDAO
-
- org.silverpeas.core.silverstatistics.volume.dao.SilverStatisticsManagerDAO
-
public class SilverStatisticsManagerDAO extends AbstractSilverStatisticsDAO
This is the DAO Object for purge, agregat on the month- Author:
- sleroux
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.silverpeas.core.silverstatistics.volume.dao.AbstractSilverStatisticsDAO
AbstractSilverStatisticsDAO.Statements
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
insertDataStatsCumul(Connection con, StatType statsType, List<String> valueKeys, StatisticsConfig conf)
Inserts cumulative statistic data.static void
makeStatAllCumul(StatisticsConfig conf)
static void
makeStatCumul(Connection con, StatType statsType, StatisticsConfig conf)
static void
putDataStatsCumul(Connection con, StatType statsType, List<String> valueKeys, StatisticsConfig conf)
-
Methods inherited from class org.silverpeas.core.silverstatistics.volume.dao.AbstractSilverStatisticsDAO
computeStatements, insertData
-
-
-
-
Method Detail
-
insertDataStatsCumul
public static void insertDataStatsCumul(Connection con, StatType statsType, List<String> valueKeys, StatisticsConfig conf) throws SQLException
Inserts cumulative statistic data.- Parameters:
con
- the database connectionstatsType
- the statistic typevalueKeys
- the keys on the values.conf
- statistic database configuration- Throws:
SQLException
- if an error occurs while inserting data in the database
-
putDataStatsCumul
public static void putDataStatsCumul(Connection con, StatType statsType, List<String> valueKeys, StatisticsConfig conf) throws SQLException
- Parameters:
con
- the database connectionstatsType
- the statistic typevalueKeys
- keys on valuesconf
- statistic database configuration- Throws:
SQLException
- if an error occurs while putting data in the database
-
makeStatCumul
public static void makeStatCumul(Connection con, StatType statsType, StatisticsConfig conf)
- Parameters:
con
- the database connectionstatsType
- the statistic typeconf
- statistic database configuration
-
makeStatAllCumul
public static void makeStatAllCumul(StatisticsConfig conf)
-
-