com.atlassian.jira.issue.search.searchers.transformer
Class ComponentSearchContextVisibilityChecker
java.lang.Object
com.atlassian.jira.issue.search.searchers.transformer.ComponentSearchContextVisibilityChecker
- All Implemented Interfaces:
- SearchContextVisibilityChecker
public class ComponentSearchContextVisibilityChecker
- extends Object
- implements SearchContextVisibilityChecker
A SearchContextVisibilityChecker
for component fields
- Since:
- v4.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ComponentSearchContextVisibilityChecker
public ComponentSearchContextVisibilityChecker(ProjectComponentManager componentManager)
FilterOutNonVisibleInContext
public Set<String> FilterOutNonVisibleInContext(SearchContext searchContext,
Collection<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 underids
- 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-2011 Atlassian. All Rights Reserved.