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

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

public class ANDTreeDataFilterImpl
extends java.lang.Object
implements TreeDataFilter

This is a container for logical AND operation over all children filters assigned

Author:
asokolnikov

Field Summary
 java.util.List filterList
           
 
Constructor Summary
ANDTreeDataFilterImpl()
           
 
Method Summary
 boolean filter(TreeNode node)
          Returns true if all children filters return true.
 java.util.List getFilterList()
           
 void setFilterList(java.util.List filterList)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

filterList

public java.util.List filterList
Constructor Detail

ANDTreeDataFilterImpl

public ANDTreeDataFilterImpl()
Method Detail

filter

public boolean filter(TreeNode node)
Returns true if all children filters return true. Returns true if no children filters assigned. Returns false otherwise

Specified by:
filter in interface TreeDataFilter
Returns:

getFilterList

public java.util.List getFilterList()

setFilterList

public void setFilterList(java.util.List filterList)


Copyright © 2007. All Rights Reserved.