@Service public class RemoteSprintLinkService extends Object
Modifier and Type | Class and Description |
---|---|
static class |
RemoteSprintLinkService.JsonLink |
Modifier and Type | Field and Description |
---|---|
static String |
SPRINT_REMOTE_LINK |
Constructor and Description |
---|
RemoteSprintLinkService() |
Modifier and Type | Method and Description |
---|---|
ServiceOutcome<Integer> |
countRemoteLinkedSprintsByGlobalId(String globalId) |
ServiceOutcome<RemoteSprintLink> |
createRemoteSprintLink(com.atlassian.crowd.embedded.api.User user,
Long sprintId,
String globalId,
String title,
String url,
String relationship,
String applicationType,
String applicationName) |
ServiceOutcome<List<RemoteSprintLink>> |
getRemoteLinkedSprintsByGlobalId(String globalId) |
ServiceOutcome<List<RemoteSprintLink>> |
getRemoteSprintLinks(com.atlassian.crowd.embedded.api.User user,
Sprint sprint)
Returns all the remote sprint links of a certain sprint
|
ServiceOutcome<List<RemoteSprintLink>> |
getRemoteSprintLinks(com.atlassian.crowd.embedded.api.User user,
Sprint sprint,
RemoteSprintLink.ApplicationType applicationType)
Returns a list of remote sprint links of the given sprint for a certain application type
|
ServiceOutcome<Void> |
removeAllRemoteSprintLinks(com.atlassian.crowd.embedded.api.User user,
Sprint sprint) |
ServiceOutcome<Void> |
removeRemoteSprintLink(com.atlassian.crowd.embedded.api.User user,
Sprint sprint,
Long linkId) |
public static final String SPRINT_REMOTE_LINK
public ServiceOutcome<List<RemoteSprintLink>> getRemoteSprintLinks(com.atlassian.crowd.embedded.api.User user, Sprint sprint)
user
- sprint
- public ServiceOutcome<List<RemoteSprintLink>> getRemoteSprintLinks(com.atlassian.crowd.embedded.api.User user, Sprint sprint, RemoteSprintLink.ApplicationType applicationType)
user
- sprint
- applicationType
- public ServiceOutcome<List<RemoteSprintLink>> getRemoteLinkedSprintsByGlobalId(String globalId)
public ServiceOutcome<Integer> countRemoteLinkedSprintsByGlobalId(String globalId)
public ServiceOutcome<RemoteSprintLink> createRemoteSprintLink(com.atlassian.crowd.embedded.api.User user, Long sprintId, String globalId, String title, String url, String relationship, String applicationType, String applicationName)
public ServiceOutcome<Void> removeRemoteSprintLink(com.atlassian.crowd.embedded.api.User user, Sprint sprint, Long linkId)
public ServiceOutcome<Void> removeAllRemoteSprintLinks(com.atlassian.crowd.embedded.api.User user, Sprint sprint)
Copyright © 2007–2015 Atlassian. All rights reserved.