|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.renderer.RenderContext com.atlassian.confluence.renderer.PageContext
public class PageContext
Context object that gets passed to the renderer to tell it what circumstances the page is being rendered in. This is used for all rendering in Confluence, not just rendering pages.
Field Summary |
---|
Fields inherited from interface com.atlassian.renderer.RenderContextOutputType |
---|
DISPLAY, EMAIL, FEED, HTML_EXPORT, PDF, PREVIEW, WORD |
Constructor Summary | |
---|---|
PageContext()
|
|
PageContext(ContentEntityObject entity)
|
|
PageContext(ContentEntityObject entity,
PageContext previousContext)
Constructs a PageContext wrapping another pageContext. |
|
PageContext(String spaceKey)
|
Method Summary | |
---|---|
static PageContext |
contextWithTimeout(ContentEntityObject entity,
com.atlassian.util.concurrent.Timeout timeout)
Construct a new PageContext for the rendering of some entity within a given time. |
static com.atlassian.util.concurrent.Timeout |
createMinimumTimeout()
Returns a timeout of 1 hour. |
boolean |
equals(Object o)
|
ContentEntityObject |
getEntity()
|
PageContext |
getOriginalContext()
|
String |
getPageTitle()
|
Calendar |
getPostingDay()
|
String |
getSpaceKey()
|
com.atlassian.util.concurrent.Timeout |
getTimeout()
|
int |
hashCode()
|
Methods inherited from class com.atlassian.renderer.RenderContext |
---|
addExternalReference, addParam, addRenderedContent, addRenderedContent, getAttachmentsPath, getBaseUrl, getCharacterEncoding, getEmbeddedResourceRenderer, getExternalReferences, getImagePath, getLinkRenderer, getOutputType, getParam, getParams, getRenderedContentStore, getRenderMode, getSiteRoot, isRenderingForWysiwyg, popRenderMode, pushRenderMode, setAttachmentsPath, setBaseUrl, setCharacterEncoding, setEmbeddedResourceRenderer, setImagePath, setLinkRenderer, setOutputType, setRenderingForWysiwyg, setSiteRoot |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PageContext()
public PageContext(String spaceKey)
public PageContext(ContentEntityObject entity)
public PageContext(ContentEntityObject entity, PageContext previousContext)
Timeout
and RenderedContentStore
.
Method Detail |
---|
public static PageContext contextWithTimeout(ContentEntityObject entity, com.atlassian.util.concurrent.Timeout timeout)
public static com.atlassian.util.concurrent.Timeout createMinimumTimeout()
public com.atlassian.util.concurrent.Timeout getTimeout()
public PageContext getOriginalContext()
public String getSpaceKey()
public String getPageTitle()
public Calendar getPostingDay()
public ContentEntityObject getEntity()
public boolean equals(Object o)
equals
in class com.atlassian.renderer.RenderContext
public int hashCode()
hashCode
in class com.atlassian.renderer.RenderContext
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |