Class JiraWebLink
java.lang.Object
com.atlassian.jira.plugin.webfragment.model.JiraWebLink
- All Implemented Interfaces:
SettableWebLink
,com.atlassian.plugin.web.model.WebLink
public class JiraWebLink
extends Object
implements com.atlassian.plugin.web.model.WebLink, SettableWebLink
A jira specific wrapper for the
DefaultWebLink
-
Constructor Summary
ConstructorsConstructorDescriptionJiraWebLink
(JiraAuthenticationContext authenticationContext) JiraWebLink
(com.atlassian.plugin.web.model.WebLink webLink, JiraAuthenticationContext authenticationContext) -
Method Summary
Modifier and TypeMethodDescriptiongetAccessKey
(ApplicationUser remoteUser, JiraHelper jiraHelper) getAccessKey
(Map context) com.atlassian.plugin.web.api.descriptors.WebFragmentModuleDescriptor
getDisplayableUrl
(ApplicationUser remoteUser, JiraHelper jiraHelper) getDisplayableUrl
(javax.servlet.http.HttpServletRequest req, Map context) getId()
getRenderedUrl
(ApplicationUser remoteUser, JiraHelper jiraHelper) getRenderedUrl
(Map context) boolean
protected Map
makeContext
(ApplicationUser remoteUser, JiraHelper jiraHelper) void
setLink
(com.atlassian.plugin.web.model.WebLink link) Provides access to the passedWebLink
.
-
Constructor Details
-
JiraWebLink
-
JiraWebLink
public JiraWebLink(com.atlassian.plugin.web.model.WebLink webLink, JiraAuthenticationContext authenticationContext)
-
-
Method Details
-
getRenderedUrl
-
getDisplayableUrl
-
hasAccessKey
public boolean hasAccessKey()- Specified by:
hasAccessKey
in interfacecom.atlassian.plugin.web.model.WebLink
-
getAccessKey
-
getId
- Specified by:
getId
in interfacecom.atlassian.plugin.web.model.WebLink
-
makeContext
-
getRenderedUrl
- Specified by:
getRenderedUrl
in interfacecom.atlassian.plugin.web.model.WebLink
-
getDisplayableUrl
- Specified by:
getDisplayableUrl
in interfacecom.atlassian.plugin.web.model.WebLink
-
getAccessKey
- Specified by:
getAccessKey
in interfacecom.atlassian.plugin.web.model.WebLink
-
getDescriptor
public com.atlassian.plugin.web.api.descriptors.WebFragmentModuleDescriptor getDescriptor()- Specified by:
getDescriptor
in interfacecom.atlassian.plugin.web.model.WebLink
-
setLink
public void setLink(com.atlassian.plugin.web.model.WebLink link) Description copied from interface:SettableWebLink
Provides access to the passedWebLink
.- Specified by:
setLink
in interfaceSettableWebLink
-