com.atlassian.jira.issue.link
Class IssueLinkDisplayHelper
java.lang.Object
com.atlassian.jira.issue.link.IssueLinkDisplayHelper
public class IssueLinkDisplayHelper
- extends Object
A simple helper class to help out in how we display issues links
- Since:
- v4.4
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IssueLinkDisplayHelper
public IssueLinkDisplayHelper(UserHistoryManager userHistoryManager,
com.atlassian.crowd.embedded.api.User user)
getSortedIssueLinkTypes
public Collection<String> getSortedIssueLinkTypes(Collection<IssueLinkType> linkTypes)
- Sorts the link types into a list of strings (for a combo box) sorted in previous usage order
- Parameters:
linkTypes
- the collection of link types to sort
- Returns:
- the list of link types sorted by previous preference
getLastUsedLinkType
public String getLastUsedLinkType()
- Returns:
- the issue link type that was last used by this user
Copyright © 2002-2013 Atlassian. All Rights Reserved.