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 Details

    • ConfluenceInternalHostApplication

      public ConfluenceInternalHostApplication(com.atlassian.plugin.PluginAccessor pluginAccessor, GlobalSettingsManager settingsManager, ConfluenceSidManager confluenceSidManager, com.atlassian.applinks.spi.util.TypeAccessor typeAccessor, SpaceManager spaceManager, PermissionManager permissionManager, com.atlassian.webresource.api.WebResourceUrlProvider webResourceUrlProvider)
  • Method Details

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