com.atlassian.jira.plugin.webfragment.model
Class ProjectHelper

java.lang.Object
  extended by com.atlassian.jira.plugin.webfragment.model.JiraHelper
      extended by com.atlassian.jira.plugin.webfragment.model.ProjectHelper

public class ProjectHelper
extends JiraHelper

A BrowseProjectContext specific implemention of the JiraHelper.

Since:
v4.0

Constructor Summary
ProjectHelper(javax.servlet.http.HttpServletRequest request, BrowseProjectContext projectContext)
           
 
Method Summary
 java.util.Map<java.lang.String,java.lang.Object> getContextParams()
           
 BrowseProjectContext getProjectContext()
           
 java.lang.String getQueryString()
          Returns the query string to represent this helper.
 
Methods inherited from class com.atlassian.jira.plugin.webfragment.model.JiraHelper
getProject, getProjectObject, getRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProjectHelper

public ProjectHelper(javax.servlet.http.HttpServletRequest request,
                     BrowseProjectContext projectContext)
Method Detail

getProjectContext

public BrowseProjectContext getProjectContext()

getQueryString

public java.lang.String getQueryString()
Description copied from class: JiraHelper
Returns the query string to represent this helper. TODO: replace JiraHelper.project with a BrowseContext so that we can just call BrowseContext#getQueryString() instead.

Overrides:
getQueryString in class JiraHelper
Returns:

getContextParams

public java.util.Map<java.lang.String,java.lang.Object> getContextParams()
Overrides:
getContextParams in class JiraHelper


Copyright © 2002-2010 Atlassian. All Rights Reserved.