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.RefererTreeAggregationsNode

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

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

Simply an information wrapper (to feed the tree of the data view of the administration ui) which accumulates the statistical data for a RefererTreeElement and a set of corresponding RefererTreeAggregations.

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

Field Summary
static java.lang.String UI_PROVIDER
          The ExtJs-"uiProvider".
 
Constructor Summary
protected RefererAnalysisViewControllerResultData.RefererTreeAggregationsNode()
          Deprecated. 
protected RefererAnalysisViewControllerResultData.RefererTreeAggregationsNode(RefererTreeElement path, java.util.List<RefererTreeAggregation> aggrs)
          Creates a new RefererTreeAggregationsNode for the given RefererTreeAggregations.
 
Method Summary
 int getHits()
          Returns the hits.
 java.lang.Long getId()
          Returns the id.
 java.lang.String getText()
          Returns the text.
 boolean isExpandable()
          Returns whether the RefererTreeAggregationsNode is expandable.
 boolean isHasChildNodes()
          Returns whether the RefererTreeAggregationsNode has children.
 boolean isLeaf()
          Returns whether the RefererTreeAggregationsNode is a leaf.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UI_PROVIDER

public static final java.lang.String UI_PROVIDER
The ExtJs-"uiProvider".

See Also:
Constant Field Values
Constructor Detail

RefererAnalysisViewControllerResultData.RefererTreeAggregationsNode

@Deprecated
protected RefererAnalysisViewControllerResultData.RefererTreeAggregationsNode()
Deprecated. 

Default constructor.


RefererAnalysisViewControllerResultData.RefererTreeAggregationsNode

protected RefererAnalysisViewControllerResultData.RefererTreeAggregationsNode(RefererTreeElement path,
                                                                              java.util.List<RefererTreeAggregation> aggrs)
Creates a new RefererTreeAggregationsNode for the given RefererTreeAggregations.

Parameters:
path - the current RefererTreeAggregationsNode
aggrs - the List&lt;RefererTreeAggregation&gt;
Throws:
java.lang.IllegalArgumentException - if the given path is null
Method Detail

getId

public java.lang.Long getId()
Returns the id.

Returns:
the id

getText

public java.lang.String getText()
Returns the text.

Returns:
the text

getHits

public int getHits()
Returns the hits.

Returns:
the hits

isLeaf

public boolean isLeaf()
Returns whether the RefererTreeAggregationsNode is a leaf.

Returns:
true if the RefererTreeAggregationsNode is a leaf, false otherwise

isExpandable

public boolean isExpandable()
Returns whether the RefererTreeAggregationsNode is expandable.

Returns:
true if the RefererTreeAggregationsNode is expandable, false otherwise

isHasChildNodes

public boolean isHasChildNodes()
Returns whether the RefererTreeAggregationsNode has children.

Returns:
true if the RefererTreeAggregationsNode has children, false otherwise