Class TypeStatistics
- java.lang.Object
-
- org.silverpeas.core.silverstatistics.volume.model.TypeStatistics
-
public class TypeStatistics extends Object
Class declaration- Author:
- SLR
-
-
Field Summary
Fields Modifier and Type Field Description static String
STATISTIC_DATE_KEY
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addCumulKey(String keyName)
void
addKey(String keyName, StatDataType keyType)
List<String>
getAllKeys()
StatDataType
getKeyType(String keyName)
StatisticMode
getModeCumul()
String
getName()
int
getPurge()
String
getTableName()
boolean
hasACumulType(String cumulKeyName)
boolean
hasGoodCumulKey()
int
indexOfKey(String keyName)
boolean
isAsynchron()
boolean
isCumulKey(String keyName)
boolean
isDateStatKeyExist()
boolean
isRun()
int
numberOfKeys()
void
setAllKeys(Collection<String> allTags)
void
setIsAsynchron(boolean value)
void
setIsRun(boolean value)
void
setModeCumul(StatisticMode mode)
void
setName(String name)
void
setPurge(int purgeInMonth)
void
setTableName(String tableName)
-
-
-
Field Detail
-
STATISTIC_DATE_KEY
public static final String STATISTIC_DATE_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
public String getName()
-
setName
public void setName(String name) throws SilverStatisticsTypeStatisticsException
-
getModeCumul
public StatisticMode getModeCumul()
-
setModeCumul
public void setModeCumul(StatisticMode mode)
-
setIsRun
public void setIsRun(boolean value)
-
isRun
public boolean isRun()
-
setIsAsynchron
public void setIsAsynchron(boolean value)
-
isAsynchron
public boolean isAsynchron()
-
getPurge
public int getPurge()
-
setPurge
public void setPurge(int purgeInMonth) throws SilverStatisticsTypeStatisticsException
-
getTableName
public String getTableName()
-
setTableName
public void setTableName(String tableName) throws SilverStatisticsTypeStatisticsException
-
setAllKeys
public void setAllKeys(Collection<String> allTags)
-
addKey
public void addKey(String keyName, StatDataType keyType) throws SilverStatisticsTypeStatisticsException
-
addCumulKey
public void addCumulKey(String keyName) throws SilverStatisticsTypeStatisticsException
-
indexOfKey
public int indexOfKey(String keyName)
-
isCumulKey
public boolean isCumulKey(String keyName)
-
isDateStatKeyExist
public boolean isDateStatKeyExist()
-
hasACumulType
public boolean hasACumulType(String cumulKeyName)
-
hasGoodCumulKey
public boolean hasGoodCumulKey()
-
getKeyType
public StatDataType getKeyType(String keyName)
-
numberOfKeys
public int numberOfKeys()
-
-