@Component public class SharedEntitiesHelper extends Object
Constructor and Description |
---|
SharedEntitiesHelper(OrderFactory orderFactory,
ProjectService projectService,
WorkflowManager workflowManager,
JiraAuthenticationContext authenticationContext,
ProjectWorkflowSchemeHelper projectWorkflowSchemeHelper,
ProjectFieldScreenHelper projectFieldScreenHelper,
PrioritySchemeHelper prioritySchemeHelper) |
Modifier and Type | Method and Description |
---|---|
List<Project> |
filterSharingProjects(Collection<Project> allProjects) |
List<Project> |
getAllProjectsForScheme(Long schemeId) |
List<Project> |
getAllProjectsForScreen(FieldScreen screen) |
List<Project> |
getAllProjectsForWorkflow(String workflowName) |
static String |
getOrDefaultWorkflowName(Map<String,String> issueTypeToWorkflowMap,
String issueTypeId,
String defaultWorkflowName) |
SharedIssueTypeWorkflowData |
getSharedData(FieldScreen screen) |
SharedIssueTypeWorkflowData |
getSharedData(FieldScreen screen,
List<IssueType> issueTypes) |
SharedIssueTypeWorkflowData |
getSharedData(Project project,
IssueType issueType,
String workflowName)
Deprecated.
since 7.4 no need for passing issueType if passing WorkflowName
|
SharedIssueTypeWorkflowData |
getSharedData(Project project,
String workflowName) |
SharedByData |
getSharedDataForPriorities(FieldConfigScheme fieldConfigScheme) |
@Autowired public SharedEntitiesHelper(OrderFactory orderFactory, ProjectService projectService, WorkflowManager workflowManager, JiraAuthenticationContext authenticationContext, ProjectWorkflowSchemeHelper projectWorkflowSchemeHelper, ProjectFieldScreenHelper projectFieldScreenHelper, PrioritySchemeHelper prioritySchemeHelper)
public static String getOrDefaultWorkflowName(Map<String,String> issueTypeToWorkflowMap, @Nullable String issueTypeId, String defaultWorkflowName)
@Deprecated public SharedIssueTypeWorkflowData getSharedData(Project project, IssueType issueType, String workflowName)
public SharedIssueTypeWorkflowData getSharedData(FieldScreen screen)
public SharedIssueTypeWorkflowData getSharedData(FieldScreen screen, List<IssueType> issueTypes)
public SharedIssueTypeWorkflowData getSharedData(Project project, String workflowName)
public SharedByData getSharedDataForPriorities(FieldConfigScheme fieldConfigScheme)
public List<Project> getAllProjectsForScreen(FieldScreen screen)
public List<Project> filterSharingProjects(Collection<Project> allProjects)
Copyright © 2002-2021 Atlassian. All Rights Reserved.