Package com.jalios.jcms.analytics.metric
Class WriteReportMetric
- java.lang.Object
-
- com.jalios.jcms.analytics.metric.AbstractReportMetric
-
- com.jalios.jcms.analytics.metric.WriteReportMetric
-
- All Implemented Interfaces:
DBData
,java.io.Serializable
public class WriteReportMetric extends AbstractReportMetric
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WriteReportMetric()
-
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.long
getCatCount()
int
getCatCreateCount()
int
getCatDeleteCount()
int
getCatUpdateCount()
long
getDocCount()
int
getDocCreateCount()
int
getDocDeleteCount()
int
getDocUpdateCount()
java.util.Map<java.lang.String,java.lang.Integer>
getMemberTop()
long
getPubCount()
int
getPubCreateCount()
int
getPubDeleteCount()
java.util.Map<java.lang.String,java.lang.String>
getPublicationLikeTop()
java.util.Map<java.lang.String,java.lang.Integer>
getPublicationTypeTop()
int
getPubUpdateCount()
void
initializeDBDataCollections()
void
setCatCount(long catCount)
void
setCatCreateCount(int catCreateCount)
void
setCatDeleteCount(int catDeleteCount)
void
setCatUpdateCount(int catUpdateCount)
void
setDocCount(long docCount)
void
setDocCreateCount(int docCreateCount)
void
setDocDeleteCount(int docDeleteCount)
void
setDocUpdateCount(int docUpdateCount)
void
setMemberTop(java.util.Map<java.lang.String,java.lang.Integer> memberTop)
void
setPubCount(long pubCount)
void
setPubCreateCount(int pubCreateCount)
void
setPubDeleteCount(int pubDeleteCount)
void
setPublicationLikeTop(java.util.Map<java.lang.String,java.lang.String> publicationLikeTop)
void
setPublicationTypeTop(java.util.Map<java.lang.String,java.lang.Integer> publicationTypeTop)
void
setPubUpdateCount(int pubUpdateCount)
-
Methods inherited from class com.jalios.jcms.analytics.metric.AbstractReportMetric
getEndDate, getReportDate, getRowId, getStartDate, getUrid, getWorkspaceId, setEndDate, setReportDate, setRowId, setStartDate, setUrid, setWorkspaceId
-
-
-
-
Method Detail
-
getPubCount
public long getPubCount()
-
setPubCount
public void setPubCount(long pubCount)
-
getPubCreateCount
public int getPubCreateCount()
-
setPubCreateCount
public void setPubCreateCount(int pubCreateCount)
-
getPubDeleteCount
public int getPubDeleteCount()
-
setPubDeleteCount
public void setPubDeleteCount(int pubDeleteCount)
-
getDocCount
public long getDocCount()
-
setDocCount
public void setDocCount(long docCount)
-
getDocCreateCount
public int getDocCreateCount()
-
setDocCreateCount
public void setDocCreateCount(int docCreateCount)
-
getDocDeleteCount
public int getDocDeleteCount()
-
setDocDeleteCount
public void setDocDeleteCount(int docDeleteCount)
-
getCatCount
public long getCatCount()
-
setCatCount
public void setCatCount(long catCount)
-
getCatCreateCount
public int getCatCreateCount()
-
setCatCreateCount
public void setCatCreateCount(int catCreateCount)
-
getCatDeleteCount
public int getCatDeleteCount()
-
setCatDeleteCount
public void setCatDeleteCount(int catDeleteCount)
-
getPubUpdateCount
public int getPubUpdateCount()
-
setPubUpdateCount
public void setPubUpdateCount(int pubUpdateCount)
-
getDocUpdateCount
public int getDocUpdateCount()
-
setDocUpdateCount
public void setDocUpdateCount(int docUpdateCount)
-
getCatUpdateCount
public int getCatUpdateCount()
-
setCatUpdateCount
public void setCatUpdateCount(int catUpdateCount)
-
getPublicationTypeTop
public java.util.Map<java.lang.String,java.lang.Integer> getPublicationTypeTop()
-
setPublicationTypeTop
public void setPublicationTypeTop(java.util.Map<java.lang.String,java.lang.Integer> publicationTypeTop)
-
getMemberTop
public java.util.Map<java.lang.String,java.lang.Integer> getMemberTop()
-
setMemberTop
public void setMemberTop(java.util.Map<java.lang.String,java.lang.Integer> memberTop)
-
getPublicationLikeTop
public java.util.Map<java.lang.String,java.lang.String> getPublicationLikeTop()
-
setPublicationLikeTop
public void setPublicationLikeTop(java.util.Map<java.lang.String,java.lang.String> publicationLikeTop)
-
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
-
initializeDBDataCollections
public void initializeDBDataCollections()
- Specified by:
initializeDBDataCollections
in classAbstractReportMetric
-
-