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 GroupAnalysisViewControllerResultData

java.lang.Object
  extended by org.torweg.pulse.component.statistics.view.AbstractStatisticsViewControllerResultData
      extended by org.torweg.pulse.component.statistics.view.GroupAnalysisViewControllerResultData
All Implemented Interfaces:
java.io.Serializable

public final class GroupAnalysisViewControllerResultData
extends AbstractStatisticsViewControllerResultData

The data of the GroupAnalysisViewControllerResult.

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

Nested Class Summary
protected static class GroupAnalysisViewControllerResultData.PathTreeAggregationsNode
          Simply an information wrapper (to feed the tree of the data view of the administration ui) which accumulates the statistical data for a PathTreeElement and a set of corresponding PathTreeAggregations.
protected static class GroupAnalysisViewControllerResultData.PathTreeAggregationsNodeComparator
          Compares PathTreeAgregationsNodes by their "hit-count + child-hit-count", and if the numbers are equal by name.
 
Field Summary
 
Fields inherited from class org.torweg.pulse.component.statistics.view.AbstractStatisticsViewControllerResultData
LOGGER
 
Constructor Summary
protected GroupAnalysisViewControllerResultData()
          Deprecated. 
protected GroupAnalysisViewControllerResultData(Duration dur, StatisticsServer serv)
          Creates a new OverViewControllerResultData with the given Duration and the given StatisticsServer.
 
Method Summary
protected  void addPathTreeAggregationsNode(PathTreeElement pathTreeElement, java.util.List<PathTreeAggregation> pathTreeAggregations)
          Builds the "nodes" for the ExtJs-tree of the website administration ui view.
protected  java.util.Set<GroupAnalysisViewControllerResultData.PathTreeAggregationsNode> getAggrNodes()
          Returns the nodes for the tree load.
protected  GroupAnalysisViewControllerResultData.PathTreeAggregationsNode getPdfRootNode()
          Returns the PathTreeAggregationsNode pdfRootNode of the GroupAnalysisViewControllerResultData.
protected  void setMaxNodesToBeDisplayed(int maxNodes)
          Sets the maximum number of nodes to be displayed.
protected  void setPdfRootNode(GroupAnalysisViewControllerResultData.PathTreeAggregationsNode rootNode)
          Sets the given PathTreeAggregationsNode as pdfRootNode.
 
Methods inherited from class org.torweg.pulse.component.statistics.view.AbstractStatisticsViewControllerResultData
getAverageTimePerVisitAggregations, getCountryPerVisitAggregations, getDataResolution, getDuration, getOperatingSystemPerVisitAggregations, getPIRecordCountAggregations, getRefererTreeAggregations, getScreenResolutionPerVisitAggregations, getStatisticsServer, getUserAgentPerVisitAggregations, getVisitCountAggregations, setAverageTimePerVisitAggregations, setCountryPerVisitAggregations, setDataResolution, setDuration, setOperatingSystemPerVisitAggregations, setPIRecordCountAggregations, setRefererTreeAggregations, setScreenResolutionPerVisitAggregations, setStatisticsServer, setUserAgentPerVisitAggregations, setVisitCountAggregations
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroupAnalysisViewControllerResultData

@Deprecated
protected GroupAnalysisViewControllerResultData()
Deprecated. 

Default constructor.


GroupAnalysisViewControllerResultData

protected GroupAnalysisViewControllerResultData(Duration dur, StatisticsServer serv)
Creates a new OverViewControllerResultData with the given Duration and the given StatisticsServer.

Parameters:
dur - the Duration
serv - the StatisticsServer
Method Detail

setMaxNodesToBeDisplayed

protected void setMaxNodesToBeDisplayed(int maxNodes)
Sets the maximum number of nodes to be displayed.

Parameters:
maxNodes - the maximum number of nodes to be displayed

addPathTreeAggregationsNode

protected void addPathTreeAggregationsNode(PathTreeElement pathTreeElement,
                                           java.util.List<PathTreeAggregation> pathTreeAggregations)
Builds the "nodes" for the ExtJs-tree of the website administration ui view.

Parameters:
pathTreeElement - the PathTreeElement
pathTreeAggregations - the corresponding PathTreeAggregations

getAggrNodes

protected java.util.Set<GroupAnalysisViewControllerResultData.PathTreeAggregationsNode> getAggrNodes()
Returns the nodes for the tree load. The maximum number of nodes being returned for display is maxNodesToBeDisplayed.

Returns:
the aggrNodes

getPdfRootNode

protected GroupAnalysisViewControllerResultData.PathTreeAggregationsNode getPdfRootNode()
Returns the PathTreeAggregationsNode pdfRootNode of the GroupAnalysisViewControllerResultData.

Returns:
the pdfRootNode

setPdfRootNode

protected void setPdfRootNode(GroupAnalysisViewControllerResultData.PathTreeAggregationsNode rootNode)
Sets the given PathTreeAggregationsNode as pdfRootNode.

Parameters:
rootNode - the PathTreeAggregationsNode to set as pdfRootNode