com.jivesoftware.community.widget
Class ProjectWidgetContext
java.lang.Object
com.jivesoftware.community.widget.BaseWidgetContext
com.jivesoftware.community.widget.ProjectWidgetContext
- All Implemented Interfaces:
- com.jivesoftware.community.widget.WidgetContext
public class ProjectWidgetContext
- extends BaseWidgetContext
A widget context specifically for projects.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProjectWidgetContext
public ProjectWidgetContext(User user,
AuthToken authToken,
HttpServletRequest request,
HttpServletResponse response,
Project project)
- Creates a
ProjectWidgetContext with all the necessary
information for a widget author to render their widget.
- Parameters:
user - the page userauthToken - the auth token of the page userrequest - the http servlet request objectresponse - the http servlet response objectproject - the project for the widget
ProjectWidgetContext
public ProjectWidgetContext(User user,
AuthToken authToken,
HttpServletRequest request,
HttpServletResponse response,
Project project,
boolean edit)
- Creates a
BlogWidgetContext of a given type with all the necessary
information for a widget author to render their widget.
- Parameters:
user - the page userauthToken - the auth token of the page userrequest - the http servlet request objectresponse - the http servlet response objectproject - the project for the widgetedit - specifies wether the parent container is currently in edit mode.
getProject
public Project getProject()
- Get the blog from the widget context.
- Returns:
- the blog from the widget context
Copyright © 1999-2007 Jive Software.