pulse - the web application framework Get pulse at SourceForge.net. Fast, secure and Free Open Source software downloads Ohloh project report for pulse-java

org.torweg.pulse.component.statistics.view
Class AbstractStatisticsViewControllerResultData

java.lang.Object
  extended by org.torweg.pulse.component.statistics.view.AbstractStatisticsViewControllerResultData
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
GroupAnalysisViewControllerResultData, OverViewControllerResultData, RefererAnalysisViewControllerResultData, TechnicalInformationViewControllerResultData, TimeAnalysisViewControllerResultData, WestPanelControllerResultData

public abstract class AbstractStatisticsViewControllerResultData
extends java.lang.Object
implements java.io.Serializable

An abstract base-class to be used for extending representing statistical aggregated data for usage in results.

Version:
$Revision: 1585 $
Author:
Daniel Dietz
See Also:
Serialized Form

Field Summary
protected static org.slf4j.Logger LOGGER
          The logger.
 
Constructor Summary
AbstractStatisticsViewControllerResultData()
           
 
Method Summary
 java.util.List<AverageTimePerVisitAggregation> getAverageTimePerVisitAggregations()
          Returns the AverageTimePerVisitAggregations.
 java.util.List<CountryPerVisitAggregation> getCountryPerVisitAggregations()
          Returns the CountryPerVisitAggregations.
 Period getDataResolution()
          Returns the Period used as "data resolution".
 Duration getDuration()
          Returns the Duration.
 java.util.List<OperatingSystemPerVisitAggregation> getOperatingSystemPerVisitAggregations()
          Returns the OperatingSystemPerVisitAggregations.
 java.util.List<PIRecordCountAggregation> getPIRecordCountAggregations()
          Returns the PIRecordCountAggregations.
 java.util.List<RefererTreeAggregation> getRefererTreeAggregations()
          Returns the RefererTreeAggregations.
 java.util.List<ScreenResolutionPerVisitAggregation> getScreenResolutionPerVisitAggregations()
          Returns the ScreenResolutionPerVisitAggregations.
 StatisticsServer getStatisticsServer()
          Returns the StatisticsServer.
 java.util.List<UserAgentPerVisitAggregation> getUserAgentPerVisitAggregations()
          Returns the UserAgentPerVisitAggregations.
 java.util.List<VisitCountAggregation> getVisitCountAggregations()
          Returns the VisitCountAggregations.
protected  void setAverageTimePerVisitAggregations(java.util.List<AverageTimePerVisitAggregation> aggregations)
          Sets the AverageTimePerVisitAggregations.
protected  void setCountryPerVisitAggregations(java.util.List<CountryPerVisitAggregation> aggregations)
          Sets the CountryPerVisitAggregations.
protected  void setDataResolution(Period resolution)
          Sets the Period to be used as "data resolution".
protected  void setDuration(Duration dur)
          Sets the Duration.
protected  void setOperatingSystemPerVisitAggregations(java.util.List<OperatingSystemPerVisitAggregation> aggregations)
          Sets the OperatingSystemPerVisitAggregations.
protected  void setPIRecordCountAggregations(java.util.List<PIRecordCountAggregation> aggregations)
          Sets the PIRecordCountAggregations.
protected  void setRefererTreeAggregations(java.util.List<RefererTreeAggregation> aggregations)
          Sets the RefererTreeAggregations.
protected  void setScreenResolutionPerVisitAggregations(java.util.List<ScreenResolutionPerVisitAggregation> aggregations)
          Sets the ScreenResolutionPerVisitAggregations.
protected  void setStatisticsServer(StatisticsServer ser)
          Sets the StatisticsServer.
protected  void setUserAgentPerVisitAggregations(java.util.List<UserAgentPerVisitAggregation> aggregations)
          Sets the UserAgentPerVisitAggregations.
protected  void setVisitCountAggregations(java.util.List<VisitCountAggregation> aggregations)
          Sets the VisitCountAggregations.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOGGER

protected static final org.slf4j.Logger LOGGER
The logger.

Constructor Detail

AbstractStatisticsViewControllerResultData

public AbstractStatisticsViewControllerResultData()
Method Detail

getDuration

public final Duration getDuration()
Returns the Duration.

Returns:
the duration

setDuration

protected final void setDuration(Duration dur)
Sets the Duration.

Parameters:
dur - the Duration
Throws:
java.lang.NullPointerException - if the given Duration is null

getDataResolution

public final Period getDataResolution()
Returns the Period used as "data resolution".

Returns:
the dataResolution

setDataResolution

protected final void setDataResolution(Period resolution)
Sets the Period to be used as "data resolution".

Parameters:
resolution - the Period
Throws:
java.lang.NullPointerException - if the given Period is null

getStatisticsServer

public final StatisticsServer getStatisticsServer()
Returns the StatisticsServer.

Returns:
the server

setStatisticsServer

protected final void setStatisticsServer(StatisticsServer ser)
Sets the StatisticsServer.

Parameters:
ser - the StatisticsServer
Throws:
java.lang.NullPointerException - if the given StatisticsServer is null

getAverageTimePerVisitAggregations

public final java.util.List<AverageTimePerVisitAggregation> getAverageTimePerVisitAggregations()
Returns the AverageTimePerVisitAggregations.

Returns:
the averageTimePerVisitAggregations

setAverageTimePerVisitAggregations

protected void setAverageTimePerVisitAggregations(java.util.List<AverageTimePerVisitAggregation> aggregations)
Sets the AverageTimePerVisitAggregations.

Parameters:
aggregations - the AverageTimePerVisitAggregations

getCountryPerVisitAggregations

public final java.util.List<CountryPerVisitAggregation> getCountryPerVisitAggregations()
Returns the CountryPerVisitAggregations.

Returns:
the countryPerVisitAggregations

setCountryPerVisitAggregations

protected void setCountryPerVisitAggregations(java.util.List<CountryPerVisitAggregation> aggregations)
Sets the CountryPerVisitAggregations.

Parameters:
aggregations - the CountryPerVisitAggregations

getPIRecordCountAggregations

public final java.util.List<PIRecordCountAggregation> getPIRecordCountAggregations()
Returns the PIRecordCountAggregations.

Returns:
the piRecordCountAggregations

setPIRecordCountAggregations

protected void setPIRecordCountAggregations(java.util.List<PIRecordCountAggregation> aggregations)
Sets the PIRecordCountAggregations.

Parameters:
aggregations - the PIRecordCountAggregations

getVisitCountAggregations

public final java.util.List<VisitCountAggregation> getVisitCountAggregations()
Returns the VisitCountAggregations.

Returns:
the visitCountAggregations

setVisitCountAggregations

protected void setVisitCountAggregations(java.util.List<VisitCountAggregation> aggregations)
Sets the VisitCountAggregations.

Parameters:
aggregations - the VisitCountAggregations

getOperatingSystemPerVisitAggregations

public final java.util.List<OperatingSystemPerVisitAggregation> getOperatingSystemPerVisitAggregations()
Returns the OperatingSystemPerVisitAggregations.

Returns:
the operatingSystemPerVisitAggregations

setOperatingSystemPerVisitAggregations

protected void setOperatingSystemPerVisitAggregations(java.util.List<OperatingSystemPerVisitAggregation> aggregations)
Sets the OperatingSystemPerVisitAggregations.

Parameters:
aggregations - the OperatingSystemPerVisitAggregations

getUserAgentPerVisitAggregations

public final java.util.List<UserAgentPerVisitAggregation> getUserAgentPerVisitAggregations()
Returns the UserAgentPerVisitAggregations.

Returns:
the userAgentPerVisitAggregations

setUserAgentPerVisitAggregations

protected void setUserAgentPerVisitAggregations(java.util.List<UserAgentPerVisitAggregation> aggregations)
Sets the UserAgentPerVisitAggregations.

Parameters:
aggregations - the UserAgentPerVisitAggregations

getScreenResolutionPerVisitAggregations

public final java.util.List<ScreenResolutionPerVisitAggregation> getScreenResolutionPerVisitAggregations()
Returns the ScreenResolutionPerVisitAggregations.

Returns:
the screenResolutionPerVisitAggregations

setScreenResolutionPerVisitAggregations

protected void setScreenResolutionPerVisitAggregations(java.util.List<ScreenResolutionPerVisitAggregation> aggregations)
Sets the ScreenResolutionPerVisitAggregations.

Parameters:
aggregations - the ScreenResolutionPerVisitAggregations

getRefererTreeAggregations

public final java.util.List<RefererTreeAggregation> getRefererTreeAggregations()
Returns the RefererTreeAggregations.

Returns:
the refererTreeAggregations

setRefererTreeAggregations

protected void setRefererTreeAggregations(java.util.List<RefererTreeAggregation> aggregations)
Sets the RefererTreeAggregations.

Parameters:
aggregations - the RefererTreeAggregations