| com.atlassian.confluence.plugin.descriptor.web.WebInterfaceContext |
Known Indirect Subclasses
|
When rendering web fragments, this context is used for retrieval of Confluence content information.
It can be converted to and from a Map to fit with the Condition and WebInterfaceManager interfaces.
The map returned by toMap() is also used as a Velocity context for rendering URLs.
getParameter(String) or hasParameter(String).
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns the attachment related to the web interface state, or null if there is no attachment.
| |||||||||||
Returns the comment related to the web interface state, or null if there is no comment.
| |||||||||||
Returns a draft related to the web interface state, or null if there is no draft.
| |||||||||||
Returns the label related to the web interface state, or null if there is no label.
| |||||||||||
Returns the page related to the web interface state, or null if there is no page.
| |||||||||||
Returns a custom parameter, or null if the parameter has not been set.
| |||||||||||
Returns the personal information (i.e.
| |||||||||||
Returns the space related to the web interface state, or null if there is no space.
| |||||||||||
Returns the target user of the action, or null if there is no target user.
| |||||||||||
Returns the current user, or null if there is no user logged in.
| |||||||||||
Returns true if the parameter has been set (even if it is set to null).
| |||||||||||
Indicates if the current edit page is restricted (i.e.
| |||||||||||
Converts the parameters into a map using the "context keys" defined as constants in this class.
| |||||||||||
Returns the attachment related to the web interface state, or null if there is no attachment.
Returns the comment related to the web interface state, or null if there is no comment.
Returns a draft related to the web interface state, or null if there is no draft.
Returns the label related to the web interface state, or null if there is no label.
Returns the page related to the web interface state, or null if there is no page.
Returns a custom parameter, or null if the parameter has not been set.
Returns the personal information (i.e. user profile) that is related to the web interface state, or null if there is no personal information.
Returns the space related to the web interface state, or null if there is no space.
Returns the target user of the action, or null if there is no target user. The target user is the user the action is performing against, not necessarily the logged in user.
Returns the current user, or null if there is no user logged in.
Returns true if the parameter has been set (even if it is set to null). Useful for checking boolean custom parameters.
Indicates if the current edit page is restricted (i.e. has some kind of permissions in place).
Converts the parameters into a map using the "context keys" defined as constants in this class. Parameters which have not been set may be omitted from the resulting map.