com.atlassian.confluence.applinks
Class ConfluenceInternalHostApplication

java.lang.Object
  extended by com.atlassian.applinks.host.spi.AbstractInternalHostApplication
      extended by 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.


Field Summary
 
Fields inherited from class com.atlassian.applinks.host.spi.AbstractInternalHostApplication
pluginAccessor
 
Constructor Summary
ConfluenceInternalHostApplication(com.atlassian.applinks.host.util.InstanceNameGenerator instanceNameGenerator, com.atlassian.plugin.PluginAccessor pluginAccessor, SettingsManager settingsManager, ConfluenceSidManager confluenceSidManager, com.atlassian.applinks.spi.util.TypeAccessor typeAccessor, SpaceManager spaceManager, PermissionManager permissionManager, com.atlassian.plugin.webresource.WebResourceManager webResourceManager)
           
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.WebResourceManager webResourceManager)
           
 
Method Summary
 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)
          
 
Methods inherited from class com.atlassian.applinks.host.spi.AbstractInternalHostApplication
getSupportedInboundAuthenticationTypes, getSupportedOutboundAuthenticationTypes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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.WebResourceManager webResourceManager)

ConfluenceInternalHostApplication

public ConfluenceInternalHostApplication(com.atlassian.applinks.host.util.InstanceNameGenerator instanceNameGenerator,
                                         com.atlassian.plugin.PluginAccessor pluginAccessor,
                                         SettingsManager settingsManager,
                                         ConfluenceSidManager confluenceSidManager,
                                         com.atlassian.applinks.spi.util.TypeAccessor typeAccessor,
                                         SpaceManager spaceManager,
                                         PermissionManager permissionManager,
                                         com.atlassian.plugin.webresource.WebResourceManager webResourceManager)
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()


Copyright © 2003-2012 Atlassian. All Rights Reserved.