|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.jira.project.browse.BrowseProjectContext
com.atlassian.jira.plugin.versionpanel.BrowseVersionContextImpl
public class BrowseVersionContextImpl
A narrowing of context from BrowseProjectContext
that also includes a Version
.
Field Summary |
---|
Fields inherited from class com.atlassian.jira.project.browse.BrowseProjectContext |
---|
project, projectClause |
Constructor Summary | |
---|---|
BrowseVersionContextImpl(Version version,
com.atlassian.crowd.embedded.api.User user)
Constructs an instance for this class. |
Method Summary | |
---|---|
Map<String,Object> |
createParameterMap()
Creates a map of the context-specific parameters and their associated domain objects. |
Query |
createQuery()
Creates a new Query that narrows it down to the current search context. |
String |
getContextKey()
Contains a context unique that can be used to identify this context. |
String |
getQueryString()
Returns a query string parameter to append to the IssueNavigator URL for field id equal to IssueFieldConstants.FIX_FOR_VERSIONS . |
Version |
getVersion()
Returns version |
Methods inherited from class com.atlassian.jira.project.browse.BrowseProjectContext |
---|
getProject, getProjectClause, getProjectManager, getSearchService, getUser |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.atlassian.jira.project.browse.BrowseContext |
---|
getProject, getUser |
Constructor Detail |
---|
public BrowseVersionContextImpl(Version version, com.atlassian.crowd.embedded.api.User user)
version
- The version at the center of this contextuser
- The user browsing the versionIssueFieldConstants
Method Detail |
---|
public String getQueryString()
IssueFieldConstants.FIX_FOR_VERSIONS
. Also includes the project parameter.
getQueryString
in interface BrowseContext
getQueryString
in class BrowseProjectContext
public Map<String,Object> createParameterMap()
BrowseContext
createParameterMap
in interface BrowseContext
createParameterMap
in class BrowseProjectContext
public Version getVersion()
BrowseVersionContext
getVersion
in interface BrowseVersionContext
public Query createQuery()
BrowseContext
Query
that narrows it down to the current search context.
E.g. Project, Component, Version
createQuery
in interface BrowseContext
createQuery
in class BrowseProjectContext
public String getContextKey()
BrowseContext
getContextKey
in interface BrowseContext
getContextKey
in class BrowseProjectContext
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |