Class ConfluenceInternalHostApplication
- java.lang.Object
-
- com.atlassian.applinks.host.spi.AbstractInternalHostApplication
-
- com.atlassian.confluence.applinks.ConfluenceInternalHostApplication
-
- All Implemented Interfaces:
com.atlassian.applinks.host.spi.HostApplication
,com.atlassian.applinks.host.spi.InternalHostApplication
public class ConfluenceInternalHostApplication extends com.atlassian.applinks.host.spi.AbstractInternalHostApplication
Provides a bridge between Confluence and the External Application. Namely, it converts EntityReferences into Spaces and vice versa.
-
-
Constructor Summary
Constructors Constructor Description ConfluenceInternalHostApplication(com.atlassian.plugin.PluginAccessor pluginAccessor, SettingsManager settingsManager, ConfluenceSidManager confluenceSidManager, com.atlassian.applinks.spi.util.TypeAccessor typeAccessor, SpaceManager spaceManager, PermissionManager permissionManager, com.atlassian.plugin.webresource.WebResourceUrlProvider webResourceUrlProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canManageEntityLinksFor(com.atlassian.applinks.host.spi.EntityReference entityReference)
boolean
doesEntityExist(String key, Class<? extends com.atlassian.applinks.api.EntityType> type)
boolean
doesEntityExistNoPermissionCheck(String key, Class<? extends com.atlassian.applinks.api.EntityType> type)
URI
getBaseUrl()
URI
getDocumentationBaseUrl()
URI
getIconUrl()
com.atlassian.applinks.api.ApplicationId
getId()
Iterable<com.atlassian.applinks.host.spi.EntityReference>
getLocalEntities()
String
getName()
com.atlassian.applinks.api.ApplicationType
getType()
boolean
hasPublicSignup()
com.atlassian.applinks.host.spi.EntityReference
toEntityReference(Object domainObject)
com.atlassian.applinks.host.spi.EntityReference
toEntityReference(String key, Class<? extends com.atlassian.applinks.api.EntityType> type)
-
-
-
Constructor Detail
-
ConfluenceInternalHostApplication
public ConfluenceInternalHostApplication(com.atlassian.plugin.PluginAccessor pluginAccessor, SettingsManager settingsManager, ConfluenceSidManager confluenceSidManager, com.atlassian.applinks.spi.util.TypeAccessor typeAccessor, SpaceManager spaceManager, PermissionManager permissionManager, com.atlassian.plugin.webresource.WebResourceUrlProvider webResourceUrlProvider)
-
-
Method Detail
-
getBaseUrl
public URI getBaseUrl()
-
getIconUrl
public URI getIconUrl()
-
getDocumentationBaseUrl
public URI getDocumentationBaseUrl()
-
getName
public String getName()
-
getType
public com.atlassian.applinks.api.ApplicationType getType()
-
getLocalEntities
public Iterable<com.atlassian.applinks.host.spi.EntityReference> getLocalEntities()
-
doesEntityExist
public boolean doesEntityExist(String key, Class<? extends com.atlassian.applinks.api.EntityType> type)
-
doesEntityExistNoPermissionCheck
public boolean doesEntityExistNoPermissionCheck(String key, Class<? extends com.atlassian.applinks.api.EntityType> type)
-
toEntityReference
public com.atlassian.applinks.host.spi.EntityReference toEntityReference(Object domainObject)
-
toEntityReference
public com.atlassian.applinks.host.spi.EntityReference toEntityReference(String key, Class<? extends com.atlassian.applinks.api.EntityType> type)
-
canManageEntityLinksFor
public boolean canManageEntityLinksFor(com.atlassian.applinks.host.spi.EntityReference entityReference)
-
getId
public com.atlassian.applinks.api.ApplicationId getId()
-
hasPublicSignup
public boolean hasPublicSignup()
-
-