|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.issue.link.LinkCollectionImpl
public class LinkCollectionImpl
Constructor Summary | |
---|---|
LinkCollectionImpl(Long issueId,
Set<IssueLinkType> linkTypes,
Map<String,List<Issue>> outwardLinkMap,
Map<String,List<Issue>> inwardLinkMap,
com.atlassian.crowd.embedded.api.User 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,
com.atlassian.crowd.embedded.api.User remoteUser,
boolean overrideSecurity,
ApplicationProperties applicationProperties)
Creates a new instance of this class. |
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LinkCollectionImpl(Long issueId, Set<IssueLinkType> linkTypes, Map<String,List<Issue>> outwardLinkMap, Map<String,List<Issue>> inwardLinkMap, com.atlassian.crowd.embedded.api.User 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, com.atlassian.crowd.embedded.api.User 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 propertiesMethod Detail |
---|
public static Collection<String> getSortableFields()
public Set<IssueLinkType> getLinkTypes()
LinkCollection
IssueLinkType
objects.
getLinkTypes
in interface LinkCollection
IssueLinkType
objectspublic List<Issue> getOutwardIssues(String linkName)
LinkCollection
getOutwardIssues
in interface LinkCollection
linkName
- link name to lookup issues by
public List<Issue> getInwardIssues(String linkName)
LinkCollection
getInwardIssues
in interface LinkCollection
linkName
- link name to lookup issues by
public Collection<Issue> getAllIssues()
LinkCollection
getAllIssues
in interface LinkCollection
public boolean isDisplayLinkPanel()
LinkCollection
isDisplayLinkPanel
in interface LinkCollection
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |