com.atlassian.jira.issue.search.searchers.transformer
Class AlwaysVisibleSearchContextVisibilityChecker

java.lang.Object
  extended by com.atlassian.jira.issue.search.searchers.transformer.AlwaysVisibleSearchContextVisibilityChecker
All Implemented Interfaces:
SearchContextVisibilityChecker

public class AlwaysVisibleSearchContextVisibilityChecker
extends java.lang.Object
implements SearchContextVisibilityChecker

A SearchContextVisibilityChecker that always returns true

Since:
v4.0

Constructor Summary
AlwaysVisibleSearchContextVisibilityChecker()
           
 
Method Summary
 java.util.Set<java.lang.String> FilterOutNonVisibleInContext(SearchContext searchContext, java.util.Collection<java.lang.String> ids)
          Filters out any ids in the given collection that are not visible under the SearchContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlwaysVisibleSearchContextVisibilityChecker

public AlwaysVisibleSearchContextVisibilityChecker()
Method Detail

FilterOutNonVisibleInContext

public java.util.Set<java.lang.String> FilterOutNonVisibleInContext(SearchContext searchContext,
                                                                    java.util.Collection<java.lang.String> ids)
Description copied from interface: SearchContextVisibilityChecker
Filters out any ids in the given collection that are not visible under the SearchContext

Specified by:
FilterOutNonVisibleInContext in interface SearchContextVisibilityChecker
Parameters:
searchContext - the context to check to see if the domain object represented by the id is visible under
ids - the collection of ids to filter
Returns:
a new set which contains ids from the input collection that are visible under the given SearchContext


Copyright © 2002-2010 Atlassian. All Rights Reserved.