Class 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 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()