Class AbstractLinkedPagesModelFactory
java.lang.Object
com.atlassian.greenhopper.web.rapid.entity.common.AbstractLinkedPagesModelFactory
- Direct Known Subclasses:
EpicLinkedPagesModelFactory,SprintLinkedPagesModelFactory
A base class that provides some infrastructure for dealing with confluence pages linked to entities (issue, sprint, version,...)
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.atlassian.applinks.api.ApplicationLinkServiceprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringstatic final Stringstatic final StringThe primary app linked confluence instance is checked to see if it has these two capabilities.protected final LoggerWrapper -
Constructor Summary
ConstructorsConstructorDescriptionAbstractLinkedPagesModelFactory(com.atlassian.applinks.api.ApplicationLinkService applicationLinkService, com.atlassian.plugins.capabilities.api.LinkedApplicationCapabilities linkedApplicationCapabilities) -
Method Summary
Modifier and TypeMethodDescriptionprotected StringbuildPageUrl(com.atlassian.applinks.api.ApplicationLink appLink, String pageId) protected StringbuildPageUrlWithSrc(String pageUrl, String entityType) protected LongextractPageIdFromGlobalId(String globalId) protected Longboolean
-
Field Details
-
CONFLUENCE_APP_ID
- See Also:
-
CONFLUENCE_PAGE_ID
- See Also:
-
KEYS
-
CONFLUENCE_SRC
- See Also:
-
CONFLUENCE_JIRA_AGILE_SRC
- See Also:
-
CONFLUENCE_PAGE_DELETED
- See Also:
-
CONFLUENCE_APP_LINK_EXISTS
- See Also:
-
CONFLUENCE_PERMISSION_DENIED
- See Also:
-
CONFLUENCE_SERVER_UNAVAILABLE
- See Also:
-
CONFLUENCE_AUTHENTICATION_REQUIRED
- See Also:
-
CONFLUENCE_AUTHENTICATION_URL
- See Also:
-
CONFLUENCE_APP_LINK_ID
- See Also:
-
CONFLUENCE_APP_NAME
- See Also:
-
CONFLUENCE_APP_URL
- See Also:
-
CONFLUENCE_NO_APPLINK_AUTH_CONFIGURED
- See Also:
-
CONFLUENCE_TITLE
- See Also:
-
CONFLUENCE_RELATIONSHIP_NAME
- See Also:
-
CREATE_CONTENT_WITH_INIT_CONTEXT
The primary app linked confluence instance is checked to see if it has these two capabilities. The reason there are two capabilities is due to the fact their implementation is spread out over 2 plugins- See Also:
-
CREATE_CONTENT_JIRA_REMOTE_LINK_CALLBACK
- See Also:
-
log
-
applicationLinkService
protected com.atlassian.applinks.api.ApplicationLinkService applicationLinkService
-
-
Constructor Details
-
AbstractLinkedPagesModelFactory
public AbstractLinkedPagesModelFactory(com.atlassian.applinks.api.ApplicationLinkService applicationLinkService, com.atlassian.plugins.capabilities.api.LinkedApplicationCapabilities linkedApplicationCapabilities)
-
-
Method Details
-
findSupportedConfluenceApplicationLinks
-
hasPagesSupport
public boolean hasPagesSupport() -
buildPageUrl
-
extractPageIdFromUrl
-
extractPageIdFromGlobalId
-
buildPageUrlWithSrc
-