public final class

IssueLinkTypeFinderImpl

extends Object
implements IssueLinkTypeFinder
java.lang.Object
   ↳ com.atlassian.jira.issue.fields.rest.IssueLinkTypeFinderImpl

Class Overview

This "finder" class is used to find issue link types based on 'id' or 'name'.

Summary

Public Constructors
IssueLinkTypeFinderImpl(IssueLinkTypeManager issueLinkTypeManager, I18nHelper.BeanFactory i18nFactory, JiraAuthenticationContext jiraAuthenticationContext)
Public Methods
IssueLinkType findIssueLinkType(IssueLinkTypeJsonBean linkTypeBean, ErrorCollection errors)
Fetches an IssueLinkType from its manager based on either the 'id' or the 'name' property of linkTypeBean.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.issue.fields.rest.IssueLinkTypeFinder

Public Constructors

public IssueLinkTypeFinderImpl (IssueLinkTypeManager issueLinkTypeManager, I18nHelper.BeanFactory i18nFactory, JiraAuthenticationContext jiraAuthenticationContext)

Public Methods

public IssueLinkType findIssueLinkType (IssueLinkTypeJsonBean linkTypeBean, ErrorCollection errors)

Fetches an IssueLinkType from its manager based on either the 'id' or the 'name' property of linkTypeBean. If the link type does not exist, the appropriate error will be added to the errors parameter (and the return value will be null).

Parameters
linkTypeBean the IssueLinkTypeJsonBean
errors a SimpleErrorCollection
Returns
  • an IssueLinkType, or null