| com.atlassian.jira.issue.link.IssueLinkTypeManager |
Known Indirect Subclasses
|
@PublicApi
Clients of @PublicApi can expect
that programs compiled against a given version will remain binary compatible with later versions of the
@PublicApi as per each product's API policy as long as the client does not implement/extend
@PublicApi interfaces or classes (refer to each product's API policy for the exact
guarantee---usually binary compatibility is guaranteed at least across minor versions).
@PublicApi interfaces and classes are not designed to be implemented or extended by clients,
we may perform certain types of binary-incompatible changes to these classes and interfaces, but these will not
affect well-behaved clients that do not extend/implement these types (in general, only classes and interfaces
annotated with @PublicSpi are safe to extend/implement).
Manages IssueLinkTypes.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns a user-defined (non-system) issue link type object for the specified ID.
| |||||||||||
Returns only user-defined (non-system) IssueLinkType objects
| |||||||||||
Returns a collection of
IssueLinkTypes with the given description as the inward description. | |||||||||||
Returns a collection of
IssueLinkTypes with the given name. | |||||||||||
Returns a collection of
IssueLinkTypes with the given description as the outward description. | |||||||||||
This method removed the issue link type from the database
WARNING: This method DOES NOT check if there are any existing issue links of this issue link type. | |||||||||||
| id | the id of the issue link type |
|---|---|
| excludeSystemLinks | whether or not to exclude system links |
Returns a user-defined (non-system) issue link type object for the specified ID.
| id | the id |
|---|
Returns only user-defined (non-system) IssueLinkType objects
| excludeSystemLinks | whether or not to exclude system links |
|---|
Returns a collection of IssueLinkTypes with the given description as the inward description.
There is no restriction on inward and outward descriptions being unique across issue link types, which is why this
may return more than one IssueLinkType.
| desc | the inward description to search on |
|---|
Returns a collection of IssueLinkTypes with the given name.
Actually this collection should always have either one or zero elements - it is illegal to have two link types
with the same name.
| name | The name to search for Issue Link Types by. |
|---|
IssueLinkTypes, or an empty collection if name isn't a link type.
TODO: Reconsider this method. The GUI enforces unique names.
Returns a collection of IssueLinkTypes with the given description as the outward description.
There is no restriction on inward and outward descriptions being unique across issue link types, which is why this
may return more than one IssueLinkType.
| desc | the outward description to search on |
|---|
This method removed the issue link type from the database
WARNING: This method DOES NOT check if there are any existing issue links of this issue link type.
It simply removes the record from the datastore. Use IssueLinkTypeDestroyer to 'nicely'
remove the issue link type taking care of existing issue links.
| issueLinkTypeId | the id of the IssueLinkType to remove
|
|---|