View Javadoc

1   package com.atlassian.plugin.web.model;
2   
3   import com.atlassian.plugin.web.descriptors.WebFragmentModuleDescriptor;
4   
5   import javax.servlet.http.HttpServletRequest;
6   import java.util.Map;
7   
8   public interface WebLink
9   {
10      String getRenderedUrl(Map<String,Object> context);
11  
12      String getDisplayableUrl(HttpServletRequest req, Map<String,Object> context);
13  
14      boolean hasAccessKey();
15  
16      String getAccessKey(Map<String,Object> context);
17  
18      String getId();
19  
20      WebFragmentModuleDescriptor getDescriptor();
21  }