public class DefaultReportSubTaskFetcher extends Object implements ReportSubTaskFetcher
| Constructor and Description |
|---|
DefaultReportSubTaskFetcher(SearchService searchService) |
| Modifier and Type | Method and Description |
|---|---|
List<Issue> |
getSubTasks(ApplicationUser user,
List<Issue> parentIssues,
SubTaskInclusionOption subtaskInclusion,
boolean onlyIncludeUnresolved)
Given a list of parent issues, returns a list of subtasks visible to the user,
subject to the subtask inclusion policy at
SubTaskInclusionOption. |
List<Issue> |
getSubTasksForUser(ApplicationUser user,
List<Issue> parentIssues,
SubTaskInclusionOption subtaskInclusion,
boolean onlyIncludeUnresolved)
Given a list of parent issues, returns a list of subtasks visible to the user,
subject to the subtask inclusion policy at
SubTaskInclusionOption. |
public DefaultReportSubTaskFetcher(SearchService searchService)
public List<Issue> getSubTasks(ApplicationUser user, List<Issue> parentIssues, SubTaskInclusionOption subtaskInclusion, boolean onlyIncludeUnresolved) throws SearchException
ReportSubTaskFetcherSubTaskInclusionOption.
Will return an empty list if nothing found.
getSubTasks in interface ReportSubTaskFetcheruser - For permission checksparentIssues - A list of parent issuessubtaskInclusion - A String that is one of the SubTaskInclusionOption.
If subtaskInclusion is null, an empty list is returned.onlyIncludeUnresolved - Whether to only include unresolved, or to include both resolved and unresolved issuesSearchException - if the search subsystem fails.public List<Issue> getSubTasksForUser(ApplicationUser user, List<Issue> parentIssues, SubTaskInclusionOption subtaskInclusion, boolean onlyIncludeUnresolved) throws SearchException
ReportSubTaskFetcherSubTaskInclusionOption.
Will return an empty list if nothing found.
getSubTasksForUser in interface ReportSubTaskFetcheruser - for permission checksparentIssues - a List of IssuessubtaskInclusion - @Nullable a String that is one of the SubTaskInclusionOption
If subtaskInclusion is null, an empty list is returned.onlyIncludeUnresolved - whether to only include unresolved, or to include both resolved and unresolved issuesSearchException - if the search subsystem fails.Copyright © 2002-2019 Atlassian. All Rights Reserved.