com.jaspersoft.jasperserver.war.model.impl
Class UriExclusiveTreeDataFilterImpl
java.lang.Object
com.jaspersoft.jasperserver.war.model.impl.UriExclusiveTreeDataFilterImpl
- All Implemented Interfaces:
- TreeDataFilter
public class UriExclusiveTreeDataFilterImpl
- extends java.lang.Object
- implements TreeDataFilter
Exclusive filter based on list of URIs.
It excludes not only resource with exact uri but all children,
so the filter can be used both for resources and folders
- Author:
- asokolnikov
Method Summary |
boolean |
filter(TreeNode node)
Returns false if node is 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 |
UriExclusiveTreeDataFilterImpl
public UriExclusiveTreeDataFilterImpl()
filter
public boolean filter(TreeNode node)
- Returns false if node is a resource or a child of a resource with uri
which is in uriList.
Returns true otherwise.
Returns true 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.