public class LinkCollectionImpl extends Object implements LinkCollection
| Constructor and Description |
|---|
LinkCollectionImpl(Long issueId,
Set<IssueLinkType> linkTypes,
Map<String,List<Issue>> outwardLinkMap,
Map<String,List<Issue>> inwardLinkMap,
ApplicationUser remoteUser,
ApplicationProperties applicationProperties)
Creates a new instance of this class.
|
LinkCollectionImpl(Long issueId,
Set<IssueLinkType> linkTypes,
Map<String,List<Issue>> outwardLinkMap,
Map<String,List<Issue>> inwardLinkMap,
ApplicationUser remoteUser,
boolean overrideSecurity,
ApplicationProperties applicationProperties)
Creates a new instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<Issue> |
getAllIssues()
Returns a collection of issues that contains both inward and outward linking issues.
|
List<Issue> |
getInwardIssues(String linkName)
Looks up and returns a "sort.order" sorted list of all inward linked issues by given link name.
|
Set<IssueLinkType> |
getLinkTypes()
Returns a set of link types,
IssueLinkType objects. |
List<Issue> |
getOutwardIssues(String linkName)
Looks up and returns a "sort.order" sorted list of all outward linked issues by given link name.
|
static Collection<String> |
getSortableFields()
Provides the allowable fields that can be used to specify link sort order.
|
boolean |
isDisplayLinkPanel()
Determine whether there are links visible to this user - do not display link panel if not
|
public LinkCollectionImpl(Long issueId, Set<IssueLinkType> linkTypes, Map<String,List<Issue>> outwardLinkMap, Map<String,List<Issue>> inwardLinkMap, ApplicationUser remoteUser, boolean overrideSecurity, ApplicationProperties applicationProperties)
APKeys.JIRA_VIEW_ISSUE_LINKS_SORT_ORDER key.issueId - issue generic value this link collection relates tolinkTypes - a set of link typesoutwardLinkMap - a map of outward linksinwardLinkMap - a map of inward linksremoteUser - user, used to filter the linked issuesoverrideSecurity - false if permissions should be checked when retrieving linksapplicationProperties - application propertiespublic LinkCollectionImpl(Long issueId, Set<IssueLinkType> linkTypes, Map<String,List<Issue>> outwardLinkMap, Map<String,List<Issue>> inwardLinkMap, ApplicationUser remoteUser, ApplicationProperties applicationProperties)
APKeys.JIRA_VIEW_ISSUE_LINKS_SORT_ORDER key.issueId - issue generic value this link collection relates tolinkTypes - a set of link typesoutwardLinkMap - a map of outward linksinwardLinkMap - a map of inward linksremoteUser - user, used to filter the linked issuesapplicationProperties - application propertiespublic static Collection<String> getSortableFields()
public Set<IssueLinkType> getLinkTypes()
LinkCollectionIssueLinkType objects.getLinkTypes in interface LinkCollectionIssueLinkType objectspublic List<Issue> getOutwardIssues(String linkName)
LinkCollectiongetOutwardIssues in interface LinkCollectionlinkName - link name to lookup issues bypublic List<Issue> getInwardIssues(String linkName)
LinkCollectiongetInwardIssues in interface LinkCollectionlinkName - link name to lookup issues bypublic Collection<Issue> getAllIssues()
LinkCollectiongetAllIssues in interface LinkCollectionpublic boolean isDisplayLinkPanel()
LinkCollectionisDisplayLinkPanel in interface LinkCollectionCopyright © 2002-2018 Atlassian. All Rights Reserved.