Class Overview
Runs through a saved filter to determine if there is any self-reference anywhere in the nested filter.
Summary
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Public Constructors
Public Methods
public
boolean
containsSavedFilterReference
(User searcher, boolean overrideSecurity, SearchRequest savedFilter, Long filterId)
Checks if the specified saved SearchRequest
contains a reference to another saved filter
by using the savedFilter
clause.
Parameters
searcher
| the user performing the search |
overrideSecurity
| false if we should check permissions |
savedFilter
| the saved filter to check if it holds a reference to the filter with the filterId |
filterId
| the id of the filter to check if it can be referenced from the savedFilter, can be null.
if null it takes the filter id from the savedFilter, thus checking if it can reference itself |
Returns
- true if the filter does contains a reference to the filter with filterId; false otherwise.