Package com.atlassian.jira.jql.query
Class WorklogQueryExecutor
java.lang.Object
com.atlassian.jira.jql.query.WorklogQueryExecutor
@Deprecated(since="10.6",
forRemoval=true)
@InjectableComponent
public class WorklogQueryExecutor
extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
since 10.6. There is no replacement, because it won't be needed anymore. To be removed in 11.0.
Component that can execute queries against the worklog index
and return issue ids associated with the returned worklog documents.
-
Constructor Summary
ConstructorsConstructorDescriptionWorklogQueryExecutor(SearchProviderFactory searchProviderFactory, QueryProjectRoleAndGroupPermissionsDecorator queryPermissionsDecorator) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionexecuteWorklogQuery(org.apache.lucene.search.Query worklogQuery, QueryCreationContext context) Deprecated, for removal: This API element is subject to removal in a future version.Executes a worklog query and returns an iterable of unique issue ids associated with the returned worklogs.
-
Constructor Details
-
WorklogQueryExecutor
public WorklogQueryExecutor(SearchProviderFactory searchProviderFactory, QueryProjectRoleAndGroupPermissionsDecorator queryPermissionsDecorator) Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
executeWorklogQuery
public Iterable<Long> executeWorklogQuery(org.apache.lucene.search.Query worklogQuery, QueryCreationContext context) Deprecated, for removal: This API element is subject to removal in a future version.Executes a worklog query and returns an iterable of unique issue ids associated with the returned worklogs.Before execution the query is modified so that it automatically checks all the required permissions for user currently executing it, so you needn't worry about such stuff, just provide the query in it's simplest possible form.
In case the index is unreachable or any other IO exceptions an empty set is returned.
- Parameters:
worklogQuery- lucene query over the worklog indexcontext- query context- Returns:
- issue ids
-