|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.bc.issue.link.DefaultIssueLinkTypeService
public class DefaultIssueLinkTypeService
Constructor Summary | |
---|---|
DefaultIssueLinkTypeService(PermissionManager permissionManager,
IssueLinkTypeManager issueLinkTypeManager,
IssueLinkTypeDestroyer issueLinkTypeDestroyer,
I18nHelper.BeanFactory i18nFactory,
ApplicationProperties applicationProperties)
|
Method Summary | |
---|---|
ServiceOutcome<IssueLinkType> |
createIssueLinkType(com.atlassian.crowd.embedded.api.User user,
String name,
String outward,
String inward)
Create a new issue link type. |
ServiceOutcome<IssueLinkType> |
deleteIssueLinkType(com.atlassian.crowd.embedded.api.User user,
IssueLinkType linkType)
Delete a given IssueLinkType, checking for permissions. |
ServiceOutcome<Collection<IssueLinkType>> |
getIssueLinkTypes(com.atlassian.crowd.embedded.api.User user)
Get a list of all issue link types in the system. |
ServiceOutcome<IssueLinkType> |
updateIssueLinkType(com.atlassian.crowd.embedded.api.User user,
IssueLinkType linkType,
String name,
String outward,
String inward)
Update an existing issue link type |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultIssueLinkTypeService(PermissionManager permissionManager, IssueLinkTypeManager issueLinkTypeManager, IssueLinkTypeDestroyer issueLinkTypeDestroyer, I18nHelper.BeanFactory i18nFactory, ApplicationProperties applicationProperties)
Method Detail |
---|
public ServiceOutcome<IssueLinkType> createIssueLinkType(com.atlassian.crowd.embedded.api.User user, String name, String outward, String inward)
IssueLinkTypeService
createIssueLinkType
in interface IssueLinkTypeService
user
- 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 type
public ServiceOutcome<IssueLinkType> deleteIssueLinkType(com.atlassian.crowd.embedded.api.User user, IssueLinkType linkType)
IssueLinkTypeService
deleteIssueLinkType
in interface IssueLinkTypeService
user
- the user who is performing the actionlinkType
- the IssueLinkType to delete
public ServiceOutcome<Collection<IssueLinkType>> getIssueLinkTypes(com.atlassian.crowd.embedded.api.User user)
IssueLinkTypeService
getIssueLinkTypes
in interface IssueLinkTypeService
user
- the user who wants to know
public ServiceOutcome<IssueLinkType> updateIssueLinkType(com.atlassian.crowd.embedded.api.User user, IssueLinkType linkType, String name, String outward, String inward)
IssueLinkTypeService
updateIssueLinkType
in interface IssueLinkTypeService
user
- 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 use
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |