@ExperimentalApi
public interface RemoteEntityLink<E>
Modifier and Type | Field and Description |
---|---|
static String |
GLOBAL_ID
The name of the JSON object field that may be used to suggest the global ID
to use when creating a remote entity link.
|
Modifier and Type | Method and Description |
---|---|
String |
getApplicationName()
Returns the application name for the remote entity link, as extracted from the raw JSON.
|
String |
getApplicationType()
Returns the application type for the remote entity link, as extracted from the raw JSON.
|
E |
getEntity()
Returns the local entity to which the remote entity link is associated.
|
Long |
getEntityId()
Returns the entity ID for the local entity to which the remote entity link is associated.
|
String |
getGlobalId()
Returns the global ID for the remote entity link.
|
String |
getIconTitle()
Returns the target object icon title for the remote entity link, as extracted from the raw JSON.
|
String |
getIconUrl()
Returns the target object icon URL for the remote entity link, as extracted from the raw JSON.
|
String |
getJsonString()
Returns the raw JSON value stored for this remote entity link.
|
String |
getSummary()
Returns the target object summary for the remote entity link, as extracted from the raw JSON.
|
String |
getTitle()
Returns the target object title for the remote entity link, as extracted from the raw JSON.
|
String |
getUrl()
Returns the target object URL for the remote entity link, as extracted from the raw JSON.
|
static final String GLOBAL_ID
See RemoteVersionLinkService
for an example of this.
E getEntity()
RemoteVersionLink
, then
this will return a Version
.@Nonnull Long getEntityId()
RemoteVersionLink
,
then this will be a version ID
.@Nonnull String getGlobalId()
@Nonnull String getJsonString()
@Nullable String getTitle()
null
if it is not defined@Nullable String getSummary()
null
if it is not defined@Nullable String getUrl()
null
if it is not defined@Nullable String getIconUrl()
null
if it is not defined@Nullable String getIconTitle()
null
if it is not defined@Nullable String getApplicationName()
null
if it is not definedCopyright © 2002-2018 Atlassian. All Rights Reserved.