@Deprecated public class

VersionSearchContextVisibilityChecker

extends Object
implements SearchContextVisibilityChecker
java.lang.Object
   ↳ com.atlassian.jira.issue.search.searchers.transformer.VersionSearchContextVisibilityChecker

This class is deprecated.
No replacement.

Class Overview

A SearchContextVisibilityChecker for version fields

Summary

Public Constructors
VersionSearchContextVisibilityChecker(VersionManager versionManager)
Public Methods
Set<String> FilterOutNonVisibleInContext(SearchContext searchContext, Collection<String> ids)
Filters out any ids in the given collection that are not visible under the SearchContext
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.issue.search.searchers.transformer.SearchContextVisibilityChecker

Public Constructors

public VersionSearchContextVisibilityChecker (VersionManager versionManager)

Public Methods

public Set<String> FilterOutNonVisibleInContext (SearchContext searchContext, Collection<String> ids)

Filters out any ids in the given collection that are not visible under the SearchContext

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