public class DefaultIssueLinkTypeService extends Object implements IssueLinkTypeService
| Constructor and Description |
|---|
DefaultIssueLinkTypeService(PermissionManager permissionManager,
IssueLinkTypeManager issueLinkTypeManager,
IssueLinkTypeDestroyer issueLinkTypeDestroyer,
I18nHelper.BeanFactory i18nFactory,
ApplicationProperties applicationProperties,
IssueLinkingHandler issueLinkingHandler) |
| Modifier and Type | Method and Description |
|---|---|
ServiceOutcome<IssueLinkType> |
createIssueLinkType(ApplicationUser user,
String name,
String outward,
String inward)
Create a new issue link type.
|
ServiceOutcome<IssueLinkType> |
deleteIssueLinkType(ApplicationUser user,
IssueLinkType linkType)
Delete a given IssueLinkType, checking for permissions.
|
ServiceOutcome<Collection<IssueLinkType>> |
getIssueLinkTypes(ApplicationUser user)
Get a list of all issue link types in the system.
|
ServiceOutcome<IssueLinkType> |
updateIssueLinkType(ApplicationUser user,
IssueLinkType linkType,
String name,
String outward,
String inward)
Update an existing issue link type
|
public DefaultIssueLinkTypeService(PermissionManager permissionManager, IssueLinkTypeManager issueLinkTypeManager, IssueLinkTypeDestroyer issueLinkTypeDestroyer, I18nHelper.BeanFactory i18nFactory, ApplicationProperties applicationProperties, IssueLinkingHandler issueLinkingHandler)
public ServiceOutcome<IssueLinkType> createIssueLinkType(ApplicationUser user, String name, String outward, String inward)
IssueLinkTypeServicecreateIssueLinkType in interface IssueLinkTypeServiceuser - the user who will create itname - the name of the link to createoutward - the description to use for outbound links of this typeinward - the description to use for inbound links of this typepublic ServiceOutcome<IssueLinkType> deleteIssueLinkType(ApplicationUser user, IssueLinkType linkType)
IssueLinkTypeServicedeleteIssueLinkType in interface IssueLinkTypeServiceuser - the user who is performing the actionlinkType - the IssueLinkType to deletepublic ServiceOutcome<Collection<IssueLinkType>> getIssueLinkTypes(ApplicationUser user)
IssueLinkTypeServicegetIssueLinkTypes in interface IssueLinkTypeServiceuser - the user who wants to knowpublic ServiceOutcome<IssueLinkType> updateIssueLinkType(ApplicationUser user, IssueLinkType linkType, String name, String outward, String inward)
IssueLinkTypeServiceupdateIssueLinkType in interface IssueLinkTypeServiceuser - the user performing the modificationlinkType - the link you want to updatename - the new name to useoutward - the new outbound description to useinward - the new inbound description to useCopyright © 2002-2021 Atlassian. All Rights Reserved.