public class PageInfo extends RequestInfo
| Constructor and Description |
|---|
PageInfo(org.randombits.support.core.env.EnvironmentAssistant environmentAssistant,
com.atlassian.confluence.core.ContentEntityObject content) |
PageInfo(javax.servlet.http.HttpServletRequest req,
com.atlassian.confluence.core.ContentEntityObject content) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Call this method to indicate the class can free up its resources.
|
com.atlassian.confluence.core.ContentEntityObject |
getContent() |
org.randombits.storage.Storage |
getContentProperties()
Returns a storage instance allowing access to the content properties for
the current ContentEntityObject.
|
static com.atlassian.confluence.core.ContentEntityObject |
getCurrentContent()
Returns the current content that is being executed in a Macro environment.
|
com.atlassian.user.User |
getCurrentUser() |
com.atlassian.confluence.spaces.Space |
getSpace()
Returns the current space.
|
protected void |
setContent(com.atlassian.confluence.core.ContentEntityObject content) |
finalize, getEnvironmentAssistant, getRequest, getRequestAttributes, getRequestParams, getSession, getSessionAttributespublic PageInfo(javax.servlet.http.HttpServletRequest req,
com.atlassian.confluence.core.ContentEntityObject content)
public PageInfo(org.randombits.support.core.env.EnvironmentAssistant environmentAssistant,
com.atlassian.confluence.core.ContentEntityObject content)
public static com.atlassian.confluence.core.ContentEntityObject getCurrentContent()
protected void setContent(com.atlassian.confluence.core.ContentEntityObject content)
public com.atlassian.confluence.core.ContentEntityObject getContent()
public org.randombits.storage.Storage getContentProperties()
null is returned.public com.atlassian.confluence.spaces.Space getSpace()
public com.atlassian.user.User getCurrentUser()
public void close()
RequestInfoclose in class RequestInfoCopyright © 2013 randombits.org. All Rights Reserved.