|
Jive API (3.0.13) Core Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jivesoftware.community.widget.BaseWidgetContext
com.jivesoftware.community.widget.CommunityWidgetContext
public class CommunityWidgetContext
A widget context specifically for community widgets.
| Constructor Summary | |
|---|---|
CommunityWidgetContext(User user,
AuthToken authToken,
HttpServletRequest request,
HttpServletResponse response,
Community community)
Creates a CommunityWidgetContext with all the necessary
information for a widget author to render their widget. |
|
CommunityWidgetContext(User user,
AuthToken authToken,
HttpServletRequest request,
HttpServletResponse response,
Community community,
boolean edit)
Creates a CommunityWidgetContext of a given type with all the necessary
information for a widget author to render their widget. |
|
| Method Summary | |
|---|---|
Community |
getCommunity()
Get the community from the widget context. |
JiveContainer |
getContainer()
Return the community container from the widget context. |
| Methods inherited from class com.jivesoftware.community.widget.BaseWidgetContext |
|---|
getAuthToken, getLocale, getRequest, getResponse, getUser, getWidgetType, isEdit, isRemote |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CommunityWidgetContext(User user,
AuthToken authToken,
HttpServletRequest request,
HttpServletResponse response,
Community community)
CommunityWidgetContext with all the necessary
information for a widget author to render their widget.
user - the page userauthToken - the auth token of the page userrequest - the http servlet request objectresponse - the http servlet response objectcommunity - the community for the widget
public CommunityWidgetContext(User user,
AuthToken authToken,
HttpServletRequest request,
HttpServletResponse response,
Community community,
boolean edit)
CommunityWidgetContext of a given type with all the necessary
information for a widget author to render their widget.
user - the page userauthToken - the auth token of the page userrequest - the http servlet request objectresponse - the http servlet response objectcommunity - the community for the widgetedit - specifies wether the parent container is currently in edit mode.| Method Detail |
|---|
public Community getCommunity()
public JiveContainer getContainer()
getContainer in class BaseWidgetContext
|
Jive Product Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||