Class WebItemView
- java.lang.Object
-
- com.atlassian.confluence.api.model.web.WebItemView
-
@ExperimentalApi public class WebItemView extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWebItemView.Builder
-
Constructor Summary
Constructors Constructor Description WebItemView(WebItemView.Builder builder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static WebItemView.Builderbuilder()StringgetAccessKey()StringgetCompleteKey()IcongetIcon()StringgetId()StringgetKey()Deprecated.since 5.10.StringgetLabel()StringgetLinkUrl()StringgetModuleKey()Map<String,String>getParams()StringgetSection()StringgetStyleClass()StringgetTooltip()StringgetUrlWithoutContextPath()intgetWeight()
-
-
-
Constructor Detail
-
WebItemView
public WebItemView(WebItemView.Builder builder)
-
-
Method Detail
-
getLinkUrl
public String getLinkUrl()
- Returns:
- a 'display' url for rendering a link to this WebItem within confluence. This could be either a relative URL that includes a context path, or an absolute URL.
-
getId
public String getId()
-
getAccessKey
public String getAccessKey()
-
getCompleteKey
public String getCompleteKey()
- Since:
- 5.10
-
getSection
public String getSection()
-
getLabel
public String getLabel()
-
getTooltip
public String getTooltip()
-
getStyleClass
public String getStyleClass()
-
getIcon
public Icon getIcon()
-
getWeight
public int getWeight()
-
getKey
@Deprecated public String getKey()
Deprecated.since 5.10. UsegetModuleKey()
-
getModuleKey
public String getModuleKey()
-
getUrlWithoutContextPath
public String getUrlWithoutContextPath()
- Returns:
- a URL to the webitem that does not include the context path
-
builder
public static WebItemView.Builder builder()
-
-