com.atlassian.plugin.web.model
Class DefaultWebLink
java.lang.Object
com.atlassian.plugin.web.model.AbstractWebItem
com.atlassian.plugin.web.model.DefaultWebLink
- All Implemented Interfaces:
- WebLink
public class DefaultWebLink
- extends AbstractWebItem
- implements WebLink
Represents a single "href", with a variety of permutations.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultWebLink
public DefaultWebLink(org.dom4j.Element linkEl,
WebFragmentHelper webFragmentHelper,
ContextProvider contextProvider,
WebFragmentModuleDescriptor descriptor)
getRenderedUrl
public String getRenderedUrl(Map<String,Object> context)
- Specified by:
getRenderedUrl
in interface WebLink
getDisplayableUrl
public String getDisplayableUrl(javax.servlet.http.HttpServletRequest req,
Map<String,Object> context)
- Specified by:
getDisplayableUrl
in interface WebLink
hasAccessKey
public boolean hasAccessKey()
- Specified by:
hasAccessKey
in interface WebLink
getAccessKey
public String getAccessKey(Map<String,Object> context)
- Specified by:
getAccessKey
in interface WebLink
getId
public String getId()
- Specified by:
getId
in interface WebLink
Copyright © 2011 Atlassian. All Rights Reserved.