com.jaspersoft.jasperserver.war.model.impl
Class TypeInclusiveTreeDataFilterImpl

java.lang.Object
  extended by com.jaspersoft.jasperserver.war.model.impl.TypeInclusiveTreeDataFilterImpl
All Implemented Interfaces:
TreeDataFilter

public class TypeInclusiveTreeDataFilterImpl
extends java.lang.Object
implements TreeDataFilter

Implementation of TreeDataFilter. Includes a TreeNode instance into a data set if its type is one of the configured types

Author:
asokolnikov

Constructor Summary
TypeInclusiveTreeDataFilterImpl()
           
 
Method Summary
 boolean filter(TreeNode node)
          Returns true if excludeTypesList contains a given node type.
 java.util.List getIncludeTypesList()
           
 void setIncludeTypesList(java.util.List includeTypesList)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeInclusiveTreeDataFilterImpl

public TypeInclusiveTreeDataFilterImpl()
Method Detail

filter

public boolean filter(TreeNode node)
Returns true if excludeTypesList contains a given node type. Returns false otherwise

Specified by:
filter in interface TreeDataFilter
Returns:

getIncludeTypesList

public java.util.List getIncludeTypesList()

setIncludeTypesList

public void setIncludeTypesList(java.util.List includeTypesList)


Copyright © 2007. All Rights Reserved.