Package com.jalios.jcms.analytics.metric
Class SearchReportMetric
- java.lang.Object
-
- com.jalios.jcms.analytics.metric.AbstractReportMetric
-
- com.jalios.jcms.analytics.metric.SearchReportMetric
-
- All Implemented Interfaces:
DBData
,java.io.Serializable
public class SearchReportMetric extends AbstractReportMetric
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SearchReportMetric()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
aggregateUridData(AbstractReportMetric metric)
Aggregate a metric to this one (to provide aggregated metrics like global from uri's)void
checkAbsoluteMetrics(java.util.List<AbstractReportMetric> previousReportList)
Check "photo" indicator in this metric.int
getAcSearchCount()
java.util.Map<java.lang.String,java.lang.Integer>
getCategoryTop()
int
getSearchCount()
java.util.Map<java.lang.String,java.lang.Integer>
getTextTop()
void
initializeDBDataCollections()
void
setAcSearchCount(int acSearchCount)
void
setCategoryTop(java.util.Map<java.lang.String,java.lang.Integer> categoryTop)
void
setSearchCount(int searchCount)
void
setTextTop(java.util.Map<java.lang.String,java.lang.Integer> textTop)
java.lang.String
toString()
-
Methods inherited from class com.jalios.jcms.analytics.metric.AbstractReportMetric
getEndDate, getReportDate, getRowId, getStartDate, getUrid, getWorkspaceId, setEndDate, setReportDate, setRowId, setStartDate, setUrid, setWorkspaceId
-
-
-
-
Method Detail
-
getAcSearchCount
public int getAcSearchCount()
-
setAcSearchCount
public void setAcSearchCount(int acSearchCount)
-
getSearchCount
public int getSearchCount()
-
setSearchCount
public void setSearchCount(int searchCount)
-
getTextTop
public java.util.Map<java.lang.String,java.lang.Integer> getTextTop()
-
setTextTop
public void setTextTop(java.util.Map<java.lang.String,java.lang.Integer> textTop)
-
getCategoryTop
public java.util.Map<java.lang.String,java.lang.Integer> getCategoryTop()
-
setCategoryTop
public void setCategoryTop(java.util.Map<java.lang.String,java.lang.Integer> categoryTop)
-
initializeDBDataCollections
public void initializeDBDataCollections()
- Specified by:
initializeDBDataCollections
in classAbstractReportMetric
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
aggregateUridData
public void aggregateUridData(AbstractReportMetric metric)
Description copied from class:AbstractReportMetric
Aggregate a metric to this one (to provide aggregated metrics like global from uri's)- Specified by:
aggregateUridData
in classAbstractReportMetric
- Parameters:
metric
- the metric to add
-
checkAbsoluteMetrics
public void checkAbsoluteMetrics(java.util.List<AbstractReportMetric> previousReportList)
Description copied from class:AbstractReportMetric
Check "photo" indicator in this metric. If the photo indicator is missing, value can sometimes be computed from previous metrics.- Specified by:
checkAbsoluteMetrics
in classAbstractReportMetric
- Parameters:
previousReportList
-List
of previousAbstractReportMetric
-
-