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

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

public class UriInclusiveTreeDataFilterImpl
extends java.lang.Object
implements TreeDataFilter

Inclusive filter based on list of URIs. It includes only resource with exact uri, its parent and all its children

Author:
asokolnikov

Constructor Summary
UriInclusiveTreeDataFilterImpl()
           
 
Method Summary
 boolean filter(TreeNode node)
          Returns true if node is a resource, a parent of a resource, or a child of a resource with uri which is in uriList.
 java.util.List getUriList()
           
 void setUriList(java.util.List uriList)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UriInclusiveTreeDataFilterImpl

public UriInclusiveTreeDataFilterImpl()
Method Detail

filter

public boolean filter(TreeNode node)
Returns true if node is a resource, a parent of a resource, or a child of a resource with uri which is in uriList. Returns false otherwise. Returns false if no uriList configured.

Specified by:
filter in interface TreeDataFilter
Returns:

getUriList

public java.util.List getUriList()

setUriList

public void setUriList(java.util.List uriList)


Copyright © 2007. All Rights Reserved.