Class SprintLinkedPagesModelFactory
java.lang.Object
com.atlassian.greenhopper.web.rapid.entity.common.AbstractLinkedPagesModelFactory
com.atlassian.greenhopper.web.rapid.entity.sprint.SprintLinkedPagesModelFactory
-
Field Summary
Fields inherited from class com.atlassian.greenhopper.web.rapid.entity.common.AbstractLinkedPagesModelFactory
applicationLinkService, CONFLUENCE_APP_ID, CONFLUENCE_APP_LINK_EXISTS, CONFLUENCE_APP_LINK_ID, CONFLUENCE_APP_NAME, CONFLUENCE_APP_URL, CONFLUENCE_AUTHENTICATION_REQUIRED, CONFLUENCE_AUTHENTICATION_URL, CONFLUENCE_JIRA_AGILE_SRC, CONFLUENCE_NO_APPLINK_AUTH_CONFIGURED, CONFLUENCE_PAGE_DELETED, CONFLUENCE_PAGE_ID, CONFLUENCE_PERMISSION_DENIED, CONFLUENCE_RELATIONSHIP_NAME, CONFLUENCE_SERVER_UNAVAILABLE, CONFLUENCE_SRC, CONFLUENCE_TITLE, CREATE_CONTENT_JIRA_REMOTE_LINK_CALLBACK, CREATE_CONTENT_WITH_INIT_CONTEXT, KEYS, log
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPagesForSprint
(com.atlassian.jira.user.ApplicationUser user, Sprint sprint, List<LinkedPagesModel.ApplicationLinkModel> applicationLinks) Returns a list of RemoteEntityLinkModel objects that represent the pages linked to a sprintlinkPageToSprint
(com.atlassian.jira.user.ApplicationUser user, Sprint sprint, String pageId, String pageTitle) Links a page to a sprint.Methods inherited from class com.atlassian.greenhopper.web.rapid.entity.common.AbstractLinkedPagesModelFactory
buildPageUrl, buildPageUrlWithSrc, extractPageIdFromGlobalId, extractPageIdFromUrl, findSupportedConfluenceApplicationLinks, hasPagesSupport
-
Constructor Details
-
SprintLinkedPagesModelFactory
public SprintLinkedPagesModelFactory()
-
-
Method Details
-
getPagesForSprint
public List<RemoteEntityLinkModel> getPagesForSprint(com.atlassian.jira.user.ApplicationUser user, Sprint sprint, List<LinkedPagesModel.ApplicationLinkModel> applicationLinks) Returns a list of RemoteEntityLinkModel objects that represent the pages linked to a sprint- Parameters:
sprint
-applicationLinks
-- Returns:
-
linkPageToSprint
public ServiceOutcome<RemoteEntityLinkModel> linkPageToSprint(com.atlassian.jira.user.ApplicationUser user, Sprint sprint, String pageId, String pageTitle) Links a page to a sprint.- Parameters:
user
-sprint
-pageId
-- Returns:
-