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 RefererAnalysisViewControllerResultData.RefererTreeAggregationsPDFNode

java.lang.Object
  extended by org.torweg.pulse.component.statistics.view.RefererAnalysisViewControllerResultData.RefererTreeAggregationsPDFNode
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
RefererAnalysisViewControllerResultData

protected static final class RefererAnalysisViewControllerResultData.RefererTreeAggregationsPDFNode
extends java.lang.Object
implements java.io.Serializable

Simply an information wrapper which provides the data to create the PDF from.

NOTE: The default naming pattern for the JAXB annotated fields is being broken here. This is because the data generated is to feed the Ext tree in the website administration ui and therefore has to meet the requirements of the Ext.tree.AsyncTreeNode. This will be refactored with the next version of the website administration.

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

Constructor Summary
protected RefererAnalysisViewControllerResultData.RefererTreeAggregationsPDFNode()
          Deprecated. 
protected RefererAnalysisViewControllerResultData.RefererTreeAggregationsPDFNode(RefererTreeAggregation aggr)
          Creates a new RefererTreeAggregationsPDFNode from the given RefererTreeAggregation.
 
Method Summary
protected  void aggregate(RefererTreeAggregation aggr)
          Aggregates the hits from the given RefererTreeAggregation if the "full" name of the "referer" match.
protected  int getHits()
          Returns the hits count.
protected  java.lang.String getText()
          Returns the "full" name of the "referer".
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RefererAnalysisViewControllerResultData.RefererTreeAggregationsPDFNode

@Deprecated
protected RefererAnalysisViewControllerResultData.RefererTreeAggregationsPDFNode()
Deprecated. 

Default constructor.


RefererAnalysisViewControllerResultData.RefererTreeAggregationsPDFNode

protected RefererAnalysisViewControllerResultData.RefererTreeAggregationsPDFNode(RefererTreeAggregation aggr)
Creates a new RefererTreeAggregationsPDFNode from the given RefererTreeAggregation.

Parameters:
aggr - the RefererTreeAggregation
Method Detail

getHits

protected int getHits()
Returns the hits count.

Returns:
the hits count

getText

protected java.lang.String getText()
Returns the "full" name of the "referer".

Returns:
the "full" name of the "referer"

aggregate

protected void aggregate(RefererTreeAggregation aggr)
Aggregates the hits from the given RefererTreeAggregation if the "full" name of the "referer" match.

If the "full" names of the "referer"s DO NOT match, the given RefererTreeAggregation will simply be ignored.

Parameters:
aggr - the RefererTreeAggregation to aggregate