Package com.atlassian.jira.sharing.index
Class IsSharedQueryFactory
java.lang.Object
com.atlassian.jira.sharing.index.IsSharedQueryFactory
- All Implemented Interfaces:
QueryFactory
Creates a query to retrieve all entities that have been shared in any way.
Does not retrieve entities that are private, unless
flag is enabled and the user performing the search is an admin.invalid reference
JiraFeatureFlagRegistrar.ADMINS_CAN_EDIT_PRIVATE_FILTERS_AND_DASHBOARDS
- Since:
- v4.4.1
-
Constructor Summary
ConstructorsConstructorDescriptionIsSharedQueryFactory(FeatureManager featureManager, GlobalPermissionManager globalPermissionManager) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.lucene.search.Querycreate(SharedEntitySearchParameters searchParameters) Get a query without any permission checks.org.apache.lucene.search.Querycreate(SharedEntitySearchParameters searchParameters, ApplicationUser user) Get a query with permission checks for the specified user.
-
Constructor Details
-
IsSharedQueryFactory
public IsSharedQueryFactory(FeatureManager featureManager, GlobalPermissionManager globalPermissionManager)
-
-
Method Details