Class DecoratorUtil.SideBarContext
- java.lang.Object
-
- com.atlassian.confluence.impl.util.DecoratorUtil.SideBarContext
-
- Enclosing class:
- DecoratorUtil
public static class DecoratorUtil.SideBarContext extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static DecoratorUtil.SideBarContext
defaultContext
-
Constructor Summary
Constructors Constructor Description SideBarContext(Space space, AbstractPage page, String pageId, String context, String contextKey, String collectorKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.opensymphony.xwork2.ActionSupport
getAction()
String
getCollectorKey()
String
getContext()
String
getContextKey()
AbstractPage
getPage()
String
getPageId()
void
setAction(com.opensymphony.xwork2.ActionSupport action)
Map<String,Object>
toMap(com.opensymphony.xwork2.ActionSupport action)
Methods returns page/blogpost sidebar context as a map.
-
-
-
Field Detail
-
defaultContext
public static final DecoratorUtil.SideBarContext defaultContext
-
-
Method Detail
-
getPage
public AbstractPage getPage()
-
getPageId
public String getPageId()
-
getContext
public String getContext()
-
getContextKey
public String getContextKey()
-
getCollectorKey
public String getCollectorKey()
-
setAction
public void setAction(com.opensymphony.xwork2.ActionSupport action)
-
getAction
public com.opensymphony.xwork2.ActionSupport getAction()
-
toMap
public Map<String,Object> toMap(com.opensymphony.xwork2.ActionSupport action)
Methods returns page/blogpost sidebar context as a map. It also adds/replaces"action"
parameter of the context withaction
method parameter.- Parameters:
action
- to be added to context- Returns:
- saved sidebar context as map
- Since:
- 5.10
-
-