java.lang.Object | ||
↳ | com.atlassian.applinks.host.spi.AbstractInternalHostApplication | |
↳ | com.atlassian.jira.applinks.JiraAppLinksHostApplication |
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
long | TIMEOUT |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new JiraAppLinksHostApplication instance.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the base URL that is configured for this JIRA instance.
| |||||||||||
The OsgiServiceProxyFactory creates a proxy to the TypeAccessor which is a component of the applinks-plugin.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Creates a new JiraAppLinksHostApplication instance.
entityReference | an com.atlassian.applinks.host.spi.EntityReference representing an entity contained in the local application instance. |
---|
true
if the current user has permission to link or unlink the specified EntityReference
to other entities, false
otherwise.
User requires to have either the JIRA Administrator or PROJECT ADMIN permission.
key | the key of an entity local to this application (e.g. JRA, CONF) |
---|---|
type | the class of the com.atlassian.applinks.api.EntityType of the entity (e.g. com.atlassian.applinks.api.application.jira.JiraProjectEntityType) |
key | the key of an entity local to this application (e.g. JRA, CONF) |
---|---|
type | the class of the EntityType of the entity (e.g. JiraProjectEntityType) |
doesEntityExist(String, Class)
.Returns the base URL that is configured for this JIRA instance.
Iterable
containing an EntityReference
for every
entity in the local instance visible to the currently logged in user. Note, the implementation
must perform a permission check and return only entities visible the context user (who
may be anonymous).
User requires to have either the BROWSE project, JIRA Administrator or PROJECT ADMIN permission.
ApplicationType
for this application instance. Implementations
should delegate to the com.atlassian.applinks.spi.util.TypeAccessor to resolve an instance of the
desired type.
true
if the host application allows public signup, false
otherwise.
The OsgiServiceProxyFactory creates a proxy to the TypeAccessor which is a component of the applinks-plugin. The TypeAccessor is not available when the host application starts, but when the plugins framework has finished starting.
Exception |
---|
domainObject | an entity domain object from the application's API (e.g. com.atlassian.jira.project.Project, com.atlassian.confluence.spaces.Space). Implementations are free to choose which objects supported by this class, but the complete list should be maintained on the com.atlassian.applinks.api.EntityLinkService javadoc. |
---|
EntityReference
initialised with the key and type of the
supplied domain object. This method need not perform any permission checking. Implementations should
delegate to the com.atlassian.applinks.spi.util.TypeAccessor to resolve an instance of the
desired EntityType
.
key | the key of a local entity (e.g. "JRA", "FECRUDEV", "CR-BAM") |
---|---|
type | the class of the EntityType of the entity (e.g. com.atlassian.applinks.api.application.jira.JiraProjectEntityType) |
EntityReference
initialised with the key and type of the
supplied domain object. This method need not perform any permission checking. Implementations should
delegate to the com.atlassian.applinks.spi.util.TypeAccessor to resolve an instance of the
specified EntityType
.IllegalArgumentException | if the specified type is not assignable to JiraProjectEntityType or if no project with the specified key can be found |
---|