|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.issue.link.LinkCollection
public class LinkCollection
This class represents the collection of links in to and out of a particular issue.
Constructor Summary | |
---|---|
LinkCollection(org.ofbiz.core.entity.GenericValue issue,
Set linkTypes,
Map outwardLinkMap,
Map inwardLinkMap,
User remoteUser,
ApplicationProperties applicationProperties)
Creates a new instance of this class. |
|
LinkCollection(org.ofbiz.core.entity.GenericValue issue,
Set linkTypes,
Map outwardLinkMap,
Map inwardLinkMap,
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 |
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. |
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 LinkCollection(org.ofbiz.core.entity.GenericValue issue, Set linkTypes, Map outwardLinkMap, Map inwardLinkMap, User remoteUser, ApplicationProperties applicationProperties)
APKeys.JIRA_VIEW_ISSUE_LINKS_SORT_ORDER
key.
issue
- 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 LinkCollection(org.ofbiz.core.entity.GenericValue issue, Set linkTypes, Map outwardLinkMap, Map inwardLinkMap, User remoteUser, boolean overrideSecurity, ApplicationProperties applicationProperties)
APKeys.JIRA_VIEW_ISSUE_LINKS_SORT_ORDER
key.
issue
- 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 propertiesMethod Detail |
---|
public Set getLinkTypes()
IssueLinkType
objects.
IssueLinkType
objectspublic List<Issue> getOutwardIssues(String linkName)
SORT_ORDER
sorted list of all outward linked issues by given link name.
May return null.
linkName
- link name to lookup issues by
public List<Issue> getInwardIssues(String linkName)
SORT_ORDER
sorted list of all inward linked issues by given link name.
May return null.
linkName
- link name to lookup issues by
public Collection<Issue> getAllIssues()
SORT_ORDER
and does not contain duplicates.
public boolean isDisplayLinkPanel()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |