com.stratelia.silverpeas.silverstatistics.model
Class StatisticsConfig

java.lang.Object
  extended by com.stratelia.silverpeas.silverstatistics.model.StatisticsConfig

public class StatisticsConfig
extends Object

Class declaration

Author:
SLR

Constructor Summary
StatisticsConfig()
          Constructor declaration
 
Method Summary
 Collection<String> getAllKeys(StatType typeOfStats)
          Method declaration
 Collection<StatType> getAllTypes()
          Method declaration
 String getKeyType(StatType typeOfStats, String keyName)
          Method declaration
 StatisticMode getModeCumul(StatType typeOfStats)
          Method declaration
 int getNumberOfKeys(StatType idFamilyStats)
          Method declaration
 int getNumberOfStatsType()
           
 int getPurge(StatType typeOfStats)
          Method declaration
 String getTableName(StatType typeOfStats)
          Method declaration
 int indexOfKey(StatType typeOfStats, String keyName)
          Method declaration
 void init()
          Method declaration
 void initialize(ResourceBundle resource)
           
 boolean isAsynchron(StatType typeOfStats)
           
 boolean isCumulKey(StatType typeOfStats, String keyName)
          Method declaration
 boolean isExist(StatType idFamilyStats)
          Method declaration
 boolean isGoodDatas(StatType typeOfStats, List<?> dataArray)
          Method declaration
 boolean isRun(StatType typeOfStats)
          Method declaration
 boolean isValidConfigFile()
          Method declaration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatisticsConfig

public StatisticsConfig()
Constructor declaration

See Also:
Method Detail

initialize

public void initialize(ResourceBundle resource)
                throws SilverStatisticsConfigException
Throws:
SilverStatisticsConfigException

init

public void init()
          throws SilverStatisticsConfigException
Method declaration

Throws:
SilverStatisticsConfigException
See Also:

getAllKeys

public Collection<String> getAllKeys(StatType typeOfStats)
Method declaration

Parameters:
typeOfStats -
Returns:
See Also:

getKeyType

public String getKeyType(StatType typeOfStats,
                         String keyName)
Method declaration

Parameters:
typeOfStats -
keyName -
Returns:
See Also:

getTableName

public String getTableName(StatType typeOfStats)
Method declaration

Parameters:
typeOfStats -
Returns:
See Also:

getModeCumul

public StatisticMode getModeCumul(StatType typeOfStats)
Method declaration

Parameters:
typeOfStats -
Returns:
See Also:

isRun

public boolean isRun(StatType typeOfStats)
Method declaration

Parameters:
typeOfStats -
Returns:
See Also:

isAsynchron

public boolean isAsynchron(StatType typeOfStats)

getNumberOfStatsType

public int getNumberOfStatsType()

isExist

public boolean isExist(StatType idFamilyStats)
Method declaration

Parameters:
idFamilyStats -
Returns:
See Also:

getNumberOfKeys

public int getNumberOfKeys(StatType idFamilyStats)
Method declaration

Parameters:
idFamilyStats -
Returns:
See Also:

isCumulKey

public boolean isCumulKey(StatType typeOfStats,
                          String keyName)
Method declaration

Parameters:
typeOfStats -
keyName -
Returns:
See Also:

indexOfKey

public int indexOfKey(StatType typeOfStats,
                      String keyName)
Method declaration

Parameters:
StatsType -
keyName -
Returns:
See Also:

getAllTypes

public Collection<StatType> getAllTypes()
Method declaration

Returns:
See Also:

getPurge

public int getPurge(StatType typeOfStats)
Method declaration

Parameters:
typeOfStats -
Returns:
See Also:

isValidConfigFile

public boolean isValidConfigFile()
Method declaration

Returns:
See Also:

isGoodDatas

public boolean isGoodDatas(StatType typeOfStats,
                           List<?> dataArray)
Method declaration

Parameters:
typeOfStats -
dataArray -
Returns:
See Also:


Copyright © 2016 Silverpeas. All Rights Reserved.