Package com.atlassian.confluence.rss
Class AbstractRenderSupport<T>
- java.lang.Object
-
- com.atlassian.confluence.rss.AbstractRenderSupport<T>
-
- All Implemented Interfaces:
RssRenderSupport<T>
- Direct Known Subclasses:
AbstractContentEntityRenderSupport
,AttachmentRenderSupport
public abstract class AbstractRenderSupport<T> extends Object implements RssRenderSupport<T>
-
-
Field Summary
Fields Modifier and Type Field Description protected SettingsManager
settingsManager
protected UserAccessor
userAccessor
protected BodyTypeAwareRenderer
viewBodyTypeAwareRenderer
protected com.atlassian.plugin.webresource.WebResourceManager
webResourceManager
-
Constructor Summary
Constructors Constructor Description AbstractRenderSupport()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected Map<String,Object>
contextMap(RssRenderItem<? extends T> item, io.atlassian.util.concurrent.Timeout timeout)
protected Map<String,Object>
getContextMap(RssRenderItem<? extends T> item, com.atlassian.util.concurrent.Timeout timeout)
Deprecated.since 7.0.1.protected abstract com.atlassian.renderer.RenderContext
getRenderContext(T entity, com.atlassian.util.concurrent.Timeout timeout)
Deprecated.since 7.0.1.protected com.atlassian.renderer.RenderContext
renderContext(T entity, io.atlassian.util.concurrent.Timeout timeout)
void
setSettingsManager(SettingsManager settingsManager)
void
setUserAccessor(UserAccessor userAccessor)
void
setViewBodyTypeAwareRenderer(BodyTypeAwareRenderer viewBodyTypeAwareRenderer)
void
setWebResourceManager(com.atlassian.plugin.webresource.WebResourceManager webResourceManager)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.atlassian.confluence.rss.RssRenderSupport
getCategories, getCategoryNames, getLink, getRenderedContent, getTitle, renderedContext
-
-
-
-
Field Detail
-
settingsManager
protected SettingsManager settingsManager
-
userAccessor
protected UserAccessor userAccessor
-
webResourceManager
protected com.atlassian.plugin.webresource.WebResourceManager webResourceManager
-
viewBodyTypeAwareRenderer
protected BodyTypeAwareRenderer viewBodyTypeAwareRenderer
-
-
Method Detail
-
getContextMap
@Deprecated protected Map<String,Object> getContextMap(RssRenderItem<? extends T> item, com.atlassian.util.concurrent.Timeout timeout)
Deprecated.since 7.0.1. UsecontextMap(RssRenderItem, Timeout)
-
contextMap
protected Map<String,Object> contextMap(RssRenderItem<? extends T> item, io.atlassian.util.concurrent.Timeout timeout)
- Since:
- 7.0.1
-
setSettingsManager
public void setSettingsManager(SettingsManager settingsManager)
-
setUserAccessor
public void setUserAccessor(UserAccessor userAccessor)
-
setWebResourceManager
public void setWebResourceManager(com.atlassian.plugin.webresource.WebResourceManager webResourceManager)
-
setViewBodyTypeAwareRenderer
public void setViewBodyTypeAwareRenderer(BodyTypeAwareRenderer viewBodyTypeAwareRenderer)
-
getRenderContext
@Deprecated protected abstract com.atlassian.renderer.RenderContext getRenderContext(T entity, com.atlassian.util.concurrent.Timeout timeout)
Deprecated.since 7.0.1. UseRssRenderSupport.renderedContext(RssRenderItem, Timeout)
-
renderContext
protected com.atlassian.renderer.RenderContext renderContext(T entity, io.atlassian.util.concurrent.Timeout timeout)
- Since:
- 7.0.1
-
-