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 GroupAnalysisViewDegunkController

java.lang.Object
  extended by org.torweg.pulse.bundle.Controller
      extended by org.torweg.pulse.component.statistics.view.GroupAnalysisViewDegunkController

public final class GroupAnalysisViewDegunkController
extends Controller

Provides methods to degunk the group analysis tree from within the pulse website administration:

.

Version:
$Revision: 1585 $
Author:
Daniel Dietz

Nested Class Summary
 
Nested classes/interfaces inherited from class org.torweg.pulse.bundle.Controller
Controller.AlwaysRun
 
Constructor Summary
GroupAnalysisViewDegunkController()
           
 
Method Summary
 void degunkChildLeafNodesGroupAnalysisView(ServiceRequest request)
          Removes all child PathTreeElements - if they are a leaf - from a specific PathTreeElement of the group analysis tree, adding all existing aggregated data to the aggregations of the PathTreeElement the child PathTreeElements are being removed from.
 void removeNodeGroupAnalysisView(ServiceRequest request)
          Removes a specific PathTreeElement from the group analysis tree, adding all existing aggregated data to the aggregations of the parent node.
 
Methods inherited from class org.torweg.pulse.bundle.Controller
getAlwaysRun, isAlwaysRun, setAlwaysRun
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroupAnalysisViewDegunkController

public GroupAnalysisViewDegunkController()
Method Detail

removeNodeGroupAnalysisView

@RequireToken
@Action(value="removeNodeGroupAnalysisView", generate=true)
@Permission(value="removeNodeGroupAnalysisView")
@Groups(values="Admin.Site.Statistics.GroupAnalysisViewDegunk")
public void removeNodeGroupAnalysisView(ServiceRequest request)
Removes a specific PathTreeElement from the group analysis tree, adding all existing aggregated data to the aggregations of the parent node.

Adds a JSONOutputEvent to the EventManager of the current ServiceRequest, indicating success or failure.

Parameters:
request - the current ServiceRequest

degunkChildLeafNodesGroupAnalysisView

@RequireToken
@Action(value="degunkChildLeafNodesGroupAnalysisView", generate=true)
@Permission(value="degunkChildLeafNodesGroupAnalysisView")
@Groups(values="Admin.Site.Statistics.GroupAnalysisViewDegunk")
public void degunkChildLeafNodesGroupAnalysisView(ServiceRequest request)
Removes all child PathTreeElements - if they are a leaf - from a specific PathTreeElement of the group analysis tree, adding all existing aggregated data to the aggregations of the PathTreeElement the child PathTreeElements are being removed from.

Adds a JSONOutputEvent to the EventManager of the current ServiceRequest, indicating success or failure.

Parameters:
request - the current ServiceRequest