com.jaspersoft.jasperserver.war.model.impl
Class UriInclusiveTreeDataFilterImpl
java.lang.Object
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
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 |
UriInclusiveTreeDataFilterImpl
public UriInclusiveTreeDataFilterImpl()
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.