|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@PublicApi public interface RemoteIssueLinkManager
Manages remote issue links between a JIRA issue and remote objects in other remote applications.
| Method Summary | |
|---|---|
RemoteIssueLink |
createRemoteIssueLink(RemoteIssueLink remoteIssueLink,
ApplicationUser user)
Creates the given remote issue link. |
RemoteIssueLink |
createRemoteIssueLink(RemoteIssueLink remoteIssueLink,
com.atlassian.crowd.embedded.api.User user)
Deprecated. since v6.1. Use createRemoteIssueLink(RemoteIssueLink, com.atlassian.jira.user.ApplicationUser) instead. |
List<RemoteIssueLink> |
findRemoteIssueLinksByGlobalIds(Collection<String> globalIds)
Returns the remote issue links that have any the given globalIds, or empty if none exists. |
RemoteIssueLink |
getRemoteIssueLink(Long remoteIssueLinkId)
Returns the remote issue link with the given id, or null if it does not exist. |
RemoteIssueLink |
getRemoteIssueLinkByGlobalId(Issue issue,
String globalId)
Returns the first remote issue link found that links with the given JIRA issue and has the given globalId, or null if none exists. |
List<RemoteIssueLink> |
getRemoteIssueLinksForIssue(Issue issue)
Gets the remote issue links that link with the given JIRA issue. |
long |
getTotalRemoteIssueLinkCountByGlobalId(String globalId)
Get the total count of Remote Issue Links which have a given global id |
void |
removeRemoteIssueLink(Long remoteIssueLinkId,
ApplicationUser user)
Deletes the given remote issue link id. |
void |
removeRemoteIssueLink(Long remoteIssueLinkId,
com.atlassian.crowd.embedded.api.User user)
Deprecated. since v6.1. Use removeRemoteIssueLink(Long, com.atlassian.jira.user.ApplicationUser) instead. |
void |
removeRemoteIssueLinkByGlobalId(Issue issue,
String globalId,
ApplicationUser user)
Deletes any remote issue link that links with the given JIRA issue and has the given global id. |
void |
removeRemoteIssueLinkByGlobalId(Issue issue,
String globalId,
com.atlassian.crowd.embedded.api.User user)
Deprecated. since v6.1. Use removeRemoteIssueLinkByGlobalId(com.atlassian.jira.issue.Issue, String, com.atlassian.jira.user.ApplicationUser) instead. |
void |
updateRemoteIssueLink(RemoteIssueLink remoteIssueLink,
ApplicationUser user)
Updates the given remote issue link. |
void |
updateRemoteIssueLink(RemoteIssueLink remoteIssueLink,
com.atlassian.crowd.embedded.api.User user)
Deprecated. since v6.1. Use updateRemoteIssueLink(RemoteIssueLink, com.atlassian.jira.user.ApplicationUser) instead. |
| Method Detail |
|---|
RemoteIssueLink getRemoteIssueLink(Long remoteIssueLinkId)
remoteIssueLinkId - the id of the remote issue link to get
List<RemoteIssueLink> getRemoteIssueLinksForIssue(Issue issue)
issue - the issue to get the remote issue links for
RemoteIssueLink getRemoteIssueLinkByGlobalId(Issue issue,
String globalId)
issue - the issue to get the remote issue links forglobalId - the globalId to get the remote issue link for
List<RemoteIssueLink> findRemoteIssueLinksByGlobalIds(Collection<String> globalIds)
throws GetException
globalIds - the globalIds to get the remote issue links for
GetException - when the number of globalIds exceeds 100.
RemoteIssueLink createRemoteIssueLink(RemoteIssueLink remoteIssueLink,
com.atlassian.crowd.embedded.api.User user)
throws CreateException
createRemoteIssueLink(RemoteIssueLink, com.atlassian.jira.user.ApplicationUser) instead.
remoteIssueLink - the remote issue link to createuser - the current user
CreateException
RemoteIssueLink createRemoteIssueLink(RemoteIssueLink remoteIssueLink,
ApplicationUser user)
throws CreateException
remoteIssueLink - the remote issue link to createuser - the current user
CreateException
void updateRemoteIssueLink(RemoteIssueLink remoteIssueLink,
com.atlassian.crowd.embedded.api.User user)
throws UpdateException
updateRemoteIssueLink(RemoteIssueLink, com.atlassian.jira.user.ApplicationUser) instead.
remoteIssueLink - the remote issue link to updateuser - the current user
UpdateException
void updateRemoteIssueLink(RemoteIssueLink remoteIssueLink,
ApplicationUser user)
throws UpdateException
remoteIssueLink - the remote issue link to updateuser - the current user
UpdateException
void removeRemoteIssueLink(Long remoteIssueLinkId,
com.atlassian.crowd.embedded.api.User user)
removeRemoteIssueLink(Long, com.atlassian.jira.user.ApplicationUser) instead.
remoteIssueLinkId - the id of the remote issue link to deleteuser - the current user
void removeRemoteIssueLink(Long remoteIssueLinkId,
ApplicationUser user)
remoteIssueLinkId - the id of the remote issue link to deleteuser - the current user
void removeRemoteIssueLinkByGlobalId(Issue issue,
String globalId,
com.atlassian.crowd.embedded.api.User user)
removeRemoteIssueLinkByGlobalId(com.atlassian.jira.issue.Issue, String, com.atlassian.jira.user.ApplicationUser) instead.
issue - the issue of the remote issue linkglobalId - the global id of the remote issue linkuser - the current user
void removeRemoteIssueLinkByGlobalId(Issue issue,
String globalId,
ApplicationUser user)
issue - the issue of the remote issue linkglobalId - the global id of the remote issue linkuser - the current userlong getTotalRemoteIssueLinkCountByGlobalId(String globalId)
globalId - The global of the remote issue link
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||